| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ValueLatticeUtils.cpp | 35 return Store->getValueOperand() != GV && !Store->isVolatile() && in canTrackGlobalVariableInterprocedurally() 36 Store->getValueOperand()->getType() == GV->getValueType(); in canTrackGlobalVariableInterprocedurally()
|
| H A D | Loads.cpp | 383 AccessedTy = SI->getValueOperand()->getType(); in isSafeToLoadUnconditionally() 506 Value *Val = SI->getValueOperand(); in getAvailableLoadStore() 572 SI->getValueOperand()->getType(), DL)) in findAvailablePtrLoadStore()
|
| H A D | MemoryLocation.cpp | 49 SI->getValueOperand()->getType())), in get()
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/ |
| H A D | DXILPrepare.cpp | 148 SI->getValueOperand()->getType())) { in runOnModule() 151 Builder.CreateStore(SI->getValueOperand(), NoOpBitcast)); in runOnModule()
|
| H A D | PointerTypeAnalysis.cpp | 38 NewPointeeTy = Inst->getValueOperand()->getType(); in classifyPointerType()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPURewriteOutArguments.cpp | 139 if (StoredType && StoredType != SI->getValueOperand()->getType()) in getStoredType() 141 StoredType = SI->getValueOperand()->getType(); in getStoredType() 276 Value *ReplVal = Store.second->getValueOperand(); in runOnFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Scalar/ |
| H A D | DeadStoreElimination.cpp | 636 if (DeadI && isa<ConstantInt>(DeadI->getValueOperand()) && in tryToMergePartialOverlappingStores() 637 DL.typeSizeEqualsStoreSize(DeadI->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores() 638 KillingI && isa<ConstantInt>(KillingI->getValueOperand()) && in tryToMergePartialOverlappingStores() 639 DL.typeSizeEqualsStoreSize(KillingI->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores() 651 APInt DeadValue = cast<ConstantInt>(DeadI->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores() 653 cast<ConstantInt>(KillingI->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores() 671 return ConstantInt::get(DeadI->getValueOperand()->getType(), Merged); in tryToMergePartialOverlappingStores() 1606 if (SI->getValueOperand()->getType()->isPointerTy()) { in deleteDeadInstruction() 1607 const Value *UO = getUnderlyingObject(SI->getValueOperand()); in deleteDeadInstruction() 1932 Value *StoredByte = isBytewiseValue(SI->getValueOperand(), DL); in eliminateRedundantStoresOfExistingValues()
|
| H A D | MergedLoadStoreMotion.cpp | 209 Value *Opd1 = S0->getValueOperand(); in getPHIOperand() 210 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
|
| H A D | LoopIdiomRecognize.cpp | 487 Value *StoredVal = SI->getValueOperand(); in isLegalStore() 548 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore() 553 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore() 669 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores() 674 unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType()); in processLoopStores() 714 Value *SecondStoredVal = SL[k]->getValueOperand(); in processLoopStores() 768 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores() 773 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores() 1258 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad() 1261 LoadInst *LI = cast<LoadInst>(SI->getValueOperand()); in processLoopStoreOfLoopLoad()
|
| H A D | SROA.cpp | 793 Value *ValOp = SI.getValueOperand(); in visitStoreInst() 1156 UserTy = SI->getValueOperand()->getType(); in findCommonType() 1838 Type *STy = SI->getValueOperand()->getType(); in isVectorPromotionViableForSlice() 1895 CheckCandidateType(SI->getValueOperand()->getType()); in isVectorPromotionViable() 2032 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice() 2652 Value *V = SI.getValueOperand(); in visitStoreInst() 2718 NewSI->getValueOperand()->getType() == NewAllocaTy && in visitStoreInst() 3446 Value *V = SI.getValueOperand(); in visitStoreInst() 3895 auto *LI = cast<LoadInst>(SI->getValueOperand()); in presplitLoadsAndStores() 3931 auto *LI = cast<LoadInst>(SI->getValueOperand()); in presplitLoadsAndStores() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineLoadStoreAlloca.cpp | 1115 Value *V = SI.getValueOperand(); in combineStoreToValueType() 1149 Value *V = SI.getValueOperand(); in unpackStoreToAggregate() 1286 if (!match(SI.getValueOperand(), m_Load(m_BitCast(m_Value(LoadAddr))))) in removeBitcastsFromLoadStoreOnMinMax() 1288 auto *LI = cast<LoadInst>(SI.getValueOperand()); in removeBitcastsFromLoadStoreOnMinMax() 1397 PrevSI->getValueOperand()->getType() == in visitStoreInst() 1398 SI.getValueOperand()->getType()) { in visitStoreInst()
|
| /llvm-project-15.0.7/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVEmitIntrinsics.cpp | 307 Intrinsic::spv_store, {I.getValueOperand()->getType(), PtrOp->getType()}, in visitStoreInst() 308 {I.getValueOperand(), PtrOp, IRB->getInt16(Flags), in visitStoreInst() 431 Type *ElTy = SI->getValueOperand()->getType(); in runOnFunction()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | PtrUseVisitor.h | 243 if (SI.getValueOperand() == U->get()) in visitStoreInst()
|
| /llvm-project-15.0.7/polly/include/polly/Support/ |
| H A D | ScopHelper.h | 233 llvm::Value *getValueOperand() const { in getValueOperand() function 237 return asStore()->getValueOperand(); in getValueOperand()
|
| /llvm-project-15.0.7/llvm/unittests/Frontend/ |
| H A D | OpenMPIRBuilderTest.cpp | 261 return Store->getValueOperand(); in findStoredValue() 287 Value *StoredAggValue = StoreToAgg->getValueOperand(); in findStoredValueInAggregateAt() 301 StoredValue = Store->getValueOperand(); in findStoredValueInAggregateAt() 3660 EXPECT_EQ(Store1->getValueOperand(), Sel1); in TEST_F() 3676 EXPECT_EQ(Store2->getValueOperand(), ExtVal3); in TEST_F() 3704 EXPECT_EQ(Store3->getValueOperand(), ExtVal4); in TEST_F() 3726 EXPECT_EQ(Store4->getValueOperand(), ZExt1); in TEST_F() 3754 EXPECT_EQ(Store5->getValueOperand(), ExtVal7); in TEST_F() 3770 EXPECT_EQ(Store6->getValueOperand(), ZExt2); in TEST_F() 3780 EXPECT_EQ(Store7->getValueOperand(), ARWM1); in TEST_F() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | VNCoercion.cpp | 210 auto *StoredVal = DepSI->getValueOperand(); in analyzeLoadFromClobberingStore() 221 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedSize(); in analyzeLoadFromClobberingStore()
|
| H A D | PromoteMemoryToRegister.cpp | 72 if (SI->getValueOperand() == AI || in isAllocaPromotable() 73 SI->getValueOperand()->getType() != AI->getAllocatedType()) in isAllocaPromotable()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 4316 SI->getValueOperand()->getType() != in collectUserStores() 4335 Type *S0Ty = S0->getValueOperand()->getType(); in CanFormVector() 5322 *OIter = SI->getValueOperand(); in buildTree_rec() 12383 isa<UndefValue>(V2->getValueOperand())) in vectorizeStoreChains() 12403 if (isa<Constant>(V->getValueOperand()) && in vectorizeStoreChains() 12404 isa<Constant>(V2->getValueOperand())) in vectorizeStoreChains() 12406 return V->getValueOperand()->getValueID() < in vectorizeStoreChains() 12407 V2->getValueOperand()->getValueID(); in vectorizeStoreChains() 12417 isa<UndefValue>(V2->getValueOperand())) in vectorizeStoreChains() 12426 if (isa<Constant>(V1->getValueOperand()) && in vectorizeStoreChains() [all …]
|
| H A D | LoadStoreVectorizer.cpp | 867 Type *Ty = SI->getValueOperand()->getType(); in collectInstructions() 1003 StoreTy = cast<StoreInst>(I)->getValueOperand()->getType(); in vectorizeStoreChain() 1119 Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(), in vectorizeStoreChain() 1132 Value *Extract = Store->getValueOperand(); in vectorizeStoreChain()
|
| H A D | LoopVectorizationLegality.cpp | 802 Type *T = ST->getValueOperand()->getType(); in canVectorizeInstrs() 961 I->getValueOperand()->getType() == in canVectorizeMemory() 962 SI->getValueOperand()->getType(); in canVectorizeMemory()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | ThreadSanitizer.cpp | 616 Value *StoredValue = cast<StoreInst>(II.Inst)->getValueOperand(); in instrumentLoadOrStore() 747 getMemoryAccessFuncIndex(SI->getValueOperand()->getType(), Addr, DL); in instrumentAtomic() 755 IRB.CreateBitOrPointerCast(SI->getValueOperand(), Ty), in instrumentAtomic()
|
| H A D | BoundsChecking.cpp | 163 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | AtomicExpandPass.cpp | 147 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize() 273 assert(SI->getValueOperand()->getType()->isIntegerTy() && in runOnFunction() 493 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), in convertAtomicStoreToIntegerType() 495 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() 524 AtomicRMWInst::Xchg, SI->getPointerOperand(), SI->getValueOperand(), in expandAtomicStore() 1582 I, Size, I->getAlign(), I->getPointerOperand(), I->getValueOperand(), in expandAtomicStoreToLibcall()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFastISel.cpp | 1250 Store->getValueOperand()->getType()->isVectorTy()) in selectStore() 1260 switch (getSimpleType(Store->getValueOperand()->getType())) { in selectStore() 1288 Register ValueReg = getRegForValue(Store->getValueOperand()); in selectStore() 1292 ValueReg = maskI1Value(ValueReg, Store->getValueOperand()); in selectStore()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ArgumentPromotion.cpp | 560 Res = HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts() 606 if (!*HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts()
|