HomeSort by relevance Sort by last modified time
    Searched defs:Allocas (Results 1 - 17 of 17) sorted by null

  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
Mem2Reg.cpp 58 std::vector<AllocaInst*> Allocas;
67 Allocas.clear();
69 // Find allocas that are safe to promote, by looking at all instructions in
74 Allocas.push_back(AI);
76 if (Allocas.empty()) break;
78 PromoteMemToReg(Allocas, DT);
79 NumPromoted += Allocas.size();
PromoteMemoryToRegister.cpp 1 //===- PromoteMemoryToRegister.cpp - Convert allocas to registers ---------===//
150 /// blocks multiple times when promoting many allocas in the same block.
158 /// isInterestingInstruction - This code only looks at accesses to allocas.
199 /// Allocas - The alloca instructions being promoted.
201 std::vector<AllocaInst*> Allocas;
209 /// AllocaLookup - Reverse mapping of Allocas.
217 /// PhiToAllocaMap - For each PHI node, keep track of which entry in Allocas
248 : Allocas(A), DT(dt), DIB(0), AST(ast) {}
263 Allocas[AllocaIdx] = Allocas.back()
    [all...]
  /external/llvm/lib/Transforms/Utils/
Mem2Reg.cpp 32 std::vector<AllocaInst *> Allocas;
37 Allocas.clear();
39 // Find allocas that are safe to promote, by looking at all instructions in
44 Allocas.push_back(AI);
46 if (Allocas.empty())
49 PromoteMemToReg(Allocas, DT, nullptr, &AC);
50 NumPromoted += Allocas.size();
PromoteMemoryToRegister.cpp 1 //===- PromoteMemoryToRegister.cpp - Convert allocas to registers ---------===//
176 /// blocks multiple times when promoting many allocas in the same block.
187 /// This code only looks at accesses to allocas.
224 std::vector<AllocaInst *> Allocas;
234 /// Reverse mapping of Allocas.
245 /// For each PHI node, keep track of which entry in Allocas it corresponds
271 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
273 : Allocas(Allocas.begin(), Allocas.end()), DT(DT)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
Mem2Reg.cpp 37 std::vector<AllocaInst *> Allocas;
42 Allocas.clear();
44 // Find allocas that are safe to promote, by looking at all instructions in
49 Allocas.push_back(AI);
51 if (Allocas.empty())
54 PromoteMemToReg(Allocas, DT, &AC);
55 NumPromoted += Allocas.size();
PromoteMemoryToRegister.cpp 1 //===- PromoteMemoryToRegister.cpp - Convert allocas to registers ---------===//
185 /// blocks multiple times when promoting many allocas in the same block.
196 /// This code only looks at accesses to allocas.
233 std::vector<AllocaInst *> Allocas;
243 /// Reverse mapping of Allocas.
254 /// For each PHI node, keep track of which entry in Allocas it corresponds
279 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
281 : Allocas(Allocas.begin(), Allocas.end()), DT(DT)
    [all...]
  /external/llvm/lib/CodeGen/
SafeStackColoring.cpp 59 AllocaInst *AI = Allocas[AllocaNo];
89 // * the sets of allocas whose lifetime starts or ends in this BB
238 dbgs() << "Allocas:\n";
240 dbgs() << " " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n";
268 AllocaNumbering[Allocas[I]] = I;
SafeStackColoring.h 23 /// Compute live ranges of allocas.
74 ArrayRef<AllocaInst *> Allocas;
77 /// LiveRange for allocas.
80 /// The set of allocas that have at least one lifetime.start. All other
81 /// allocas get LiveRange that corresponds to the entire function.
103 StackColoring(Function &F, ArrayRef<AllocaInst *> Allocas)
104 : F(F), NumInst(-1), Allocas(Allocas), NumAllocas(Allocas.size()) {}
StackColoring.cpp 19 // 2. Merge this pass with StackSlotColoring and allow merging of allocas with
64 /// The user may write code that uses allocas outside of the declared lifetime
70 ProtectFromEscapedAllocas("protect-from-escaped-allocas",
88 STATISTIC(EscapedAllocas, "Number of allocas that escaped the lifetime region");
795 // Keep a list of *allocas* which need to be remapped.
796 DenseMap<const AllocaInst*, const AllocaInst*> Allocas;
801 Allocas[From] = To;
849 // derived from the merged allocas. When doing this, we'll need to use
854 // We've replaced IR-level uses of the remapped allocas, so we only
860 if (!Allocas.count(AI)
    [all...]
  /external/llvm/lib/ExecutionEngine/Interpreter/
Interpreter.h 72 AllocaHolder Allocas; // Track memory allocated by alloca
79 VarArgs(std::move(O.VarArgs)), Allocas(std::move(O.Allocas)) {}
88 Allocas = std::move(O.Allocas);
  /external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
Interpreter.h 78 AllocaHolderHandle Allocas; // Track memory allocated by alloca
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
SafeStackColoring.cpp 74 AllocaInst *AI = Allocas[AllocaNo];
104 // * the sets of allocas whose lifetime starts or ends in this BB
256 dbgs() << "Allocas:\n";
258 dbgs() << " " << AllocaNo << ": " << *Allocas[AllocaNo] << "\n";
287 AllocaNumbering[Allocas[I]] = I;
SafeStackColoring.h 30 /// Compute live ranges of allocas.
89 ArrayRef<AllocaInst *> Allocas;
93 /// LiveRange for allocas.
96 /// The set of allocas that have at least one lifetime.start. All other
97 /// allocas get LiveRange that corresponds to the entire function.
119 StackColoring(Function &F, ArrayRef<AllocaInst *> Allocas)
120 : F(F), Allocas(Allocas), NumAllocas(Allocas.size()) {}
StackColoring.cpp 19 // 2. Merge this pass with StackSlotColoring and allow merging of allocas with
73 /// The user may write code that uses allocas outside of the declared lifetime
79 ProtectFromEscapedAllocas("protect-from-escaped-allocas",
97 STATISTIC(EscapedAllocas, "Number of allocas that escaped the lifetime region");
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
Interpreter.h 69 AllocaHolder Allocas; // Track memory allocated by alloca
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
CoroFrame.cpp 465 // ; geps corresponding to allocas that were moved to coroutine frame
485 // We need to keep track of any allocas that need "spilling"
488 // we remember allocas and their indices to be handled once we processed
490 SmallVector<std::pair<AllocaInst *, unsigned>, 4> Allocas;
493 Allocas.emplace_back(Shape.PromiseAlloca, coro::Shape::PromiseField);
521 Allocas.emplace_back(AI, Index);
523 report_fatal_error("Coroutines cannot handle non static allocas yet");
589 // If we found any allocas, replace all of their remaining uses with Geps.
590 for (auto &P : Allocas) {
    [all...]
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
ScalarReplAggregates.cpp 54 STATISTIC(NumReplaced, "Number of allocas broken up");
55 STATISTIC(NumPromoted, "Number of allocas promoted");
56 STATISTIC(NumAdjusted, "Number of scalar allocas adjusted to allow promotion");
58 STATISTIC(NumGlobals, "Number of allocas copied from constant global");
    [all...]

Completed in 560 milliseconds