Home
last modified time | relevance | path

Searched refs:TheFn (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/llvm/include/llvm/IR/
DMatrixBuilder.h79 Function *TheFn = Intrinsic::getDeclaration(
82 CallInst *Call = B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
102 Function *TheFn = Intrinsic::getDeclaration(
105 CallInst *Call = B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
122 Function *TheFn = Intrinsic::getDeclaration(
125 return B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
143 Function *TheFn = Intrinsic::getDeclaration(
145 return B.CreateCall(TheFn->getFunctionType(), TheFn, Ops, Name);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIRBuilder.cpp107 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet() local
109 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet()
135 Function *TheFn = Intrinsic::getDeclaration( in CreateElementUnorderedAtomicMemSet() local
138 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateElementUnorderedAtomicMemSet()
176 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy() local
178 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy()
217 Function *TheFn = Intrinsic::getDeclaration( in CreateElementUnorderedAtomicMemCpy() local
220 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateElementUnorderedAtomicMemCpy()
255 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove() local
257 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemMove()
[all …]
/external/llvm/lib/IR/
DIRBuilder.cpp89 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet() local
91 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet()
116 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy() local
118 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy()
147 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove() local
149 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemMove()
175 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_start); in CreateLifetimeStart() local
176 return createCallHelper(TheFn, Ops, this); in CreateLifetimeStart()
190 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_end); in CreateLifetimeEnd() local
191 return createCallHelper(TheFn, Ops, this); in CreateLifetimeEnd()
[all …]
/external/llvm-project/llvm/lib/IR/
DIRBuilder.cpp86 Function *TheFn = in CreateVScale() local
88 CallInst *CI = createCallHelper(TheFn, {}, this, Name); in CreateVScale()
102 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet() local
104 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet()
130 Function *TheFn = Intrinsic::getDeclaration( in CreateElementUnorderedAtomicMemSet() local
133 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateElementUnorderedAtomicMemSet()
160 Function *TheFn = Intrinsic::getDeclaration(M, IntrID, Tys); in CreateMemTransferInst() local
162 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemTransferInst()
198 Function *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy_inline, Tys); in CreateMemCpyInline() local
200 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpyInline()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp502 void applySingleImplDevirt(VTableSlotInfo &SlotInfo, Constant *TheFn,
884 Constant *TheFn, bool &IsExported) { in applySingleImplDevirt() argument
889 TheFn->stripPointerCasts()->getName(), OREGetter); in applySingleImplDevirt()
891 TheFn, VCallSite.CS.getCalledValue()->getType())); in applySingleImplDevirt()
939 Function *TheFn = TargetsForSlot[0].Fn; in trySingleImplDevirt() local
941 if (TheFn != Target.Fn) in trySingleImplDevirt()
949 applySingleImplDevirt(SlotInfo, TheFn, IsExported); in trySingleImplDevirt()
956 if (TheFn->hasLocalLinkage()) { in trySingleImplDevirt()
957 std::string NewName = (TheFn->getName() + "$merged").str(); in trySingleImplDevirt()
962 if (Comdat *C = TheFn->getComdat()) { in trySingleImplDevirt()
[all …]
/external/llvm-project/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp557 void applySingleImplDevirt(VTableSlotInfo &SlotInfo, Constant *TheFn,
1033 Constant *TheFn, bool &IsExported) { in applySingleImplDevirt() argument
1036 if (FunctionsToSkip.match(TheFn->stripPointerCasts()->getName())) in applySingleImplDevirt()
1042 TheFn->stripPointerCasts()->getName(), OREGetter); in applySingleImplDevirt()
1044 TheFn, VCallSite.CB.getCalledOperand()->getType())); in applySingleImplDevirt()
1092 Function *TheFn = TargetsForSlot[0].Fn; in trySingleImplDevirt() local
1094 if (TheFn != Target.Fn) in trySingleImplDevirt()
1102 applySingleImplDevirt(SlotInfo, TheFn, IsExported); in trySingleImplDevirt()
1109 if (TheFn->hasLocalLinkage()) { in trySingleImplDevirt()
1110 std::string NewName = (TheFn->getName() + "$merged").str(); in trySingleImplDevirt()
[all …]
/external/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp399 Function *TheFn = TargetsForSlot[0].Fn; in trySingleImplDevirt() local
401 if (TheFn != Target.Fn) in trySingleImplDevirt()
408 TheFn, VCallSite.CS.getCalledValue()->getType())); in trySingleImplDevirt()
/external/llvm-project/llvm/unittests/IR/
DPatternMatch.cpp1337 Function *TheFn = in TEST_F() local
1340 Value *Intrinsic5 = CallInst::Create(TheFn, Ops, "", BB); in TEST_F()