Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/VMCore/
DIRBuilder.cpp70 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet() local
72 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet()
90 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy() local
92 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy()
110 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove() local
112 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemMove()
132 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_start); in CreateLifetimeStart() local
133 return createCallHelper(TheFn, Ops, this); in CreateLifetimeStart()
147 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::lifetime_end); in CreateLifetimeEnd() local
148 return createCallHelper(TheFn, Ops, this); in CreateLifetimeEnd()
DDebugInfoProbe.cpp53 Function *TheFn; member in llvm::DebugInfoProbeImpl
69 TheFn = &F; in initialize()
114 assert (TheFn == &F && "Invalid function to measure!"); in finalize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DIRBuilder.cpp107 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memset, Tys); in CreateMemSet() local
109 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemSet()
137 Value *TheFn = Intrinsic::getDeclaration( in CreateElementUnorderedAtomicMemSet() local
140 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateElementUnorderedAtomicMemSet()
169 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memcpy, Tys); in CreateMemCpy() local
171 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateMemCpy()
210 Value *TheFn = Intrinsic::getDeclaration( in CreateElementUnorderedAtomicMemCpy() local
213 CallInst *CI = createCallHelper(TheFn, Ops, this); in CreateElementUnorderedAtomicMemCpy()
249 Value *TheFn = Intrinsic::getDeclaration(M, Intrinsic::memmove, Tys); in CreateMemMove() local
251 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp462 void applySingleImplDevirt(VTableSlotInfo &SlotInfo, Constant *TheFn,
754 Constant *TheFn, bool &IsExported) { in applySingleImplDevirt() argument
758 VCallSite.emitRemark("single-impl", TheFn->getName(), OREGetter); in applySingleImplDevirt()
760 TheFn, VCallSite.CS.getCalledValue()->getType())); in applySingleImplDevirt()
779 Function *TheFn = TargetsForSlot[0].Fn; in trySingleImplDevirt() local
781 if (TheFn != Target.Fn) in trySingleImplDevirt()
789 applySingleImplDevirt(SlotInfo, TheFn, IsExported); in trySingleImplDevirt()
796 if (TheFn->hasLocalLinkage()) { in trySingleImplDevirt()
797 std::string NewName = (TheFn->getName() + "$merged").str(); in trySingleImplDevirt()
802 if (Comdat *C = TheFn->getComdat()) { 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/swiftshader/third_party/LLVM/lib/AsmParser/
DLLParser.cpp73 Function *TheFn = 0; in ValidateEndOfModule() local
76 TheFn = M->getFunction(Fn.StrVal); in ValidateEndOfModule()
78 TheFn = dyn_cast<Function>(NumberedVals[Fn.UIntVal]); in ValidateEndOfModule()
80 if (TheFn == 0) in ValidateEndOfModule()
84 if (ResolveForwardRefBlockAddresses(TheFn, in ValidateEndOfModule()
131 bool LLParser::ResolveForwardRefBlockAddresses(Function *TheFn, in ResolveForwardRefBlockAddresses() argument
147 TheFn->getValueSymbolTable().lookup(Refs[i].first.StrVal)); in ResolveForwardRefBlockAddresses()
155 BlockAddress *BA = BlockAddress::get(TheFn, Res); in ResolveForwardRefBlockAddresses()
DLLParser.h375 bool ResolveForwardRefBlockAddresses(Function *TheFn,