Home
last modified time | relevance | path

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

/frameworks/compile/libbcc/lib/Renderscript/
DRSX86CallConvPass.cpp116 llvm::Function *NewFn = llvm::Function::Create(NewTy, in RedefineFn() local
125 NewFn->addAttribute(i+1, llvm::Attribute::ByVal); in RedefineFn()
128 NewFn->copyAttributesFrom(OrigFn); in RedefineFn()
129 NewFn->takeName(OrigFn); in RedefineFn()
132 NAI=NewFn->arg_begin(); in RedefineFn()
137 return NewFn; in RedefineFn()
141 llvm::Function *NewFn, in ReplaceCallInsn() argument
146 auto NewCI = llvm::CallInst::Create(NewFn, Args, "", CI); in ReplaceCallInsn()
193 llvm::Function *NewFn = RedefineFn(OrigFn, ArgsToDeref); in runOnModule() local
196 ReplaceCallInsn(CS, NewFn, ArgsToDeref); in runOnModule()
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp1994 Function *NewFn; in GlobalCleanup() local
1995 if (UpgradeIntrinsicFunction(FI, NewFn)) in GlobalCleanup()
1996 UpgradedIntrinsics.push_back(std::make_pair(FI, NewFn)); in GlobalCleanup()
2041 Function* NewFn; in ParseModule() local
2042 if (UpgradeIntrinsicFunction(FI, NewFn)) in ParseModule()
2043 UpgradedIntrinsics.push_back(std::make_pair(FI, NewFn)); in ParseModule()
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp2288 Function *NewFn; in GlobalCleanup() local
2289 if (UpgradeIntrinsicFunction(FI, NewFn)) in GlobalCleanup()
2290 UpgradedIntrinsics.push_back(std::make_pair(FI, NewFn)); in GlobalCleanup()