/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | DeadStoreElimination.cpp | 1055 if (LoadInst *DepLoad = dyn_cast<LoadInst>(SI->getValueOperand())) { in eliminateNoopStore() 1070 Constant *StoredConstant = dyn_cast<Constant>(SI->getValueOperand()); in eliminateNoopStore() 1237 if (Earlier && isa<ConstantInt>(Earlier->getValueOperand()) && in eliminateDeadStores() 1239 Earlier->getValueOperand()->getType()) && in eliminateDeadStores() 1240 Later && isa<ConstantInt>(Later->getValueOperand()) && in eliminateDeadStores() 1242 Later->getValueOperand()->getType()) && in eliminateDeadStores() 1255 cast<ConstantInt>(Earlier->getValueOperand())->getValue(); in eliminateDeadStores() 1257 cast<ConstantInt>(Later->getValueOperand())->getValue(); in eliminateDeadStores() 1280 ConstantInt::get(Earlier->getValueOperand()->getType(), Merged), in eliminateDeadStores()
|
D | LoopIdiomRecognize.cpp | 422 if (DL->isNonIntegralPointerType(SI->getValueOperand()->getType())) in isLegalStore() 429 Value *StoredVal = SI->getValueOperand(); in isLegalStore() 482 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore() 487 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore() 615 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores() 620 unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType()); in processLoopStores() 660 Value *SecondStoredVal = SL[k]->getValueOperand(); in processLoopStores() 717 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores() 722 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores() 1003 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad() [all …]
|
D | MergedLoadStoreMotion.cpp | 213 Value *Opd1 = S0->getValueOperand(); in getPHIOperand() 214 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | ValueLatticeUtils.cpp | 35 return Store->getValueOperand() != GV && !Store->isVolatile(); in canTrackGlobalVariableInterprocedurally()
|
D | Loads.cpp | 352 AccessedTy = SI->getValueOperand()->getType(); in isSafeToLoadUnconditionally() 486 CastInst::isBitOrNoopPointerCastable(SI->getValueOperand()->getType(), in FindAvailablePtrLoadStore() 514 SI->getValueOperand()->getType(), DL)) in FindAvailablePtrLoadStore()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ValueLatticeUtils.cpp | 33 if (Store->getValueOperand() == GV || Store->isVolatile()) in canTrackGlobalVariableInterprocedurally()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 462 Value *StoredVal = SI->getValueOperand(); in isLegalStore() 523 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore() 528 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore() 656 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores() 661 unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType()); in processLoopStores() 701 Value *SecondStoredVal = SL[k]->getValueOperand(); in processLoopStores() 758 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores() 763 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores() 1064 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad() 1068 LoadInst *LI = cast<LoadInst>(SI->getValueOperand()); in processLoopStoreOfLoopLoad()
|
D | MergedLoadStoreMotion.cpp | 213 Value *Opd1 = S0->getValueOperand(); in getPHIOperand() 214 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
|
D | DeadStoreElimination.cpp | 1223 if (LoadInst *DepLoad = dyn_cast<LoadInst>(SI->getValueOperand())) { in eliminateNoopStore() 1239 Constant *StoredConstant = dyn_cast<Constant>(SI->getValueOperand()); in eliminateNoopStore() 1263 if (Earlier && isa<ConstantInt>(Earlier->getValueOperand()) && in tryToMergePartialOverlappingStores() 1264 DL.typeSizeEqualsStoreSize(Earlier->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores() 1265 Later && isa<ConstantInt>(Later->getValueOperand()) && in tryToMergePartialOverlappingStores() 1266 DL.typeSizeEqualsStoreSize(Later->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores() 1279 cast<ConstantInt>(Earlier->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores() 1280 APInt LaterValue = cast<ConstantInt>(Later->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores() 1298 return ConstantInt::get(Earlier->getValueOperand()->getType(), Merged); in tryToMergePartialOverlappingStores()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 283 uint64_t SizeInBits = DL->getTypeSizeInBits(SI->getValueOperand()->getType()); in getStoreSizeInBytes() 345 Value *StoredVal = SI->getValueOperand(); in isLegalStore() 402 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore() 520 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores() 565 Value *SecondStoredVal = SL[k]->getValueOperand(); in processLoopStores() 623 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores() 856 LoadInst *LI = cast<LoadInst>(SI->getValueOperand()); in processLoopStoreOfLoopLoad()
|
D | SROA.cpp | 743 Value *ValOp = SI.getValueOperand(); in visitStoreInst() 1080 UserTy = SI->getValueOperand()->getType(); in findCommonType() 1597 Ty = SI->getValueOperand()->getType(); in getAdjustedAlignment() 1761 Type *STy = SI->getValueOperand()->getType(); in isVectorPromotionViableForSlice() 1806 CheckCandidateType(SI->getValueOperand()->getType()); in isVectorPromotionViable() 1928 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice() 2485 V = insertInteger(DL, IRB, Old, SI.getValueOperand(), Offset, "insert"); in rewriteIntegerStore() 2500 Value *V = SI.getValueOperand(); in visitStoreInst() 3126 Value *V = SI.getValueOperand(); in visitStoreInst() 3379 if (auto *LI = dyn_cast<LoadInst>(SI->getValueOperand())) in presplitLoadsAndStores() [all …]
|
D | MergedLoadStoreMotion.cpp | 404 Value *Opd1 = S0->getValueOperand(); in getPHIOperand() 405 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
|
/external/llvm-project/llvm/lib/Transforms/Vectorize/ |
D | VPlanTransforms.cpp | 66 Plan->getOrAddVPValue(Store->getValueOperand()), nullptr /*Mask*/); in VPInstructionsToVPRecipes()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 86 return DL.getABITypeAlignment(SI->getValueOperand()->getType()); in getAlignment() 544 Type *Ty = SI->getValueOperand()->getType(); in collectInstructions() 670 StoreTy = cast<StoreInst>(V)->getValueOperand()->getType(); in vectorizeStoreChain() 782 Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(), in vectorizeStoreChain() 795 Value *Extract = Store->getValueOperand(); in vectorizeStoreChain()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/ |
D | LoadStoreVectorizer.cpp | 145 return DL.getABITypeAlignment(SI->getValueOperand()->getType()); in getAlignment() 805 Type *Ty = SI->getValueOperand()->getType(); in collectInstructions() 947 StoreTy = cast<StoreInst>(I)->getValueOperand()->getType(); in vectorizeStoreChain() 1054 Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(), in vectorizeStoreChain() 1067 Value *Extract = Store->getValueOperand(); in vectorizeStoreChain()
|
/external/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 117 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize() 272 if (SI->getValueOperand()->getType()->isFloatingPointTy()) { in runOnFunction() 276 assert(SI->getValueOperand()->getType()->isIntegerTy() && in runOnFunction() 442 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), in convertAtomicStoreToIntegerType() 444 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() 470 SI->getValueOperand(), SI->getOrdering()); in expandAtomicStore() 1333 I, Size, Align, I->getPointerOperand(), I->getValueOperand(), nullptr, in expandAtomicStoreToLibcall()
|
/external/llvm/include/llvm/Analysis/ |
D | PtrUseVisitor.h | 234 if (SI.getValueOperand() == U->get()) in visitStoreInst()
|
/external/llvm-project/polly/include/polly/Support/ |
D | ScopHelper.h | 228 llvm::Value *getValueOperand() const { in getValueOperand() function 232 return asStore()->getValueOperand(); in getValueOperand()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | PtrUseVisitor.h | 251 if (SI.getValueOperand() == U->get()) in visitStoreInst()
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | PtrUseVisitor.h | 250 if (SI.getValueOperand() == U->get()) in visitStoreInst()
|
/external/llvm/lib/Analysis/ |
D | MemoryLocation.cpp | 36 DL.getTypeStoreSize(SI->getValueOperand()->getType()), in get()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 411 isa<VectorType>(SI->getValueOperand()->getType())) in canVectorizeInst() 545 if (SI->getValueOperand()->getType() == AllocaTy || in tryPromoteAllocaToVector() 546 SI->getValueOperand()->getType()->isVectorTy()) in tryPromoteAllocaToVector() 557 Value *Elt = SI->getValueOperand(); in tryPromoteAllocaToVector()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 142 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize() 295 if (SI->getValueOperand()->getType()->isFloatingPointTy()) { in runOnFunction() 299 assert(SI->getValueOperand()->getType()->isIntegerTy() && in runOnFunction() 463 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), in convertAtomicStoreToIntegerType() 465 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() 491 SI->getValueOperand(), SI->getOrdering()); in expandAtomicStore() 1489 I, Size, Align, I->getPointerOperand(), I->getValueOperand(), nullptr, in expandAtomicStoreToLibcall()
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | AtomicExpandPass.cpp | 142 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize() 263 if (SI->getValueOperand()->getType()->isFloatingPointTy()) { in runOnFunction() 267 assert(SI->getValueOperand()->getType()->isIntegerTy() && in runOnFunction() 431 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), in convertAtomicStoreToIntegerType() 433 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() 459 SI->getValueOperand(), SI->getOrdering()); in expandAtomicStore() 1521 I, Size, I->getAlign(), I->getPointerOperand(), I->getValueOperand(), in expandAtomicStoreToLibcall()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 351 isa<VectorType>(SI->getValueOperand()->getType())) in canVectorizeInst() 443 if (SI->getValueOperand()->getType() == AT) in tryPromoteAllocaToVector() 452 SI->getValueOperand(), in tryPromoteAllocaToVector()
|