/external/llvm/include/llvm/Transforms/Utils/ |
PromoteMemToReg.h | 22 class AllocaInst; 33 bool isAllocaPromotable(const AllocaInst *AI, const DataLayout *DL); 44 void PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT,
|
Local.h | 36 class AllocaInst; 160 AllocaInst *DemoteRegToStack(Instruction &X, 167 AllocaInst *DemotePHIToStack(PHINode *P, Instruction *AllocaPoint = 0); 265 bool replaceDbgDeclareForAlloca(AllocaInst *AI, Value *NewAllocaAddress,
|
Cloning.h | 45 class AllocaInst; 172 SmallVector<AllocaInst*, 4> StaticAllocas;
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXAllocaHoisting.cpp | 28 AllocaInst *allocaInst = dyn_cast<AllocaInst>(BI++); 29 if (allocaInst && isa<ConstantInt>(allocaInst->getArraySize())) { 30 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(), 0, 38 Slot = new AllocaInst(I.getType(), 0, I.getName()+".reg2mem", 110 AllocaInst *llvm::DemotePHIToStack(PHINode *P, Instruction *AllocaPoint) { 117 AllocaInst *Slot; 119 Slot = new AllocaInst(P->getType(), 0, 123 Slot = new AllocaInst(P->getType(), 0, P->getName()+".reg2mem",
|
Mem2Reg.cpp | 60 std::vector<AllocaInst*> Allocas; 75 if (AllocaInst *AI = dyn_cast<AllocaInst>(I)) // Is it an alloca?
|
PromoteMemoryToRegister.cpp | 94 bool analyzeAlloca(AllocaInst &AI) { 242 return (isa<LoadInst>(I) && isa<AllocaInst>(I->getOperand(0))) || 243 (isa<StoreInst>(I) && isa<AllocaInst>(I->getOperand(1))); 278 std::vector<AllocaInst *> Allocas; 287 DenseMap<AllocaInst *, unsigned> AllocaLookup; 326 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, 347 void DetermineInsertionPoint(AllocaInst *AI, unsigned AllocaNum, 349 void ComputeLiveInBlocks(AllocaInst *AI, AllocaInfo &Info, 365 static void removeDeadInstructions(AllocaInst *AI, 406 static bool rewriteSingleStoreAlloca(AllocaInst *AI, AllocaInfo &Info [all...] |
LowerInvoke.cpp | 96 AllocaInst *InvokeNum, AllocaInst *StackPtr, 199 AllocaInst *InvokeNum, 200 AllocaInst *StackPtr, 285 while (isa<AllocaInst>(AfterAllocaInsertPt) && 286 isa<ConstantInt>(cast<AllocaInst>(AfterAllocaInsertPt)->getArraySize())) 299 // Set the operand of the instructions back to the AllocaInst. 309 // Set the operand of the cast instruction back to the AllocaInst. 333 if (AllocaInst *AI = dyn_cast<AllocaInst>(Inst) [all...] |
/external/llvm/lib/Analysis/ |
CodeMetrics.cpp | 59 if (const AllocaInst *AI = dyn_cast<AllocaInst>(II)) {
|
Loads.cpp | 67 if (const AllocaInst *AI = dyn_cast<AllocaInst>(Base)) { 188 if ((isa<AllocaInst>(Ptr) || isa<GlobalVariable>(Ptr)) && 189 (isa<AllocaInst>(SI->getOperand(1)) ||
|
/external/llvm/lib/Transforms/Scalar/ |
ScalarReplAggregates.cpp | 101 AllocaInst *AI; 126 explicit AllocaInfo(AllocaInst *ai) 151 bool isSafeAllocaToScalarRepl(AllocaInst *AI); 164 void DoScalarReplacement(AllocaInst *AI, 165 std::vector<AllocaInst*> &WorkList); 168 void RewriteForScalarRepl(Instruction *I, AllocaInst *AI, uint64_t Offset, 169 SmallVectorImpl<AllocaInst *> &NewElts); 170 void RewriteBitCast(BitCastInst *BC, AllocaInst *AI, uint64_t Offset, 171 SmallVectorImpl<AllocaInst *> &NewElts); 172 void RewriteGEP(GetElementPtrInst *GEPI, AllocaInst *AI, uint64_t Offset [all...] |
Reg2Mem.cpp | 83 while (isa<AllocaInst>(I)) ++I; 97 if (!(isa<AllocaInst>(iib) && iib->getParent() == BBEntry) &&
|
SROA.cpp | 198 AllocaSlices(const DataLayout &DL, AllocaInst &AI); 258 AllocaInst &AI; 328 SliceBuilder(const DataLayout &DL, AllocaInst &AI, AllocaSlices &S) 656 AllocaSlices::AllocaSlices(const DataLayout &DL, AllocaInst &AI) 729 AllocaInst &AI; 737 AllocaInst &AI, DIBuilder &DIB) [all...] |
/art/compiler/jni/portable/ |
jni_compiler.h | 38 class AllocaInst;
|
/external/llvm/lib/CodeGen/ |
GCStrategy.cpp | 50 AllocaInst **Roots, unsigned Count); 181 bool LowerIntrinsics::InsertRootInitializers(Function &F, AllocaInst **Roots, 185 while (isa<AllocaInst>(IP)) ++IP; 188 SmallPtrSet<AllocaInst*,16> InitedRoots; 191 if (AllocaInst *AI = 192 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts())) 198 for (AllocaInst **I = Roots, **E = Roots + Count; I != E; ++I) 239 if (isa<AllocaInst>(I) || isa<GetElementPtrInst>(I) || 286 SmallVector<AllocaInst*, 32> Roots; 316 Roots.push_back(cast<AllocaInst>( [all...] |
StackProtector.cpp | 235 if (AllocaInst *AI = dyn_cast<AllocaInst>(II)) { 278 AllocaInst *&AI, Value *&StackGuardVar) { 299 AI = new AllocaInst(PtrTy, "StackGuardSlot", InsPt); 317 AllocaInst *AI = 0; // Place on stack that stores the stack guard.
|
ShadowStackGC.cpp | 53 std::vector<std::pair<CallInst*,AllocaInst*> > Roots; 328 SmallVector<std::pair<CallInst*, AllocaInst*>, 16> MetaRoots; 335 std::pair<CallInst*, AllocaInst*> Pair = std::make_pair( 336 CI, cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); 396 while (isa<AllocaInst>(IP)) ++IP; 411 AllocaInst *OriginalAlloca = Roots[I].second;
|
StackColoring.cpp | 271 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot); 499 DenseMap<const AllocaInst*, const AllocaInst*> Allocas; 502 const AllocaInst *From = MFI->getObjectAllocation(it->first); 503 const AllocaInst *To = MFI->getObjectAllocation(it->second); 537 if (!V || !isa<AllocaInst>(V)) { 543 const AllocaInst *AI= cast<AllocaInst>(V);
|
SjLjEHPrepare.cpp | 58 AllocaInst *FuncCtx; 197 new AllocaInst(FunctionContextTy, 0, Align, "fn_context", EntryBB->begin()); 244 while (isa<AllocaInst>(AfterAllocaInsPt) && 245 isa<ConstantInt>(cast<AllocaInst>(AfterAllocaInsPt)->getArraySize())) 261 // Set the operand of the instructions back to the AllocaInst. 273 // Set the operand of the cast instruction back to the AllocaInst. 304 if (AllocaInst *AI = dyn_cast<AllocaInst>(Inst)) 484 } else if (!isa<AllocaInst>(I)) {
|
/external/llvm/include/llvm/CodeGen/ |
MachineFrameInfo.h | 33 class AllocaInst; 111 const AllocaInst *Alloca; 118 bool isSS, bool NSP, const AllocaInst *Val) 377 const AllocaInst* getObjectAllocation(int ObjectIdx) const { 504 bool MayNeedSP = false, const AllocaInst *Alloca = 0);
|
FunctionLoweringInfo.h | 32 class AllocaInst; 77 DenseMap<const AllocaInst*, int> StaticAllocaMap;
|
/external/llvm/unittests/IR/ |
IRBuilderTest.cpp | 50 AllocaInst *Var1 = Builder.CreateAlloca(Builder.getInt8Ty()); 51 AllocaInst *Var2 = Builder.CreateAlloca(Builder.getInt32Ty()); 52 AllocaInst *Var3 = Builder.CreateAlloca(Builder.getInt8Ty(),
|
/external/llvm/lib/Transforms/Instrumentation/ |
AddressSanitizer.cpp | 394 SmallVector<AllocaInst*, 16> AllocaVec; 410 // Maps Value to an AllocaInst from which the Value is originated. 411 typedef DenseMap<Value*, AllocaInst*> AllocaForValueMapTy; 452 void visitAllocaInst(AllocaInst &AI) { 480 AllocaInst *AI = findAllocaForValue(II.getArgOperand(1)); 491 bool isInterestingAlloca(AllocaInst &AI) { 501 uint64_t getAllocaSizeInBytes(AllocaInst *AI) { 510 uint64_t getAlignedAllocaSize(AllocaInst *AI) { 515 AllocaInst *findAllocaForValue(Value *V); 516 void poisonRedZones(const ArrayRef<AllocaInst*> &AllocaVec, IRBuilder<> IRB [all...] |
/external/llvm/lib/Transforms/IPO/ |
Inliner.cpp | 72 typedef DenseMap<ArrayType*, std::vector<AllocaInst*> > 152 SmallPtrSet<AllocaInst*, 16> UsedAllocas; 173 AllocaInst *AI = IFI.StaticAllocas[AllocaNo]; 183 std::vector<AllocaInst*> &AllocasForType = InlinedArrayAllocas[ATy]; 192 AllocaInst *AvailableAlloca = AllocasForType[i];
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 77 if (const AllocaInst *AI = dyn_cast<AllocaInst>(I)) 106 if (!isa<AllocaInst>(I) || 107 !StaticAllocaMap.count(cast<AllocaInst>(I))) 128 if (const AllocaInst *AI = dyn_cast<AllocaInst>(Address)) { 129 DenseMap<const AllocaInst *, int>::iterator SI =
|