Home
last modified time | relevance | path

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

1234

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp200 Store0->getValueOperand()->getType(), in canSinkFromBlock()
201 Store1->getValueOperand()->getType(), in canSinkFromBlock()
214 Value *Opd1 = S0->getValueOperand(); in getPHIOperand()
215 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
265 auto Cast = Builder.CreateBitOrPointerCast(S0->getValueOperand(), in sinkStoresAndGEPs()
266 S1->getValueOperand()->getType()); in sinkStoresAndGEPs()
H A DDeadStoreElimination.cpp716 if (DeadI && isa<ConstantInt>(DeadI->getValueOperand()) && in tryToMergePartialOverlappingStores()
717 DL.typeSizeEqualsStoreSize(DeadI->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores()
718 KillingI && isa<ConstantInt>(KillingI->getValueOperand()) && in tryToMergePartialOverlappingStores()
719 DL.typeSizeEqualsStoreSize(KillingI->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores()
731 APInt DeadValue = cast<ConstantInt>(DeadI->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores()
733 cast<ConstantInt>(KillingI->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores()
751 return ConstantInt::get(DeadI->getValueOperand()->getType(), Merged); in tryToMergePartialOverlappingStores()
1726 if (SI->getValueOperand()->getType()->isPointerTy()) { in deleteDeadInstruction()
1727 const Value *UO = getUnderlyingObject(SI->getValueOperand()); in deleteDeadInstruction()
2061 Value *StoredByte = isBytewiseValue(SI->getValueOperand(), DL); in eliminateRedundantStoresOfExistingValues()
H A DInferAlignment.cpp38 Value *ValOp = SI->getValueOperand(); in tryToImproveAlign()
H A DLoopIdiomRecognize.cpp414 Value *StoredVal = SI->getValueOperand(); in isLegalStore()
475 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore()
480 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore()
596 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores()
601 unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType()); in processLoopStores()
641 Value *SecondStoredVal = SL[k]->getValueOperand(); in processLoopStores()
695 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores()
700 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores()
1174 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad()
1177 LoadInst *LI = cast<LoadInst>(SI->getValueOperand()); in processLoopStoreOfLoopLoad()
H A DSROA.cpp1172 Value *ValOp = SI.getValueOperand(); in visitStoreInst()
1529 UserTy = SI->getValueOperand()->getType(); in findCommonType()
2122 Type *STy = SI->getValueOperand()->getType(); in isVectorPromotionViableForSlice()
2350 Ty = SI->getValueOperand()->getType(); in isVectorPromotionViable()
2436 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice()
3066 Store->getValueOperand(), DL); in rewriteIntegerStore()
3079 Value *V = SI.getValueOperand(); in visitStoreInst()
3130 NewSI->getValueOperand(), DL); in visitStoreInst()
3939 Value *V = SI.getValueOperand(); in visitStoreInst()
4390 auto *LI = cast<LoadInst>(SI->getValueOperand()); in presplitLoadsAndStores()
[all …]
H A DLoopLoadElimination.cpp452 Type *StoreType = Cand.Store->getValueOperand()->getType(); in propagateStoredValueToLoadUsers()
459 Value *StoreValue = Cand.Store->getValueOperand(); in propagateStoredValueToLoadUsers()
/freebsd-14.2/contrib/llvm-project/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.cpp407 AccessedTy = SI->getValueOperand()->getType(); in isSafeToLoadUnconditionally()
531 Value *Val = SI->getValueOperand(); in getAvailableLoadStore()
634 SI->getValueOperand()->getType(), DL)) in findAvailablePtrLoadStore()
H A DMemoryLocation.cpp50 SI->getValueOperand()->getType())), in get()
H A DIVDescriptors.cpp515 if (!is_contained(Phi->operands(), IntermediateStore->getValueOperand())) { in AddReductionVar()
524 IntermediateStore->getValueOperand() != ExitInstruction) { in AddReductionVar()
534 ExitInstruction = cast<Instruction>(IntermediateStore->getValueOperand()); in AddReductionVar()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILPrepare.cpp146 SI->getValueOperand()->getType())) { in runOnModule()
149 Builder.CreateStore(SI->getValueOperand(), NoOpBitcast)); in runOnModule()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1190 Value *V = SI.getValueOperand(); in combineStoreToValueType()
1224 Value *V = SI.getValueOperand(); in unpackStoreToAggregate()
1421 PrevSI->getValueOperand()->getType() == in visitStoreInst()
1422 SI.getValueOperand()->getType()) { in visitStoreInst()
1521 auto *SIVTy = SI.getValueOperand()->getType(); in mergeStoreIntoSuccessor()
1522 auto *OSVTy = OtherStore->getValueOperand()->getType(); in mergeStoreIntoSuccessor()
1576 Value *MergedVal = OtherStore->getValueOperand(); in mergeStoreIntoSuccessor()
1580 if (MergedVal != SI.getValueOperand()) { in mergeStoreIntoSuccessor()
1582 PHINode::Create(SI.getValueOperand()->getType(), 2, "storemerge"); in mergeStoreIntoSuccessor()
1583 PN->addIncoming(SI.getValueOperand(), SI.getParent()); in mergeStoreIntoSuccessor()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp287 ExpectedElementType = SI->getValueOperand()->getType(); in insertPtrCastInstr()
467 Intrinsic::spv_store, {I.getValueOperand()->getType(), PtrOp->getType()}, in visitStoreInst()
468 {I.getValueOperand(), PtrOp, IRB->getInt16(Flags), in visitStoreInst()
627 Type *ElTy = SI->getValueOperand()->getType(); in runOnFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp246 Args.push_back(Store->getValueOperand()); in makeGEPAndStore()
250 {Store->getValueOperand()->getType()}, Args); in makeGEPAndStore()
252 if (Store->getValueOperand()->getType()->isPointerTy()) in makeGEPAndStore()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h243 if (SI.getValueOperand() == U->get()) in visitStoreInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp213 auto *StoredVal = DepSI->getValueOperand(); in analyzeLoadFromClobberingStore()
224 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedValue(); in analyzeLoadFromClobberingStore()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp606 Value *StoredValue = cast<StoreInst>(II.Inst)->getValueOperand(); in instrumentLoadOrStore()
732 getMemoryAccessFuncIndex(SI->getValueOperand()->getType(), Addr, DL); in instrumentAtomic()
739 IRB.CreateBitOrPointerCast(SI->getValueOperand(), Ty), in instrumentAtomic()
H A DBoundsChecking.cpp165 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp46 NewPointeeTy = Inst->getValueOperand()->getType(); in classifyPointerType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp4993 SI->getValueOperand()->getType() != in collectUserStores()
5012 Type *S0Ty = S0->getValueOperand()->getType(); in canFormVector()
6211 *OIter = SI->getValueOperand(); in buildTree_rec()
13667 SI->getValueOperand()->getType()) { in vectorizeStores()
16336 isa<UndefValue>(V2->getValueOperand())) in vectorizeStoreChains()
16356 if (isa<Constant>(V->getValueOperand()) && in vectorizeStoreChains()
16357 isa<Constant>(V2->getValueOperand())) in vectorizeStoreChains()
16359 return V->getValueOperand()->getValueID() < in vectorizeStoreChains()
16360 V2->getValueOperand()->getValueID(); in vectorizeStoreChains()
16366 if (V1->getValueOperand()->getType() != V2->getValueOperand()->getType()) in vectorizeStoreChains()
[all …]
H A DLoopVectorizationLegality.cpp964 Type *T = ST->getValueOperand()->getType(); in canVectorizeInstrs()
1128 I->getValueOperand()->getType() == in canVectorizeMemory()
1129 SI->getValueOperand()->getType(); in canVectorizeMemory()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp558 Res = HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts()
604 if (!*HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp158 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize()
502 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), in convertAtomicStoreToIntegerType()
504 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType()
531 AtomicRMWInst::Xchg, SI->getPointerOperand(), SI->getValueOperand(), in expandAtomicStore()
1624 I, Size, I->getAlign(), I->getPointerOperand(), I->getValueOperand(), in expandAtomicStoreToLibcall()

1234