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

  /external/llvm/lib/Transforms/Utils/
Mem2Reg.cpp 62 std::vector<AllocaInst*> Allocas;
76 Allocas.clear();
78 // Find allocas that are safe to promote, by looking at all instructions in
83 Allocas.push_back(AI);
85 if (Allocas.empty()) break;
87 PromoteMemToReg(Allocas, DT, nullptr, &AC);
88 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/include/llvm/Transforms/Utils/
PromoteMemToReg.h 1 //===- PromoteMemToReg.h - Promote Allocas to Scalars -----------*- C++ -*-===//
39 /// does not modify the CFG of the function at all. All allocas must be from
44 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
  /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);
Execution.cpp     [all...]
  /external/llvm/lib/CodeGen/
StackColoring.cpp 19 // 2. Merge this pass with StackSlotColoring and allow merging of allocas with
66 /// The user may write code that uses allocas outside of the declared lifetime
71 ProtectFromEscapedAllocas("protect-from-escaped-allocas",
79 STATISTIC(EscapedAllocas, "Number of allocas that escaped the lifetime region");
268 // Allocas that start and end within a single block are handled
289 // allocas are live in/out of that block.
472 // Keep a list of *allocas* which need to be remapped.
473 DenseMap<const AllocaInst*, const AllocaInst*> Allocas;
478 Allocas[From] = To;
515 // derived from the merged allocas. When doing this, we'll need to us
    [all...]
  /external/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp 57 STATISTIC(NumReplaced, "Number of allocas broken up");
58 STATISTIC(NumPromoted, "Number of allocas promoted");
59 STATISTIC(NumAdjusted, "Number of scalar allocas adjusted to allow promotion");
    [all...]
RewriteStatepointsForGC.cpp     [all...]
  /external/llvm/lib/CodeGen/SelectionDAG/
SelectionDAGBuilder.cpp     [all...]

Completed in 1171 milliseconds