HomeSort by relevance Sort by last modified time
    Searched defs:Allocas (Results 1 - 10 of 10) 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/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/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 181 milliseconds