Searched refs:NewFn (Results 1 – 3 of 3) sorted by relevance
/frameworks/compile/libbcc/lib/ |
D | RSX86CallConvPass.cpp | 119 llvm::Function *NewFn = llvm::Function::Create(NewTy, in RedefineFn() local 128 NewFn->addAttribute(i+1, llvm::Attribute::ByVal); in RedefineFn() 131 NewFn->copyAttributesFrom(OrigFn); in RedefineFn() 132 NewFn->takeName(OrigFn); in RedefineFn() 135 NAI=NewFn->arg_begin(); in RedefineFn() 140 return NewFn; in RedefineFn() 144 llvm::Function *NewFn, in ReplaceCallInsn() argument 149 auto NewCI = llvm::CallInst::Create(NewFn, Args, "", CI); in ReplaceCallInsn() 196 llvm::Function *NewFn = RedefineFn(OrigFn, ArgsToDeref); in runOnModule() local 199 ReplaceCallInsn(CS, NewFn, ArgsToDeref); in runOnModule()
|
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 2006 Function *NewFn; in GlobalCleanup() local 2007 if (UpgradeIntrinsicFunction(&*FI, NewFn)) in GlobalCleanup() 2008 UpgradedIntrinsics.push_back(std::make_pair(&*FI, NewFn)); in GlobalCleanup() 2053 Function* NewFn; in ParseModule() local 2054 if (UpgradeIntrinsicFunction(&*FI, NewFn)) in ParseModule() 2055 UpgradedIntrinsics.push_back(std::make_pair(&*FI, NewFn)); in ParseModule()
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 2299 Function *NewFn; in GlobalCleanup() local 2300 if (UpgradeIntrinsicFunction(&*FI, NewFn)) in GlobalCleanup() 2301 UpgradedIntrinsics.push_back(std::make_pair(&*FI, NewFn)); in GlobalCleanup()
|