Home
last modified time | relevance | path

Searched defs:FunctionCloner (Results 1 – 1 of 1) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp222 struct FunctionCloner { struct
246 Function *OrigFunc = nullptr;
247 Function *ClonedFunc = nullptr;
249 typedef std::pair<Function *, BasicBlock *> FuncBodyCallerPair;
251 SmallVector<FuncBodyCallerPair, 4> OutlinedFunctions;
255 bool IsFunctionInlined = false;
257 int OutlinedRegionCost = 0;
259 std::unique_ptr<FunctionOutliningInfo> ClonedOI = nullptr;
261 std::unique_ptr<FunctionOutliningMultiRegionInfo> ClonedOMRI = nullptr;
262 std::unique_ptr<BlockFrequencyInfo> ClonedFuncBFI = nullptr;
[all …]