Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DProfilingUtils.cpp64 CallInst *InitCall = CallInst::Create(InitFn, Args, "newargc", InsertPos); in InsertProfilingInitCall() local
75 InitCall->setArgOperand(1, in InsertProfilingInitCall()
76 CastInst::Create(opcode, AI, ArgVTy, "argv.cast", InitCall)); in InsertProfilingInitCall()
78 InitCall->setArgOperand(1, AI); in InsertProfilingInitCall()
89 opcode = CastInst::getCastOpcode(InitCall, true, AI->getType(), true); in InsertProfilingInitCall()
91 CastInst::Create(opcode, InitCall, AI->getType(), "", InsertPos)); in InsertProfilingInitCall()
95 InitCall->setArgOperand(0, in InsertProfilingInitCall()
97 "argc.cast", InitCall)); in InsertProfilingInitCall()
99 AI->replaceAllUsesWith(InitCall); in InsertProfilingInitCall()
100 InitCall->setArgOperand(0, AI); in InsertProfilingInitCall()