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

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
ReplaceWithVeclib.cpp 45 Function *OldFunc = CI.getCalledFunction();
51 TLIFunc = Function::Create(OldFunc->getFunctionType(),
53 TLIFunc->copyAttributesFrom(OldFunc);
78 assert(OldFunc->getFunctionType() == TLIFunc->getFunctionType() &&
87 << OldFunc->getName() << "` with call to `" << TLIName
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
CloneFunction.cpp 81 // Clone OldFunc into NewFunc, transforming the old arguments into references to
84 void llvm::CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
94 for (const Argument &I : OldFunc->args())
103 NewFunc->copyAttributesFrom(OldFunc);
107 if (OldFunc->hasPersonalityFn())
109 MapValue(OldFunc->getPersonalityFn(), VMap,
114 AttributeList OldAttrs = OldFunc->getAttributes();
117 for (const Argument &OldArg : OldFunc->args()) {
130 if (OldFunc->isDeclaration())
145 NewFunc->getParent() == OldFunc->getParent()) &
    [all...]

Completed in 69 milliseconds