LibCallSemantics.h (212904) | LibCallSemantics.h (218893) |
---|---|
1//===- LibCallSemantics.h - Describe library semantics --------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 34 unchanged lines hidden (view full) --- 43 /// location for the specified call site. This returns "Yes" if we can tell 44 /// that the pointer *does definitely* refer to the location, "No" if we can 45 /// tell that the location *definitely does not* refer to the location, and 46 /// returns "Unknown" if we cannot tell for certain. 47 enum LocResult { 48 Yes, No, Unknown 49 }; 50 LocResult (*isLocation)(ImmutableCallSite CS, | 1//===- LibCallSemantics.h - Describe library semantics --------------------===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 34 unchanged lines hidden (view full) --- 43 /// location for the specified call site. This returns "Yes" if we can tell 44 /// that the pointer *does definitely* refer to the location, "No" if we can 45 /// tell that the location *definitely does not* refer to the location, and 46 /// returns "Unknown" if we cannot tell for certain. 47 enum LocResult { 48 Yes, No, Unknown 49 }; 50 LocResult (*isLocation)(ImmutableCallSite CS, |
51 const Value *Ptr, unsigned Size); | 51 const AliasAnalysis::Location &Loc); |
52 }; 53 54 /// LibCallFunctionInfo - Each record in the array of FunctionInfo structs 55 /// records the behavior of one libcall that is known by the optimizer. This 56 /// captures things like the side effects of the call. Side effects are 57 /// modeled both universally (in the readnone/readonly) sense, but also 58 /// potentially against a set of abstract locations defined by the optimizer. 59 /// This allows an optimizer to define that some libcall (e.g. sqrt) is --- 108 unchanged lines hidden --- | 52 }; 53 54 /// LibCallFunctionInfo - Each record in the array of FunctionInfo structs 55 /// records the behavior of one libcall that is known by the optimizer. This 56 /// captures things like the side effects of the call. Side effects are 57 /// modeled both universally (in the readnone/readonly) sense, but also 58 /// potentially against a set of abstract locations defined by the optimizer. 59 /// This allows an optimizer to define that some libcall (e.g. sqrt) is --- 108 unchanged lines hidden --- |