HomeSort by relevance Sort by last modified time
    Searched refs:NewF (Results 1 - 9 of 9) sorted by null

  /external/llvm/lib/Target/R600/
SITypeRewriter.cpp 137 Function *NewF = Mod->getFunction(Name);
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));
AMDGPUPromoteAlloca.cpp 350 Function *NewF = cast<Function>(C);
351 Call->setCalledFunction(NewF);
  /external/llvm/lib/Transforms/Instrumentation/
DataFlowSanitizer.cpp 489 Function *NewF = Function::Create(NewFT, NewFLink, NewFName,
491 NewF->copyAttributesFrom(F);
492 NewF->removeAttributes(
497 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", NewF);
500 for (Function::arg_iterator ai = NewF->arg_begin(); n != 0; ++ai, --n)
508 return NewF;
613 Function *NewF =
615 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewF, GA->getType()));
616 NewF->takeName(GA);
618 FnsToInstrument.push_back(NewF);
    [all...]
  /external/llvm/lib/IR/
Metadata.cpp 170 const Function *F = nullptr, *NewF = nullptr;
174 NewF = assertLocalFunction(MD);
176 NewF = getFunctionForValue(V);
179 F = NewF;
181 assert((NewF == nullptr || F == NewF) &&
Constants.cpp     [all...]
  /external/llvm/tools/bugpoint/
Miscompilation.cpp 410 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first);
412 assert(NewF && "Function not found??");
413 MiscompiledFunctions.push_back(NewF);
448 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first);
450 assert(NewF && "Function not found??");
451 MiscompiledFunctions.push_back(NewF);
630 Function *NewF = ProgClone->getFunction(MisCompFunctions[i].first);
631 assert(NewF && "Function not found??");
632 MiscompiledFunctions.push_back(NewF);
    [all...]
  /external/llvm/lib/Transforms/Utils/
CloneFunction.cpp 231 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName());
234 Function::arg_iterator DestI = NewF->arg_begin();
243 CloneDebugInfoMetadata(NewF, F, VMap);
246 CloneFunctionInto(NewF, F, VMap, ModuleLevelChanges, Returns, "", CodeInfo);
247 return NewF;
  /external/llvm/lib/Transforms/Scalar/
LoopStrengthReduce.cpp     [all...]
  /external/clang/lib/CodeGen/
CodeGenModule.cpp 203 auto *NewF = dyn_cast<llvm::Function>(Replacement);
204 if (!NewF) {
206 NewF = dyn_cast<llvm::Function>(Alias->getAliasee());
211 NewF = dyn_cast<llvm::Function>(CE->getOperand(0));
217 if (NewF) {
218 NewF->removeFromParent();
219 OldF->getParent()->getFunctionList().insertAfter(OldF, NewF);
    [all...]

Completed in 534 milliseconds