Home
last modified time | relevance | path

Searched refs:getValueOperand (Results 1 – 25 of 93) sorted by relevance

1234

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueLatticeUtils.cpp35 return Store->getValueOperand() != GV && !Store->isVolatile() && in canTrackGlobalVariableInterprocedurally()
36 Store->getValueOperand()->getType() == GV->getValueType(); in canTrackGlobalVariableInterprocedurally()
H A DLoads.cpp383 AccessedTy = SI->getValueOperand()->getType(); in isSafeToLoadUnconditionally()
506 Value *Val = SI->getValueOperand(); in getAvailableLoadStore()
572 SI->getValueOperand()->getType(), DL)) in findAvailablePtrLoadStore()
H A DMemoryLocation.cpp49 SI->getValueOperand()->getType())), in get()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp148 SI->getValueOperand()->getType())) { in runOnModule()
151 Builder.CreateStore(SI->getValueOperand(), NoOpBitcast)); in runOnModule()
H A DPointerTypeAnalysis.cpp38 NewPointeeTy = Inst->getValueOperand()->getType(); in classifyPointerType()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp139 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 DDeadStoreElimination.cpp636 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 DMergedLoadStoreMotion.cpp209 Value *Opd1 = S0->getValueOperand(); in getPHIOperand()
210 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
H A DLoopIdiomRecognize.cpp487 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 DSROA.cpp793 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 DInstCombineLoadStoreAlloca.cpp1115 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 DSPIRVEmitIntrinsics.cpp307 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 DPtrUseVisitor.h243 if (SI.getValueOperand() == U->get()) in visitStoreInst()
/llvm-project-15.0.7/polly/include/polly/Support/
H A DScopHelper.h233 llvm::Value *getValueOperand() const { in getValueOperand() function
237 return asStore()->getValueOperand(); in getValueOperand()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp261 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 DVNCoercion.cpp210 auto *StoredVal = DepSI->getValueOperand(); in analyzeLoadFromClobberingStore()
221 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedSize(); in analyzeLoadFromClobberingStore()
H A DPromoteMemoryToRegister.cpp72 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 DSLPVectorizer.cpp4316 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 DLoadStoreVectorizer.cpp867 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 DLoopVectorizationLegality.cpp802 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 DThreadSanitizer.cpp616 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 DBoundsChecking.cpp163 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp147 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 DWebAssemblyFastISel.cpp1250 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 DArgumentPromotion.cpp560 Res = HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts()
606 if (!*HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts()

1234