HomeSort by: relevance | last modified time | path
    Searched defs:NewF (Results 1 - 14 of 14) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyAddMissingPrototypes.cpp 125 Function *NewF =
127 NewF->setAttributes(F.getAttributes());
128 NewF->removeFnAttr("no-prototype");
129 Replacements.emplace_back(&F, NewF);
134 Function *NewF = Pair.second;
136 M.getFunctionList().push_back(NewF);
138 ConstantExpr::getPointerBitCastOrAddrSpaceCast(NewF, OldF->getType()));
140 NewF->setName(Name);
  /src/external/apache2/llvm/dist/clang/lib/Basic/Targets/
AMDGPU.cpp 396 std::string NewF = F.str();
397 std::replace(NewF.begin(), NewF.end(), '-', '_');
398 Builder.defineMacro(Twine("__amdgcn_feature_") + Twine(NewF) +
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
AMDGPUPropagateAttributes.cpp 103 Clone(const FnProperties &Props, Function *OrigF, Function *NewF) :
104 Properties(Props), OrigF(OrigF), NewF(NewF) {}
108 Function *NewF;
208 return C.NewF;
268 Function *NewF = findFunction(CallerProps, &F);
269 if (!NewF) {
283 NewF = cloneWithProperties(F, NewProps);
284 Clones.push_back(Clone(CallerProps, &F, NewF));
285 NewRoots.insert(NewF);
    [all...]
R600OpenCLImageTypeLoweringPass.cpp 291 auto NewF = Function::Create(NewFT, F->getLinkage(), F->getName());
293 auto NewFArgIt = NewF->arg_begin();
304 CloneFunctionInto(NewF, F, VMap, CloneFunctionChangeType::LocalChangesOnly,
309 KernelMDArgs.push_back(ConstantAsMetadata::get(NewF));
314 return std::make_tuple(NewF, NewMDNode);
329 Function *NewF;
331 std::tie(NewF, NewMDNode) = addImplicitArgs(F, KernelMDNode);
332 if (NewF) {
335 M.getFunctionList().push_back(NewF);
336 M.getOrInsertFunction(NewF->getName(), NewF->getFunctionType()
    [all...]
AMDGPUInstCombineIntrinsic.cpp 583 Function *NewF = Intrinsic::getDeclaration(
588 CallInst *NewCall = IC.Builder.CreateCall(NewF, Args);
683 Function *NewF = Intrinsic::getDeclaration(
687 CallInst *NewCall = IC.Builder.CreateCall(NewF, Args);
709 Function *NewF = Intrinsic::getDeclaration(
714 CallInst *NewCall = IC.Builder.CreateCall(NewF, Args);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
ThinLTOBitcodeWriter.cpp 158 Function *NewF =
161 NewF->copyAttributesFrom(&F);
163 NewF->setAttributes(
166 NewF->takeName(&F);
167 F.replaceAllUsesWith(ConstantExpr::getBitCast(NewF, F.getType()));
ArgumentPromotion.cpp 1035 Function *NewF =
1037 if (!NewF)
1046 C.getOuterRefSCC().replaceNodeFunction(N, *NewF);
1141 if (Function *NewF = promoteArguments(OldF, AARGetter, MaxElements,
1146 CallGraphNode *NewNode = CG.getOrInsertFunction(NewF);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
Float2Int.cpp 326 APFloat NewF = F;
327 auto Res = NewF.roundToIntegral(APFloat::rmNearestTiesToEven);
328 if (Res != APFloat::opOK || NewF != F) {
LoopStrengthReduce.cpp 4226 Formula NewF = F;
4227 NewF.BaseOffset = Offset;
4229 NewF))
4231 NewF.ScaledReg = SE.getAddExpr(NegImmS, NewF.ScaledReg);
4236 if (const SCEVConstant *C = dyn_cast<SCEVConstant>(NewF.ScaledReg))
4237 if (C->getValue()->isNegative() != (NewF.BaseOffset < 0) &&
4239 .ule(std::abs(NewF.BaseOffset)))
4243 NewF.canonicalize(*this->L);
4244 (void)InsertFormula(LU, LUIdx, NewF);
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
CloneFunction.cpp 301 Function *NewF = Function::Create(FTy, F->getLinkage(), F->getAddressSpace(),
305 Function::arg_iterator DestI = NewF->arg_begin();
313 CloneFunctionInto(NewF, F, VMap, CloneFunctionChangeType::LocalChangesOnly,
316 return NewF;
  /src/external/apache2/llvm/dist/llvm/tools/bugpoint/
Miscompilation.cpp 402 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first);
404 assert(NewF && "Function not found??");
405 MiscompiledFunctions.push_back(NewF);
434 Function *NewF = ToNotOptimize->getFunction(MisCompFunctions[i].first);
436 assert(NewF && "Function not found??");
437 MiscompiledFunctions.push_back(NewF);
601 Function *NewF = ProgClone->getFunction(MisCompFunctions[i].first);
602 assert(NewF && "Function not found??");
603 MiscompiledFunctions.push_back(NewF);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
CoroSplit.cpp 101 Function *NewF;
117 : OrigF(OrigF), NewF(nullptr), Suffix(Suffix), Shape(Shape),
124 Function *NewF, AnyCoroSuspendInst *ActiveSuspend)
125 : OrigF(OrigF), NewF(NewF), Suffix(Suffix), Shape(Shape),
130 assert(NewF && "need existing function for continuation");
135 assert(NewF != nullptr && "declaration not yet set");
136 return NewF;
475 Function *NewF =
478 NewF->addParamAttr(0, Attribute::NonNull)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
DataFlowSanitizer.cpp 1215 Function *NewF = Function::Create(NewFT, NewFLink, F->getAddressSpace(),
1217 NewF->copyAttributesFrom(F);
1218 NewF->removeAttributes(
1222 BasicBlock *BB = BasicBlock::Create(*Ctx, "entry", NewF);
1224 NewF->removeAttributes(AttributeList::FunctionIndex,
1231 auto ArgIt = pointer_iterator<Argument *>(NewF->arg_begin());
1241 return NewF;
1540 Function *NewF =
1542 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewF, GA->getType()));
1543 NewF->takeName(GA)
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CodeGenModule.cpp 279 auto *NewF = dyn_cast<llvm::Function>(Replacement);
280 if (!NewF) {
282 NewF = dyn_cast<llvm::Function>(Alias->getAliasee());
287 NewF = dyn_cast<llvm::Function>(CE->getOperand(0));
293 if (NewF) {
294 NewF->removeFromParent();
296 NewF);

Completed in 63 milliseconds