/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
PromoteMemToReg.h | 22 class AllocaInst; 30 bool isAllocaPromotable(const AllocaInst *AI); 40 void PromoteMemToReg(const std::vector<AllocaInst*> &Allocas,
|
Local.h | 31 class AllocaInst; 142 AllocaInst *DemoteRegToStack(Instruction &X, 149 AllocaInst *DemotePHIToStack(PHINode *P, Instruction *AllocaPoint = 0);
|
/external/llvm/include/llvm/Transforms/Utils/ |
PromoteMemToReg.h | 21 class AllocaInst; 32 bool isAllocaPromotable(const AllocaInst *AI); 43 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
ASanStackFrameLayout.h | 20 class AllocaInst; 34 AllocaInst *AI; // The actual AllocaInst.
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/ |
SROA.h | 27 class AllocaInst; 78 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16>> Worklist; 93 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16>> PostPromotionWorklist; 96 std::vector<AllocaInst *> PromotableAllocas; 127 bool presplitLoadsAndStores(AllocaInst &AI, sroa::AllocaSlices &AS); 128 AllocaInst *rewritePartition(AllocaInst &AI, sroa::AllocaSlices &AS, 130 bool splitAlloca(AllocaInst &AI, sroa::AllocaSlices &AS) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
PromoteMemToReg.h | 21 class AllocaInst; 32 bool isAllocaPromotable(const AllocaInst *AI); 41 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
ASanStackFrameLayout.h | 20 class AllocaInst; 38 AllocaInst *AI; // The actual AllocaInst.
|
/external/llvm/include/llvm/Transforms/Scalar/ |
SROA.h | 66 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16>> Worklist; 81 SetVector<AllocaInst *, SmallVector<AllocaInst *, 16>> PostPromotionWorklist; 84 std::vector<AllocaInst *> PromotableAllocas; 115 bool presplitLoadsAndStores(AllocaInst &AI, sroa::AllocaSlices &AS); 116 AllocaInst *rewritePartition(AllocaInst &AI, sroa::AllocaSlices &AS, 118 bool splitAlloca(AllocaInst &AI, sroa::AllocaSlices &AS); 119 bool runOnAlloca(AllocaInst &AI) [all...] |
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
DemoteRegToStack.cpp | 13 // AllocaInst inserted. After this function is called on an instruction, we are 32 AllocaInst* llvm::DemoteRegToStack(Instruction &I, bool VolatileLoads, 40 AllocaInst *Slot; 42 Slot = new AllocaInst(I.getType(), 0, 46 Slot = new AllocaInst(I.getType(), 0, I.getName()+".reg2mem", 111 AllocaInst* llvm::DemotePHIToStack(PHINode *P, Instruction *AllocaPoint) { 118 AllocaInst *Slot; 120 Slot = new AllocaInst(P->getType(), 0, 124 Slot = new AllocaInst(P->getType(), 0, P->getName()+".reg2mem",
|
Mem2Reg.cpp | 58 std::vector<AllocaInst*> Allocas; 72 if (AllocaInst *AI = dyn_cast<AllocaInst>(I)) // Is it an alloca?
|
/external/llvm/include/llvm/CodeGen/ |
StackProtector.h | 48 typedef ValueMap<const AllocaInst *, SSPLayoutKind> SSPLayoutMap; 65 /// AllocaInst triggers a stack protector. 128 SSPLayoutKind getSSPLayout(const AllocaInst *AI) const; 133 void adjustForColoring(const AllocaInst *From, const AllocaInst *To);
|
/external/llvm/lib/CodeGen/ |
SafeStackColoring.h | 20 class AllocaInst; 74 ArrayRef<AllocaInst *> Allocas; 76 DenseMap<AllocaInst *, unsigned> AllocaNumbering; 103 StackColoring(Function &F, ArrayRef<AllocaInst *> Allocas) 112 const LiveRange &getLiveRange(AllocaInst *AI);
|
SafeStack.cpp | 135 AllocaInst *StackGuardSlot, Value *StackGuard); 140 void findInsts(Function &F, SmallVectorImpl<AllocaInst *> &StaticAllocas, 141 SmallVectorImpl<AllocaInst *> &DynamicAllocas, 148 uint64_t getStaticAllocaAllocationSize(const AllocaInst* AI); 157 ArrayRef<AllocaInst *> StaticAllocas, 161 AllocaInst *StackGuardSlot); 168 AllocaInst * 177 AllocaInst *DynamicTop, 178 ArrayRef<AllocaInst *> DynamicAllocas); 213 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) [all...] |
GCRootLowering.cpp | 138 if (isa<AllocaInst>(I) || isa<GetElementPtrInst>(I) || isa<StoreInst>(I) || 152 static bool InsertRootInitializers(Function &F, AllocaInst **Roots, 156 while (isa<AllocaInst>(IP)) 160 SmallPtrSet<AllocaInst *, 16> InitedRoots; 163 if (AllocaInst *AI = 164 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts())) 170 for (AllocaInst **I = Roots, **E = Roots + Count; I != E; ++I) 205 SmallVector<AllocaInst *, 32> Roots; 236 cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts()));
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXAllocaHoisting.cpp | 50 AllocaInst *allocaInst = dyn_cast<AllocaInst>(BI++); 51 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { 52 allocaInst->moveBefore(firstTerminatorInst);
|
/external/llvm/lib/Transforms/Utils/ |
DemoteRegToStack.cpp | 24 AllocaInst *llvm::DemoteRegToStack(Instruction &I, bool VolatileLoads, 32 AllocaInst *Slot; 34 Slot = new AllocaInst(I.getType(), nullptr, 38 Slot = new AllocaInst(I.getType(), nullptr, I.getName() + ".reg2mem", 107 AllocaInst *llvm::DemotePHIToStack(PHINode *P, Instruction *AllocaPoint) { 114 AllocaInst *Slot; 116 Slot = new AllocaInst(P->getType(), nullptr, 120 Slot = new AllocaInst(P->getType(), nullptr, P->getName() + ".reg2mem",
|
Mem2Reg.cpp | 32 std::vector<AllocaInst *> Allocas; 42 if (AllocaInst *AI = dyn_cast<AllocaInst>(I)) // Is it an alloca?
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/ |
NVPTXAllocaHoisting.cpp | 48 AllocaInst *allocaInst = dyn_cast<AllocaInst>(BI++); 49 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { 50 allocaInst->moveBefore(firstTerminatorInst);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
DemoteRegToStack.cpp | 24 AllocaInst *llvm::DemoteRegToStack(Instruction &I, bool VolatileLoads, 35 AllocaInst *Slot; 37 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, 40 Slot = new AllocaInst(I.getType(), DL.getAllocaAddrSpace(), nullptr, 109 AllocaInst *llvm::DemotePHIToStack(PHINode *P, Instruction *AllocaPoint) { 118 AllocaInst *Slot; 120 Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr, 124 Slot = new AllocaInst(P->getType(), DL.getAllocaAddrSpace(), nullptr,
|
Mem2Reg.cpp | 37 std::vector<AllocaInst *> Allocas; 47 if (AllocaInst *AI = dyn_cast<AllocaInst>(I)) // Is it an alloca?
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
SafeStackColoring.h | 89 ArrayRef<AllocaInst *> Allocas; 91 DenseMap<AllocaInst *, unsigned> AllocaNumbering; 119 StackColoring(Function &F, ArrayRef<AllocaInst *> Allocas) 128 const LiveRange &getLiveRange(AllocaInst *AI);
|
SafeStack.cpp | 151 AllocaInst *StackGuardSlot, Value *StackGuard); 156 void findInsts(Function &F, SmallVectorImpl<AllocaInst *> &StaticAllocas, 157 SmallVectorImpl<AllocaInst *> &DynamicAllocas, 164 uint64_t getStaticAllocaAllocationSize(const AllocaInst* AI); 173 ArrayRef<AllocaInst *> StaticAllocas, 177 AllocaInst *StackGuardSlot); 184 AllocaInst * 193 AllocaInst *DynamicTop, 194 ArrayRef<AllocaInst *> DynamicAllocas); 220 uint64_t SafeStack::getStaticAllocaAllocationSize(const AllocaInst* AI) [all...] |
/external/swiftshader/third_party/LLVM/unittests/Support/ |
IRBuilderTest.cpp | 43 AllocaInst *Var1 = Builder.CreateAlloca(Builder.getInt8Ty()); 44 AllocaInst *Var2 = Builder.CreateAlloca(Builder.getInt32Ty()); 45 AllocaInst *Var3 = Builder.CreateAlloca(Builder.getInt8Ty(),
|
/external/bcc/src/cc/frontends/b/ |
codegen_llvm.h | 29 class AllocaInst; 96 llvm::AllocaInst *make_alloca(llvm::Instruction *Inst, llvm::Type *Ty, 99 llvm::AllocaInst *make_alloca(llvm::BasicBlock *BB, llvm::Type *Ty, 128 llvm::AllocaInst *retval_; 129 llvm::AllocaInst *errval_;
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
GCStrategy.cpp | 49 AllocaInst **Roots, unsigned Count); 174 bool LowerIntrinsics::InsertRootInitializers(Function &F, AllocaInst **Roots, 178 while (isa<AllocaInst>(IP)) ++IP; 181 SmallPtrSet<AllocaInst*,16> InitedRoots; 184 if (AllocaInst *AI = 185 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts())) 191 for (AllocaInst **I = Roots, **E = Roots + Count; I != E; ++I) 232 if (isa<AllocaInst>(I) || isa<GetElementPtrInst>(I) || 279 SmallVector<AllocaInst*, 32> Roots; 309 Roots.push_back(cast<AllocaInst>( [all...] |