Home
last modified time | relevance | path

Searched refs:NewFunc (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCloneFunction.cpp84 void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc, in CloneFunctionInto() argument
100 AttributeList NewAttrs = NewFunc->getAttributes(); in CloneFunctionInto()
101 NewFunc->copyAttributesFrom(OldFunc); in CloneFunctionInto()
102 NewFunc->setAttributes(NewAttrs); in CloneFunctionInto()
106 NewFunc->setPersonalityFn( in CloneFunctionInto()
111 SmallVector<AttributeSet, 4> NewArgAttrs(NewFunc->arg_size()); in CloneFunctionInto()
122 NewFunc->setAttributes( in CloneFunctionInto()
123 AttributeList::get(NewFunc->getContext(), OldAttrs.getFnAttributes(), in CloneFunctionInto()
127 OldFunc->getParent() && OldFunc->getParent() == NewFunc->getParent(); in CloneFunctionInto()
146 NewFunc->addMetadata( in CloneFunctionInto()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPURewriteOutArguments.cpp364 Function *NewFunc = Function::Create(NewFuncTy, Function::PrivateLinkage, in runOnFunction() local
366 F.getParent()->getFunctionList().insert(F.getIterator(), NewFunc); in runOnFunction()
367 NewFunc->copyAttributesFrom(&F); in runOnFunction()
368 NewFunc->setComdat(F.getComdat()); in runOnFunction()
372 NewFunc->stealArgumentListFrom(F); in runOnFunction()
378 NewFunc->removeAttributes(AttributeList::ReturnIndex, RetAttrs); in runOnFunction()
383 NewFunc->getBasicBlockList().splice(NewFunc->begin(), F.getBasicBlockList()); in runOnFunction()
446 CallInst *StubCall = B.CreateCall(NewFunc, StubCallArgs); in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCloning.h138 void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
146 void CloneAndPruneIntoFromInst(Function *NewFunc, const Function *OldFunc,
164 void CloneAndPruneFunctionInto(Function *NewFunc, const Function *OldFunc,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProfWriter.cpp206 bool NewFunc; in overlapRecord() local
208 std::tie(Where, NewFunc) = in overlapRecord()
210 if (NewFunc) { in overlapRecord()
229 bool NewFunc; in addRecord() local
231 std::tie(Where, NewFunc) = in addRecord()
239 if (NewFunc) { in addRecord()
/third_party/protobuf/python/google/protobuf/
Ddescriptor_pool.py74 def NewFunc(*args, **kwargs): function
81 NewFunc.__name__ = func.__name__
82 NewFunc.__doc__ = func.__doc__
83 NewFunc.__dict__.update(func.__dict__)
84 return NewFunc
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceASanInstrumentation.cpp354 Constant *NewFunc = Ctx->getConstantExternSym(Ctx->getGlobalString(SubName)); in instrumentCall() local
357 Instr->getDest(), NewFunc, Instr->isTailcall()); in instrumentCall()