Searched refs:NewF (Results 1 - 10 of 10) sorted by relevance
/freebsd-9.3-release/contrib/llvm/lib/Target/R600/ |
H A D | SITypeRewriter.cpp | 137 Function *NewF = Mod->getFunction(Name); local 138 if (!NewF) { 139 NewF = Function::Create(FunctionType::get(F->getReturnType(), Types, false), GlobalValue::ExternalLinkage, Name, Mod); 140 NewF->setAttributes(F->getAttributes()); 142 I.replaceAllUsesWith(Builder.CreateCall(NewF, Args));
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Instrumentation/ |
H A D | DataFlowSanitizer.cpp | 424 Function *NewF = Function::Create(NewFT, NewFLink, NewFName, local 426 NewF->copyAttributesFrom(F); 427 NewF->removeAttributes( 432 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", NewF); 435 for (Function::arg_iterator ai = NewF->arg_begin(); n != 0; ++ai, --n) 443 return NewF; 548 Function *NewF = local 550 GA->replaceAllUsesWith(NewF); 551 NewF->takeName(GA); 553 FnsToInstrument.push_back(NewF); 578 Function *NewF = Function::Create(NewFT, F.getLinkage(), "", &M); local 623 Function *NewF = buildWrapperFunction( local [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 575 bool insert(ComparableFunction &NewF); 838 bool MergeFunctions::insert(ComparableFunction &NewF) { argument 839 std::pair<FnSetType::iterator, bool> Result = FnSet.insert(NewF); 841 DEBUG(dbgs() << "Inserting as unique: " << NewF.getFunc()->getName() << '\n'); 851 if (NewF.getFunc()->size() == 1) { 852 if (NewF.getFunc()->front().size() <= 2) { 853 DEBUG(dbgs() << NewF.getFunc()->getName() 861 NewF.getFunc()->mayBeOverridden()); 864 << NewF.getFunc()->getName() << '\n'); 866 Function *DeleteF = NewF [all...] |
/freebsd-9.3-release/contrib/llvm/lib/IR/ |
H A D | Metadata.cpp | 169 const Function *F = 0, *NewF = 0; local 173 NewF = assertLocalFunction(MD); 175 NewF = getFunctionForValue(V); 178 F = NewF; 180 assert((NewF == 0 || F == NewF) &&"inconsistent function-local metadata");
|
H A D | Module.cpp | 157 Constant *NewF = getOrInsertFunction(Name, Ty); local 159 return NewF;
|
H A D | Constants.cpp | 1389 Function *NewF = getFunction(); local 1393 NewF = cast<Function>(To->stripPointerCasts()); 1400 getContext().pImpl->BlockAddresses[std::make_pair(NewF, NewBB)]; 1409 setOperand(0, NewF);
|
/freebsd-9.3-release/contrib/llvm/tools/bugpoint/ |
H A D | Miscompilation.cpp | 409 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first); local 411 assert(NewF && "Function not found??"); 412 MiscompiledFunctions.push_back(NewF); 447 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first); local 449 assert(NewF && "Function not found??"); 450 MiscompiledFunctions.push_back(NewF); 629 Function *NewF = ProgClone->getFunction(MisCompFunctions[i].first); local 630 assert(NewF && "Function not found??"); 631 MiscompiledFunctions.push_back(NewF);
|
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 3675 Formula NewF = F; local 3676 NewF.BaseOffset = Offset; 3678 NewF)) 3680 NewF.ScaledReg = SE.getAddExpr(NegImmS, NewF.ScaledReg); 3685 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(NewF.ScaledReg)) 3687 (NewF.BaseOffset < 0) && 3689 .ule(abs64(NewF.BaseOffset))) 3693 (void)InsertFormula(LU, LUIdx, NewF); 3700 Formula NewF local 3920 Formula NewF = F; local 3935 Formula NewF = F; local [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/ |
H A D | CloneFunction.cpp | 180 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName()); local 183 Function::arg_iterator DestI = NewF->arg_begin(); 192 CloneFunctionInto(NewF, F, VMap, ModuleLevelChanges, Returns, "", CodeInfo); 193 return NewF;
|
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 185 llvm::Function *NewF = dyn_cast<llvm::Function>(Replacement); local 186 if (!NewF) { 190 NewF = dyn_cast<llvm::Function>(CE->getOperand(0)); 195 if (NewF) { 196 NewF->removeFromParent(); 197 OldF->getParent()->getFunctionList().insertAfter(OldF, NewF);
|
Completed in 217 milliseconds