Home
last modified time | relevance | path

Searched refs:TargetLibraryInfo (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h24 class TargetLibraryInfo; variable
31 bool inferLibFuncAttributes(Function &F, const TargetLibraryInfo &TLI);
32 bool inferLibFuncAttributes(Module *M, StringRef Name, const TargetLibraryInfo &TLI);
36 bool hasUnaryFloatFn(const TargetLibraryInfo *TLI, Type *Ty,
47 const TargetLibraryInfo *TLI);
53 const DataLayout &DL, const TargetLibraryInfo *TLI);
59 const TargetLibraryInfo *TLI);
63 const DataLayout &DL, const TargetLibraryInfo *TLI);
68 const TargetLibraryInfo *TLI, StringRef Name = "strcpy");
73 const TargetLibraryInfo *TLI, StringRef Name = "strncpy");
[all …]
DLocal.h56 class TargetLibraryInfo; variable
122 const TargetLibraryInfo *TLI = nullptr,
132 const TargetLibraryInfo *TLI = nullptr);
138 const TargetLibraryInfo *TLI = nullptr);
144 const TargetLibraryInfo *TLI = nullptr);
156 const TargetLibraryInfo *TLI = nullptr);
164 const TargetLibraryInfo *TLI = nullptr);
172 const TargetLibraryInfo *TLI = nullptr);
417 bool callsGCLeafFunction(ImmutableCallSite CS, const TargetLibraryInfo &TLI);
460 const TargetLibraryInfo *TLI);
/external/llvm/include/llvm/Analysis/
DInstructionSimplify.h45 class TargetLibraryInfo; variable
53 const TargetLibraryInfo *TLI = nullptr,
62 const TargetLibraryInfo *TLI = nullptr,
71 const TargetLibraryInfo *TLI = nullptr,
80 const TargetLibraryInfo *TLI = nullptr,
89 const TargetLibraryInfo *TLI = nullptr,
97 const TargetLibraryInfo *TLI = nullptr,
105 const TargetLibraryInfo *TLI = nullptr,
113 const TargetLibraryInfo *TLI = nullptr,
122 const TargetLibraryInfo *TLI = nullptr,
[all …]
DMemoryBuiltins.h31 class TargetLibraryInfo; variable
44 bool isAllocationFn(const Value *V, const TargetLibraryInfo *TLI,
49 bool isNoAliasFn(const Value *V, const TargetLibraryInfo *TLI,
54 bool isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
59 bool isCallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
64 bool isAllocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
74 const CallInst *extractMallocCall(const Value *I, const TargetLibraryInfo *TLI);
76 const TargetLibraryInfo *TLI) { in extractMallocCall()
85 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI);
92 Type *getMallocAllocatedType(const CallInst *CI, const TargetLibraryInfo *TLI);
[all …]
DTargetLibraryInfo.h60 friend class TargetLibraryInfo; variable
192 class TargetLibraryInfo {
199 explicit TargetLibraryInfo(const TargetLibraryInfoImpl &Impl) : Impl(&Impl) {} in TargetLibraryInfo() function
202 TargetLibraryInfo(const TargetLibraryInfo &TLI) : Impl(TLI.Impl) {} in TargetLibraryInfo() function
203 TargetLibraryInfo(TargetLibraryInfo &&TLI) : Impl(TLI.Impl) {} in TargetLibraryInfo() function
204 TargetLibraryInfo &operator=(const TargetLibraryInfo &TLI) {
208 TargetLibraryInfo &operator=(TargetLibraryInfo &&TLI) {
294 typedef TargetLibraryInfo Result;
318 TargetLibraryInfo run(Module &M, ModuleAnalysisManager &);
319 TargetLibraryInfo run(Function &F, FunctionAnalysisManager &);
[all …]
DConstantFolding.h32 class TargetLibraryInfo; variable
46 const TargetLibraryInfo *TLI = nullptr);
53 const TargetLibraryInfo *TLI = nullptr);
63 const TargetLibraryInfo *TLI = nullptr);
76 const TargetLibraryInfo *TLI = nullptr);
85 const TargetLibraryInfo *TLI = nullptr);
139 const TargetLibraryInfo *TLI = nullptr);
/external/llvm/include/llvm/Transforms/Utils/
DBuildLibCalls.h23 class TargetLibraryInfo; variable
30 bool inferLibFuncAttributes(Function &F, const TargetLibraryInfo &TLI);
39 const TargetLibraryInfo *TLI);
45 const DataLayout &DL, const TargetLibraryInfo *TLI);
51 const TargetLibraryInfo *TLI);
55 const DataLayout &DL, const TargetLibraryInfo *TLI);
60 const TargetLibraryInfo *TLI, StringRef Name = "strcpy");
65 const TargetLibraryInfo *TLI, StringRef Name = "strncpy");
71 const TargetLibraryInfo *TLI);
76 const DataLayout &DL, const TargetLibraryInfo *TLI);
[all …]
DLocal.h43 class TargetLibraryInfo; variable
63 const TargetLibraryInfo *TLI = nullptr);
72 const TargetLibraryInfo *TLI = nullptr);
78 const TargetLibraryInfo *TLI = nullptr);
86 const TargetLibraryInfo *TLI = nullptr);
94 const TargetLibraryInfo *TLI = nullptr);
367 const TargetLibraryInfo *TLI);
DEvaluator.h31 class TargetLibraryInfo; variable
39 Evaluator(const DataLayout &DL, const TargetLibraryInfo *TLI) in Evaluator()
114 const TargetLibraryInfo *TLI;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DMemoryBuiltins.h51 class TargetLibraryInfo; variable
59 bool isAllocationFn(const Value *V, const TargetLibraryInfo *TLI,
64 bool isNoAliasFn(const Value *V, const TargetLibraryInfo *TLI,
69 bool isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
74 bool isCallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
79 bool isMallocOrCallocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
84 bool isAllocLikeFn(const Value *V, const TargetLibraryInfo *TLI,
94 const CallInst *extractMallocCall(const Value *I, const TargetLibraryInfo *TLI);
95 inline CallInst *extractMallocCall(Value *I, const TargetLibraryInfo *TLI) { in extractMallocCall()
104 PointerType *getMallocType(const CallInst *CI, const TargetLibraryInfo *TLI);
[all …]
DTargetLibraryInfo.h48 friend class TargetLibraryInfo; variable
206 class TargetLibraryInfo {
213 explicit TargetLibraryInfo(const TargetLibraryInfoImpl &Impl) : Impl(&Impl) {} in TargetLibraryInfo() function
216 TargetLibraryInfo(const TargetLibraryInfo &TLI) : Impl(TLI.Impl) {} in TargetLibraryInfo() function
217 TargetLibraryInfo(TargetLibraryInfo &&TLI) : Impl(TLI.Impl) {} in TargetLibraryInfo() function
218 TargetLibraryInfo &operator=(const TargetLibraryInfo &TLI) {
222 TargetLibraryInfo &operator=(TargetLibraryInfo &&TLI) {
347 typedef TargetLibraryInfo Result;
362 TargetLibraryInfo run(Module &M, ModuleAnalysisManager &);
363 TargetLibraryInfo run(Function &F, FunctionAnalysisManager &);
[all …]
DConstantFolding.h35 class TargetLibraryInfo; variable
49 const TargetLibraryInfo *TLI = nullptr);
55 const TargetLibraryInfo *TLI = nullptr);
65 const TargetLibraryInfo *TLI = nullptr);
74 const TargetLibraryInfo *TLI = nullptr);
148 const TargetLibraryInfo *TLI = nullptr);
158 bool isMathLibCallNoop(CallSite CS, const TargetLibraryInfo *TLI);
DLazyBranchProbabilityInfo.h27 class TargetLibraryInfo; variable
60 const TargetLibraryInfo *TLI) in LazyBranchProbabilityInfo()
82 const TargetLibraryInfo *TLI;
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetLibraryInfo.cpp19 INITIALIZE_PASS(TargetLibraryInfo, "targetlibinfo",
21 char TargetLibraryInfo::ID = 0;
26 static void initialize(TargetLibraryInfo &TLI, const Triple &T) { in initialize()
50 TargetLibraryInfo::TargetLibraryInfo() : ImmutablePass(ID) { in TargetLibraryInfo() function in TargetLibraryInfo
57 TargetLibraryInfo::TargetLibraryInfo(const Triple &T) : ImmutablePass(ID) { in TargetLibraryInfo() function in TargetLibraryInfo
64 TargetLibraryInfo::TargetLibraryInfo(const TargetLibraryInfo &TLI) in TargetLibraryInfo() function in TargetLibraryInfo
72 void TargetLibraryInfo::disableAllFunctions() { in disableAllFunctions()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetLibraryInfo.h48 class TargetLibraryInfo : public ImmutablePass {
52 TargetLibraryInfo();
53 TargetLibraryInfo(const Triple &T);
54 explicit TargetLibraryInfo(const TargetLibraryInfo &TLI);
/external/swiftshader/third_party/LLVM/include/llvm-c/
DTarget.h166 class TargetLibraryInfo; variable
176 inline TargetLibraryInfo *unwrap(LLVMTargetLibraryInfoRef P) { in unwrap()
177 return reinterpret_cast<TargetLibraryInfo*>(P); in unwrap()
180 inline LLVMTargetLibraryInfoRef wrap(const TargetLibraryInfo *P) { in wrap()
181 TargetLibraryInfo *X = const_cast<TargetLibraryInfo*>(P); in wrap()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DMemoryBuiltins.cpp137 const TargetLibraryInfo *TLI) { in getAllocationDataForFunction()
174 const TargetLibraryInfo *TLI, in getAllocationData()
185 const TargetLibraryInfo *TLI) { in getAllocationSize()
223 bool llvm::isAllocationFn(const Value *V, const TargetLibraryInfo *TLI, in isAllocationFn()
230 bool llvm::isNoAliasFn(const Value *V, const TargetLibraryInfo *TLI, in isNoAliasFn()
240 bool llvm::isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI, in isMallocLikeFn()
247 bool llvm::isCallocLikeFn(const Value *V, const TargetLibraryInfo *TLI, in isCallocLikeFn()
254 bool llvm::isMallocOrCallocLikeFn(const Value *V, const TargetLibraryInfo *TLI, in isMallocOrCallocLikeFn()
262 bool llvm::isAllocLikeFn(const Value *V, const TargetLibraryInfo *TLI, in isAllocLikeFn()
271 const TargetLibraryInfo *TLI) { in extractMallocCall()
[all …]
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp102 const TargetLibraryInfo *TLI, in getAllocationData()
176 bool llvm::isAllocationFn(const Value *V, const TargetLibraryInfo *TLI, in isAllocationFn()
183 bool llvm::isNoAliasFn(const Value *V, const TargetLibraryInfo *TLI, in isNoAliasFn()
193 bool llvm::isMallocLikeFn(const Value *V, const TargetLibraryInfo *TLI, in isMallocLikeFn()
200 bool llvm::isCallocLikeFn(const Value *V, const TargetLibraryInfo *TLI, in isCallocLikeFn()
207 bool llvm::isAllocLikeFn(const Value *V, const TargetLibraryInfo *TLI, in isAllocLikeFn()
216 const TargetLibraryInfo *TLI) { in extractMallocCall()
221 const TargetLibraryInfo *TLI, in computeArraySize()
251 const TargetLibraryInfo *TLI) { in getMallocType()
283 const TargetLibraryInfo *TLI) { in getMallocAllocatedType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
DAggressiveInstCombineInternal.h48 class TargetLibraryInfo; variable
51 TargetLibraryInfo &TLI;
77 TruncInstCombine(TargetLibraryInfo &TLI, const DataLayout &DL, in TruncInstCombine()
/external/llvm/lib/Transforms/Scalar/
DDCE.cpp48 TargetLibraryInfo *TLI = TLIP ? &TLIP->getTLI() : nullptr; in runOnBasicBlock()
77 const TargetLibraryInfo *TLI) { in DCEInstruction()
103 static bool eliminateDeadCode(Function &F, TargetLibraryInfo *TLI) { in eliminateDeadCode()
144 TargetLibraryInfo *TLI = TLIP ? &TLIP->getTLI() : nullptr; in runOnFunction()
DDeadStoreElimination.cpp69 MemoryDependenceResults &MD, const TargetLibraryInfo &TLI, in deleteDeadInstruction()
115 static bool hasMemoryWrite(Instruction *I, const TargetLibraryInfo &TLI) { in hasMemoryWrite()
180 const TargetLibraryInfo &TLI) { in getLocForRead()
277 const TargetLibraryInfo &TLI) { in getPointerSize()
304 const TargetLibraryInfo &TLI, in isOverwrite()
480 const TargetLibraryInfo &TLI, in isPossibleSelfRead()
588 const TargetLibraryInfo *TLI) { in handleFree()
642 const TargetLibraryInfo *TLI) { in removeAccessedObjects()
672 const TargetLibraryInfo *TLI) { in handleEndBlock()
825 const TargetLibraryInfo *TLI) { in eliminateNoopStore()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DDCE.cpp48 TargetLibraryInfo *TLI = TLIP ? &TLIP->getTLI() : nullptr; in runOnBasicBlock()
78 const TargetLibraryInfo *TLI) { in DCEInstruction()
106 static bool eliminateDeadCode(Function &F, TargetLibraryInfo *TLI) { in eliminateDeadCode()
150 TargetLibraryInfo *TLI = TLIP ? &TLIP->getTLI() : nullptr; in runOnFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorize.h76 class TargetLibraryInfo; variable
93 TargetLibraryInfo *TLI;
105 BlockFrequencyInfo &BFI_, TargetLibraryInfo *TLI_,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp116 const TargetLibraryInfo &TLI) { in inferLibFuncAttributes()
123 bool llvm::inferLibFuncAttributes(Function &F, const TargetLibraryInfo &TLI) { in inferLibFuncAttributes()
740 bool llvm::hasUnaryFloatFn(const TargetLibraryInfo *TLI, Type *Ty, in hasUnaryFloatFn()
761 const TargetLibraryInfo *TLI) { in emitStrLen()
779 const TargetLibraryInfo *TLI) { in emitStrChr()
798 const DataLayout &DL, const TargetLibraryInfo *TLI) { in emitStrNCmp()
819 const TargetLibraryInfo *TLI, StringRef Name) { in emitStrCpy()
835 const TargetLibraryInfo *TLI, StringRef Name) { in emitStrNCpy()
853 const TargetLibraryInfo *TLI) { in emitMemCpyChk()
875 const DataLayout &DL, const TargetLibraryInfo *TLI) { in emitMemChr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Instrumentation/
DInstrProfiling.h30 class TargetLibraryInfo; variable
42 bool run(Module &M, const TargetLibraryInfo &TLI);
48 const TargetLibraryInfo *TLI;

12345678910>>...12