/external/llvm/include/llvm/Transforms/Utils/ |
PromoteMemToReg.h | 22 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.
|
Local.h | 36 class AllocaInst; 159 AllocaInst *DemoteRegToStack(Instruction &X, 166 AllocaInst *DemotePHIToStack(PHINode *P, Instruction *AllocaPoint = nullptr); 270 bool replaceDbgDeclareForAlloca(AllocaInst *AI, Value *NewAllocaAddress,
|
Cloning.h | 45 class AllocaInst; 170 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/include/llvm/CodeGen/ |
StackProtector.h | 48 typedef ValueMap<const AllocaInst *, SSPLayoutKind> SSPLayoutMap; 65 /// AllocaInst triggers a stack protector. 122 SSPLayoutKind getSSPLayout(const AllocaInst *AI) const; 123 void adjustForColoring(const AllocaInst *From, const AllocaInst *To);
|
MachineFrameInfo.h | 33 class AllocaInst; 106 const AllocaInst *Alloca; 113 bool isSS, const AllocaInst *Val) 399 const AllocaInst* getObjectAllocation(int ObjectIdx) const { 525 const AllocaInst *Alloca = nullptr); 545 int CreateVariableSizedObject(unsigned Alignment, const AllocaInst *Alloca);
|
FunctionLoweringInfo.h | 31 class AllocaInst; 78 DenseMap<const AllocaInst*, int> StaticAllocaMap;
|
/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", 110 AllocaInst *llvm::DemotePHIToStack(PHINode *P, Instruction *AllocaPoint) { 117 AllocaInst *Slot; 119 Slot = new AllocaInst(P->getType(), nullptr, 123 Slot = new AllocaInst(P->getType(), nullptr, P->getName()+".reg2mem",
|
Mem2Reg.cpp | 59 std::vector<AllocaInst*> Allocas; 73 if (AllocaInst *AI = dyn_cast<AllocaInst>(I)) // Is it an alloca?
|
PromoteMemoryToRegister.cpp | 60 bool llvm::isAllocaPromotable(const AllocaInst *AI) { 128 void AnalyzeAlloca(AllocaInst *AI) { 198 return (isa<LoadInst>(I) && isa<AllocaInst>(I->getOperand(0))) || 199 (isa<StoreInst>(I) && isa<AllocaInst>(I->getOperand(1))); 234 std::vector<AllocaInst *> Allocas; 242 DenseMap<AllocaInst *, unsigned> AllocaLookup; 281 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, 302 void DetermineInsertionPoint(AllocaInst *AI, unsigned AllocaNum, 304 void ComputeLiveInBlocks(AllocaInst *AI, AllocaInfo &Info, 315 static void removeLifetimeIntrinsicUsers(AllocaInst *AI) [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 | 102 AllocaInst *AI; 127 explicit AllocaInfo(AllocaInst *ai) 152 bool isSafeAllocaToScalarRepl(AllocaInst *AI); 165 void DoScalarReplacement(AllocaInst *AI, 166 std::vector<AllocaInst*> &WorkList); 169 void RewriteForScalarRepl(Instruction *I, AllocaInst *AI, uint64_t Offset, 170 SmallVectorImpl<AllocaInst *> &NewElts); 171 void RewriteBitCast(BitCastInst *BC, AllocaInst *AI, uint64_t Offset, 172 SmallVectorImpl<AllocaInst *> &NewElts); 173 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) &&
|
/art/compiler/jni/portable/ |
jni_compiler.h | 38 class AllocaInst;
|
/external/llvm/lib/Target/R600/ |
AMDGPUTargetTransformInfo.cpp | 107 const AllocaInst *Alloca = dyn_cast<AllocaInst>(GetUnderlyingObject(Ptr));
|
/external/llvm/lib/CodeGen/ |
GCStrategy.cpp | 49 AllocaInst **Roots, unsigned Count); 172 bool LowerIntrinsics::InsertRootInitializers(Function &F, AllocaInst **Roots, 176 while (isa<AllocaInst>(IP)) ++IP; 179 SmallPtrSet<AllocaInst*,16> InitedRoots; 182 if (AllocaInst *AI = 183 dyn_cast<AllocaInst>(SI->getOperand(1)->stripPointerCasts())) 189 for (AllocaInst **I = Roots, **E = Roots + Count; I != E; ++I) 230 if (isa<AllocaInst>(I) || isa<GetElementPtrInst>(I) || 278 SmallVector<AllocaInst*, 32> Roots; 308 Roots.push_back(cast<AllocaInst>( [all...] |
StackProtector.cpp | 57 StackProtector::getSSPLayout(const AllocaInst *AI) const { 61 void StackProtector::adjustForColoring(const AllocaInst *From, 62 const AllocaInst *To) { 217 if (AllocaInst *AI = dyn_cast<AllocaInst>(II)) { 338 AllocaInst *&AI, Value *&StackGuardVar) { 376 AllocaInst *AI = nullptr; // Place on stack that stores the stack guard.
|
StackColoring.cpp | 259 const AllocaInst *Allocation = MFI->getObjectAllocation(Slot); 473 DenseMap<const AllocaInst*, const AllocaInst*> Allocas; 475 const AllocaInst *From = MFI->getObjectAllocation(SI.first); 476 const AllocaInst *To = MFI->getObjectAllocation(SI.second); 486 Instruction *Inst = const_cast<AllocaInst *>(To); 500 const_cast<AllocaInst *>(From)->replaceAllUsesWith(Inst); 522 const AllocaInst *AI = dyn_cast_or_null<AllocaInst>(MMO->getValue());
|
ShadowStackGC.cpp | 54 std::vector<std::pair<CallInst*,AllocaInst*> > Roots; 329 SmallVector<std::pair<CallInst*, AllocaInst*>, 16> MetaRoots; 336 std::pair<CallInst*, AllocaInst*> Pair = std::make_pair( 337 CI, cast<AllocaInst>(CI->getArgOperand(0)->stripPointerCasts())); 397 while (isa<AllocaInst>(IP)) ++IP; 412 AllocaInst *OriginalAlloca = Roots[I].second;
|
SjLjEHPrepare.cpp | 59 AllocaInst *FuncCtx; 196 FuncCtx = new AllocaInst(FunctionContextTy, nullptr, Align, "fn_context", 244 while (isa<AllocaInst>(AfterAllocaInsPt) && 245 isa<ConstantInt>(cast<AllocaInst>(AfterAllocaInsPt)->getArraySize())) 261 // Set the operand of the instructions back to the AllocaInst. 272 // Set the operand of the cast instruction back to the AllocaInst. 304 if (AllocaInst *AI = dyn_cast<AllocaInst>(Inst)) 485 } else if (!isa<AllocaInst>(I)) {
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
FunctionLoweringInfo.cpp | 78 if (const AllocaInst *AI = dyn_cast<AllocaInst>(I)) { 103 if (const AllocaInst *AI = dyn_cast<AllocaInst>(I)) { 142 if (!isa<AllocaInst>(I) || 143 !StaticAllocaMap.count(cast<AllocaInst>(I))) 164 if (const AllocaInst *AI = dyn_cast<AllocaInst>(Address)) { 165 DenseMap<const AllocaInst *, int>::iterator SI =
|
/external/clang/lib/CodeGen/ |
CGOpenMPRuntime.h | 23 class AllocaInst;
|
/external/llvm/lib/Transforms/Instrumentation/ |
AddressSanitizer.cpp | 465 SmallVector<AllocaInst*, 16> AllocaVec; 476 AllocaInst *AI; 482 // Maps Value to an AllocaInst from which the Value is originated. 483 typedef DenseMap<Value*, AllocaInst*> AllocaForValueMapTy; 522 void visitAllocaInst(AllocaInst &AI) { 548 AllocaInst *AI = findAllocaForValue(II.getArgOperand(1)); 559 bool isInterestingAlloca(AllocaInst &AI) const { 566 uint64_t getAllocaSizeInBytes(AllocaInst *AI) const { 572 AllocaInst *findAllocaForValue(Value *V); [all...] |