/external/llvm/lib/Transforms/Scalar/ |
MergedLoadStoreMotion.cpp | 148 StoreInst *canSinkFromBlock(BasicBlock *BB, StoreInst *SI); 149 PHINode *getPHIOperand(BasicBlock *BB, StoreInst *S0, StoreInst *S1); 152 bool sinkStore(BasicBlock *BB, StoreInst *SinkCand, StoreInst *ElseInst); 410 StoreInst *MergedLoadStoreMotion::canSinkFromBlock(BasicBlock *BB1, 411 StoreInst *Store0) { 418 if (!isa<StoreInst>(Inst)) 421 StoreInst *Store1 = cast<StoreInst>(Inst) [all...] |
LowerAtomic.cpp | 107 static bool LowerStoreInst(StoreInst *SI) { 133 } else if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
|
LoopLoadElimination.cpp | 57 StoreInst *Store; 59 StoreToLoadForwardingCandidate(LoadInst *Load, StoreInst *Store) 159 auto *Store = dyn_cast<StoreInst>(Source); 293 StoreInst *FirstStore = 308 if (auto *S = dyn_cast<StoreInst>(I))
|
MemCpyOptimizer.cpp | 169 if (!isa<StoreInst>(SI)) 217 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) 223 void addStore(int64_t OffsetFromFirst, StoreInst *SI) { 335 bool processStore(StoreInst *SI, BasicBlock::iterator &BBI); 384 if (!isa<StoreInst>(BI) && !isa<MemSetInst>(BI)) { 393 if (StoreInst *NextStore = dyn_cast<StoreInst>(BI)) { 485 bool MemCpyOpt::processStore(StoreInst *SI, BasicBlock::iterator &BBI) { [all...] |
DeadStoreElimination.cpp | 163 if (isa<StoreInst>(I)) 204 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) 249 if (StoreInst *SI = dyn_cast<StoreInst>(I)) 282 if (isa<StoreInst>(I)) 302 if (StoreInst *SI = dyn_cast<StoreInst>(I)) 505 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) [all...] |
LoopIdiomRecognize.cpp | 110 typedef SmallVector<StoreInst *, 8> StoreList; 121 bool isLegalStore(StoreInst *SI); 122 bool processLoopStore(StoreInst *SI, const SCEV *BECount); 129 bool processLoopStoreOfLoopLoad(StoreInst *SI, unsigned StoreSize, 247 static unsigned getStoreSizeInBytes(StoreInst *SI, const DataLayout *DL) { 300 bool LoopIdiomRecognize::isLegalStore(StoreInst *SI) { 331 StoreInst *SI = dyn_cast<StoreInst>(&I); 384 bool LoopIdiomRecognize::processLoopStore(StoreInst *SI, const SCEV *BECount) { 612 StoreInst *SI, unsigned StoreSize, const SCEVAddRecExpr *StoreEv [all...] |
ScalarReplAggregates.cpp | 183 void RewriteStoreUserOfWholeAlloca(StoreInst *SI, AllocaInst *AI, 492 if (StoreInst *SI = dyn_cast<StoreInst>(UI)) { 646 if (StoreInst *SI = dyn_cast<StoreInst>(User)) { 735 StoreInst *NewStore = Builder.CreateStore(SrcVal, DstPtr); [all...] |
/external/llvm/unittests/Analysis/ |
MixedTBAATest.cpp | 45 auto *Store1 = new StoreInst(Value, Addr, BB); 46 auto *Store2 = new StoreInst(Value, Addr, BB);
|
/external/llvm/include/llvm/Analysis/ |
MemoryLocation.h | 26 class StoreInst; 66 static MemoryLocation get(const StoreInst *SI); 73 else if (auto *I = dyn_cast<StoreInst>(Inst))
|
/external/llvm/lib/Analysis/ |
Delinearization.cpp | 76 else if (StoreInst *Store = dyn_cast<StoreInst>(&Inst)) 89 if (!isa<StoreInst>(Inst) && !isa<LoadInst>(Inst) &&
|
Loads.cpp | 142 } else if (StoreInst *SI = dyn_cast<StoreInst>(BBI)) { 239 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
|
/external/llvm/lib/CodeGen/ |
InterleavedAccessPass.cpp | 87 bool lowerInterleavedStore(StoreInst *SI, 236 StoreInst *SI, SmallVector<Instruction *, 32> &DeadInsts) { 278 if (StoreInst *SI = dyn_cast<StoreInst>(&I))
|
GCRootLowering.cpp | 138 if (isa<AllocaInst>(I) || isa<GetElementPtrInst>(I) || isa<StoreInst>(I) || 162 if (StoreInst *SI = dyn_cast<StoreInst>(IP)) 172 StoreInst *SI = new StoreInst( 218 new StoreInst(CI->getArgOperand(0), CI->getArgOperand(2), CI);
|
AtomicExpandPass.cpp | 57 StoreInst *convertAtomicStoreToIntegerType(StoreInst *SI); 58 bool expandAtomicStore(StoreInst *SI); 96 auto SI = dyn_cast<StoreInst>(I); 293 StoreInst *AtomicExpand::convertAtomicStoreToIntegerType(StoreInst *SI) { 305 StoreInst *NewSI = Builder.CreateStore(NewVal, NewAddr); 314 bool AtomicExpand::expandAtomicStore(StoreInst *SI) {
|
/external/llvm/lib/IR/ |
Instruction.cpp | 288 if (const StoreInst *SI = dyn_cast<StoreInst>(I1)) 289 return SI->isVolatile() == cast<StoreInst>(I2)->isVolatile() && 290 (SI->getAlignment() == cast<StoreInst>(I2)->getAlignment() || 292 SI->getOrdering() == cast<StoreInst>(I2)->getOrdering() && 293 SI->getSynchScope() == cast<StoreInst>(I2)->getSynchScope(); 430 return !cast<StoreInst>(this)->isUnordered(); 467 return cast<StoreInst>(this)->getOrdering() != NotAtomic;
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineLoadStoreAlloca.cpp | 391 static StoreInst *combineStoreToNewValue(InstCombiner &IC, StoreInst &SI, Value *V) { 397 StoreInst *NewStore = IC.Builder->CreateAlignedStore( 476 auto *SI = dyn_cast<StoreInst>(U); 484 auto *SI = cast<StoreInst>(*UI++); 821 new StoreInst(UndefValue::get(LI.getType()), [all...] |
/external/llvm/lib/Transforms/Utils/ |
PromoteMemoryToRegister.cpp | 63 } else if (const StoreInst *SI = dyn_cast<StoreInst>(U)) { 100 StoreInst *OnlyStore; 128 if (StoreInst *SI = dyn_cast<StoreInst>(User)) { 190 (isa<StoreInst>(I) && isa<AllocaInst>(I->getOperand(1))); 311 if (isa<LoadInst>(I) || isa<StoreInst>(I)) 340 StoreInst *OnlyStore = Info.OnlyStore; 445 typedef SmallVector<std::pair<unsigned, StoreInst *>, 64> StoresByIndexTy; 449 if (StoreInst *SI = dyn_cast<StoreInst>(U) [all...] |
SSAUpdater.cpp | 333 SomeVal = cast<StoreInst>(Insts[0])->getOperand(0); 369 if (StoreInst *SI = dyn_cast<StoreInst>(User)) { 382 if (isa<StoreInst>(I)) { 421 if (StoreInst *SI = dyn_cast<StoreInst>(&I)) {
|
DemoteRegToStack.cpp | 100 new StoreInst(&I, Slot, &*InsertPt); 130 new StoreInst(P->getIncomingValue(i), Slot,
|
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCContract.cpp | 195 static StoreInst *findSafeStoreForStoreStrongContraction(LoadInst *Load, 199 StoreInst *Store = nullptr; 253 Store = dyn_cast<StoreInst>(Inst); 281 findRetainForStoreStrongContraction(Value *New, StoreInst *Store, 346 StoreInst *Store = 470 new StoreInst(Null, CI->getArgOperand(0), CI);
|
/external/llvm/lib/Transforms/Instrumentation/ |
ThreadSanitizer.cpp | 287 if (StoreInst *Store = dyn_cast<StoreInst>(I)) { 302 Value *Addr = isa<StoreInst>(*I) 303 ? cast<StoreInst>(I)->getPointerOperand() 321 if (StoreInst *SI = dyn_cast<StoreInst>(I)) 353 else if (isa<LoadInst>(Inst) || isa<StoreInst>(Inst)) 409 bool IsWrite = isa<StoreInst>(*I); 411 ? cast<StoreInst>(I)->getPointerOperand() 418 Value *StoredValue = cast<StoreInst>(I)->getValueOperand() [all...] |
BoundsChecking.cpp | 182 if (isa<LoadInst>(I) || isa<StoreInst>(I) || isa<AtomicCmpXchgInst>(I) || 195 } else if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
|
/external/llvm/lib/Target/NVPTX/ |
NVPTXLowerAggrCopies.cpp | 259 if (StoreInst *SI = dyn_cast<StoreInst>(LI->user_back())) { 286 StoreInst *SI = dyn_cast<StoreInst>(*LI->user_begin());
|
NVPTXLowerAlloca.cpp | 92 auto SI = dyn_cast<StoreInst>(AllocaUse.getUser());
|
/external/llvm/lib/Transforms/Vectorize/ |
SLPVectorizer.cpp | 321 StoreInst *SI = cast<StoreInst>(UserInst); 338 if (StoreInst *SI = dyn_cast<StoreInst>(I)) 349 if (StoreInst *SI = dyn_cast<StoreInst>(I)) 362 typedef SmallVector<StoreInst *, 8> StoreList; [all...] |