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

  /external/llvm/lib/Target/AMDGPU/
SITypeRewriter.cpp 133 Function *NewF = Mod->getFunction(Name);
134 if (!NewF) {
135 NewF = Function::Create(FunctionType::get(F->getReturnType(), Types, false), GlobalValue::ExternalLinkage, Name, Mod);
136 NewF->setAttributes(F->getAttributes());
138 I.replaceAllUsesWith(Builder.CreateCall(NewF, Args));
AMDGPUOpenCLImageTypeLoweringPass.cpp 290 auto NewF = Function::Create(NewFT, F->getLinkage(), F->getName());
292 auto NewFArgIt = NewF->arg_begin();
303 CloneFunctionInto(NewF, F, VMap, /*ModuleLevelChanges=*/false, Returns);
307 KernelMDArgs.push_back(ConstantAsMetadata::get(NewF));
312 return std::make_tuple(NewF, NewMDNode);
327 Function *NewF;
329 std::tie(NewF, NewMDNode) = addImplicitArgs(F, KernelMDNode);
330 if (NewF) {
333 M.getFunctionList().push_back(NewF);
334 M.getOrInsertFunction(NewF->getName(), NewF->getFunctionType()
    [all...]
AMDGPUPromoteAlloca.cpp 787 Function *NewF = cast<Function>(C);
788 Call->setCalledFunction(NewF);
  /frameworks/rs/rsov/compiler/
RSAllocationUtils.cpp 218 auto *NewF = Function::Create(NewFT, // Fun->getFunctionType(),
220 FCall->setCalledFunction(NewF);
222 NewF->setAttributes(Fun->getAttributes());
  /external/llvm/lib/Transforms/Scalar/
Float2Int.cpp 322 APFloat NewF = F;
323 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven);
324 if (Res != APFloat::opOK || NewF.compare(F) != APFloat::cmpEqual) {
LoopStrengthReduce.cpp     [all...]
  /external/llvm/lib/Transforms/Utils/
CloneFunction.cpp 198 Function *NewF =
202 Function::arg_iterator DestI = NewF->arg_begin();
210 CloneFunctionInto(NewF, F, VMap, /*ModuleLevelChanges=*/false, Returns, "",
213 return NewF;
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
CloneFunction.cpp 158 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getName());
161 Function::arg_iterator DestI = NewF->arg_begin();
170 CloneFunctionInto(NewF, F, VMap, ModuleLevelChanges, Returns, "", CodeInfo);
171 return NewF;
  /external/swiftshader/third_party/LLVM/lib/VMCore/
Metadata.cpp 140 const Function *F = 0, *NewF = 0;
144 NewF = assertLocalFunction(MD);
146 NewF = getFunctionForValue(V);
149 F = NewF;
151 assert((NewF == 0 || F == NewF) &&"inconsistent function-local metadata");
Module.cpp 158 Constant *NewF = getOrInsertFunction(Name, Ty);
160 return NewF;
Constants.cpp     [all...]
  /external/llvm/tools/bugpoint/
Miscompilation.cpp 397 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first);
399 assert(NewF && "Function not found??");
400 MiscompiledFunctions.push_back(NewF);
427 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first);
429 assert(NewF && "Function not found??");
430 MiscompiledFunctions.push_back(NewF);
597 Function *NewF = ProgClone->getFunction(MisCompFunctions[i].first);
598 assert(NewF && "Function not found??");
599 MiscompiledFunctions.push_back(NewF);
    [all...]
  /external/llvm/unittests/Transforms/Utils/
Cloning.cpp 454 Function *NewF = NewM->getFunction("f");
455 DISubprogram *SP = NewF->getSubprogram();
  /external/swiftshader/third_party/LLVM/tools/bugpoint/
Miscompilation.cpp 412 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first);
414 assert(NewF && "Function not found??");
415 MiscompiledFunctions.push_back(NewF);
594 Function *NewF = ProgClone->getFunction(MisCompFunctions[i].first);
595 assert(NewF && "Function not found??");
596 MiscompiledFunctions.push_back(NewF);
    [all...]
  /external/llvm/lib/IR/
Constants.cpp     [all...]
  /external/llvm/lib/Transforms/Instrumentation/
DataFlowSanitizer.cpp 538 Function *NewF = Function::Create(NewFT, NewFLink, NewFName,
540 NewF->copyAttributesFrom(F);
541 NewF->removeAttributes(
546 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", NewF);
548 NewF->removeAttributes(
559 for (Function::arg_iterator ai = NewF->arg_begin(); n != 0; ++ai, --n)
568 return NewF;
687 Function *NewF =
689 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewF, GA->getType()));
690 NewF->takeName(GA)
    [all...]
  /external/spirv-llvm/lib/SPIRV/
SPIRVUtil.cpp 320 auto NewF = Function::Create(FT,
325 NewF->takeName(F);
328 if (NewF->getName() != MangledName) {
334 dbgs() << *NewF << '\n';
336 F = NewF;
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
LoopStrengthReduce.cpp     [all...]
  /external/clang/lib/CodeGen/
CodeGenModule.cpp 220 auto *NewF = dyn_cast<llvm::Function>(Replacement);
221 if (!NewF) {
223 NewF = dyn_cast<llvm::Function>(Alias->getAliasee());
228 NewF = dyn_cast<llvm::Function>(CE->getOperand(0));
234 if (NewF) {
235 NewF->removeFromParent();
237 NewF);
    [all...]

Completed in 702 milliseconds