Home
last modified time | relevance | path

Searched refs:newFunc (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/Func/IR/
H A DFuncOps.cpp301 FuncOp newFunc = cast<FuncOp>(getOperation()->cloneWithoutRegions()); in clone() local
319 newFunc.setType(FunctionType::get(oldType.getContext(), newInputs, in clone()
328 newFunc.setAllArgAttrs(newArgAttrs); in clone()
334 cloneInto(newFunc, mapper); in clone()
335 return newFunc; in clone()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp341 PruningFunctionCloner(Function *newFunc, const Function *oldFunc, in PruningFunctionCloner()
344 : NewFunc(newFunc), OldFunc(oldFunc), VMap(valueMap), in PruningFunctionCloner()
348 newFunc->getAttributes().hasFnAttr(Attribute::StrictFP); in PruningFunctionCloner()
/llvm-project-15.0.7/flang/lib/Lower/
H A DCallInterface.cpp1205 mlir::func::FuncOp newFunc = in getOrDeclareFunction() local
1207 addSymbolAttribute(newFunc, *symbol, converter.getMLIRContext()); in getOrDeclareFunction()
1208 return newFunc; in getOrDeclareFunction()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DRDFGraph.h833 NodeAddr<FuncNode*> newFunc(MachineFunction *MF);
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRDFGraph.cpp859 NodeAddr<FuncNode*> DataFlowGraph::newFunc(MachineFunction *MF) { in newFunc() function in DataFlowGraph
868 Func = newFunc(&MF); in build()