Home
last modified time | relevance | path

Searched refs:oldFunc (Results 1 – 9 of 9) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DAstHelpers.cpp101 const TFunction &oldFunc) in CloneFunction() argument
103 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined); in CloneFunction()
105 Name newName = idGen.createNewName(Name(oldFunc)); in CloneFunction()
108 &oldFunc.getReturnType(), oldFunc.isKnownToNotHaveSideEffects()); in CloneFunction()
110 AcquireFunctionExtras(newFunc, oldFunc); in CloneFunction()
111 AddParametersFrom(newFunc, oldFunc); in CloneFunction()
118 const TFunction &oldFunc, in CloneFunctionAndPrependParam() argument
121 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined || in CloneFunctionAndPrependParam()
122 oldFunc.symbolType() == SymbolType::AngleInternal); in CloneFunctionAndPrependParam()
124 Name newName = idGen ? idGen->createNewName(Name(oldFunc)) : Name(oldFunc); in CloneFunctionAndPrependParam()
[all …]
DAstHelpers.h48 const TFunction &CloneFunction(TSymbolTable &symbolTable, IdGen &idGen, const TFunction &oldFunc);
54 const TFunction &oldFunc,
61 const TFunction &oldFunc,
68 const TFunction &oldFunc,
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp229 PruningFunctionCloner(Function *newFunc, const Function *oldFunc, in PruningFunctionCloner()
232 : NewFunc(newFunc), OldFunc(oldFunc), VMap(valueMap), in PruningFunctionCloner()
DCodeExtractor.cpp662 Function *oldFunc = (*Blocks.begin())->getParent(); in moveCodeToFunction() local
663 Function::BasicBlockListType &oldBlocks = oldFunc->getBasicBlockList(); in moveCodeToFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCloneFunction.cpp284 PruningFunctionCloner(Function *newFunc, const Function *oldFunc, in PruningFunctionCloner()
287 : NewFunc(newFunc), OldFunc(oldFunc), VMap(valueMap), in PruningFunctionCloner()
DCodeExtractor.cpp1327 Function *oldFunc = (*Blocks.begin())->getParent(); in moveCodeToFunction() local
1328 Function::BasicBlockListType &oldBlocks = oldFunc->getBasicBlockList(); in moveCodeToFunction()
/external/llvm-project/llvm/lib/Transforms/Utils/
DCloneFunction.cpp288 PruningFunctionCloner(Function *newFunc, const Function *oldFunc, in PruningFunctionCloner()
291 : NewFunc(newFunc), OldFunc(oldFunc), VMap(valueMap), in PruningFunctionCloner()
DCodeExtractor.cpp1383 Function *oldFunc = (*Blocks.begin())->getParent(); in moveCodeToFunction() local
1384 Function::BasicBlockListType &oldBlocks = oldFunc->getBasicBlockList(); in moveCodeToFunction()
/external/libxml2/
Dxpath.c13153 const xmlChar *oldFunc, *oldFuncURI; in xmlXPathCompOpEval() local
13213 oldFunc = ctxt->context->function; in xmlXPathCompOpEval()
13218 ctxt->context->function = oldFunc; in xmlXPathCompOpEval()