Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DValueLatticeUtils.cpp35 return Store->getValueOperand() != GV && !Store->isVolatile(); in canTrackGlobalVariableInterprocedurally()
H A DLoads.cpp390 AccessedTy = SI->getValueOperand()->getType(); in isSafeToLoadUnconditionally()
510 Value *Val = SI->getValueOperand(); in getAvailableLoadStore()
573 SI->getValueOperand()->getType(), DL)) in findAvailablePtrLoadStore()
H A DMemoryLocation.cpp54 SI->getValueOperand()->getType())), in get()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp213 Value *Opd1 = S0->getValueOperand(); in getPHIOperand()
214 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
H A DLoopIdiomRecognize.cpp488 Value *StoredVal = SI->getValueOperand(); in isLegalStore()
549 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore()
554 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore()
670 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores()
675 unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType()); in processLoopStores()
715 Value *SecondStoredVal = SL[k]->getValueOperand(); in processLoopStores()
772 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores()
777 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores()
1173 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad()
1176 LoadInst *LI = cast<LoadInst>(SI->getValueOperand()); in processLoopStoreOfLoopLoad()
H A DDeadStoreElimination.cpp758 if (Earlier && isa<ConstantInt>(Earlier->getValueOperand()) && in tryToMergePartialOverlappingStores()
759 DL.typeSizeEqualsStoreSize(Earlier->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores()
760 Later && isa<ConstantInt>(Later->getValueOperand()) && in tryToMergePartialOverlappingStores()
761 DL.typeSizeEqualsStoreSize(Later->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores()
774 cast<ConstantInt>(Earlier->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores()
775 APInt LaterValue = cast<ConstantInt>(Later->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores()
793 return ConstantInt::get(Earlier->getValueOperand()->getType(), Merged); in tryToMergePartialOverlappingStores()
H A DSROA.cpp796 Value *ValOp = SI.getValueOperand(); in visitStoreInst()
1152 UserTy = SI->getValueOperand()->getType(); in findCommonType()
1870 Type *STy = SI->getValueOperand()->getType(); in isVectorPromotionViableForSlice()
1924 CheckCandidateType(SI->getValueOperand()->getType()); in isVectorPromotionViable()
2052 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice()
2681 Value *V = SI.getValueOperand(); in visitStoreInst()
3471 Value *V = SI.getValueOperand(); in visitStoreInst()
3849 if (auto *LI = dyn_cast<LoadInst>(SI->getValueOperand())) in presplitLoadsAndStores()
3931 auto *LI = cast<LoadInst>(SI->getValueOperand()); in presplitLoadsAndStores()
3967 auto *LI = cast<LoadInst>(SI->getValueOperand()); in presplitLoadsAndStores()
[all …]
H A DNewGVN.cpp1367 auto *StoredValueLeader = lookupOperandLeader(SI->getValueOperand()); in createStoreExpression()
1371 E->setType(SI->getValueOperand()->getType()); in createStoreExpression()
1444 LoadType == DepSI->getValueOperand()->getType()) in performSymbolicLoadCoercion()
1449 lookupOperandLeader(DepSI->getValueOperand()))) { in performSymbolicLoadCoercion()
2654 FoundVal = SI->getValueOperand(); in findLeaderForInst()
3560 auto Leader = lookupOperandLeader(SI->getValueOperand()); in convertClassToDFSOrdered()
3564 VDDef.Def.setPointer(SI->getValueOperand()); in convertClassToDFSOrdered()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h250 if (SI.getValueOperand() == U->get()) in visitStoreInst()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp390 isa<VectorType>(SI->getValueOperand()->getType())) in canVectorizeInst()
524 if (SI->getValueOperand()->getType() == AllocaTy || in tryPromoteAllocaToVector()
525 SI->getValueOperand()->getType()->isVectorTy()) in tryPromoteAllocaToVector()
536 Value *Elt = SI->getValueOperand(); in tryPromoteAllocaToVector()
H A DAMDGPURewriteOutArguments.cpp306 Value *ReplVal = Store.second->getValueOperand(); in runOnFunction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVectorCombine.cpp815 !isa<FixedVectorType>(SI->getValueOperand()->getType())) in foldSingleElementStore()
823 if (!match(SI->getValueOperand(), in foldSingleElementStore()
829 auto VecTy = cast<FixedVectorType>(SI->getValueOperand()->getType()); in foldSingleElementStore()
843 SI->getValueOperand()->getType(), SI->getPointerOperand(), in foldSingleElementStore()
H A DSLPVectorizer.cpp3256 *OIter = SI->getValueOperand(); in buildTree_rec()
3651 ScalarTy = SI->getValueOperand()->getType(); in getEntryCost()
8764 isa<UndefValue>(V2->getValueOperand())) in vectorizeStoreChains()
8784 if (isa<Constant>(V->getValueOperand()) && in vectorizeStoreChains()
8785 isa<Constant>(V2->getValueOperand())) in vectorizeStoreChains()
8787 return V->getValueOperand()->getValueID() < in vectorizeStoreChains()
8788 V2->getValueOperand()->getValueID(); in vectorizeStoreChains()
8798 isa<UndefValue>(V2->getValueOperand())) in vectorizeStoreChains()
8807 if (isa<Constant>(V1->getValueOperand()) && in vectorizeStoreChains()
8808 isa<Constant>(V2->getValueOperand())) in vectorizeStoreChains()
[all …]
H A DLoadStoreVectorizer.cpp887 Type *Ty = SI->getValueOperand()->getType(); in collectInstructions()
1029 StoreTy = cast<StoreInst>(I)->getValueOperand()->getType(); in vectorizeStoreChain()
1138 Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(), in vectorizeStoreChain()
1151 Value *Extract = Store->getValueOperand(); in vectorizeStoreChain()
H A DVPlanTransforms.cpp69 Plan->getOrAddVPValue(Store->getValueOperand()), in VPInstructionsToVPRecipes()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp144 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize()
266 if (SI->getValueOperand()->getType()->isFloatingPointTy()) { in runOnFunction()
270 assert(SI->getValueOperand()->getType()->isIntegerTy() && in runOnFunction()
470 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), in convertAtomicStoreToIntegerType()
472 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType()
497 AtomicRMWInst::Xchg, SI->getPointerOperand(), SI->getValueOperand(), in expandAtomicStore()
1575 I, Size, I->getAlign(), I->getPointerOperand(), I->getValueOperand(), in expandAtomicStoreToLibcall()
H A DInterleavedAccessPass.cpp496 auto *SVI = dyn_cast<ShuffleVectorInst>(SI->getValueOperand()); in lowerInterleavedStore()
H A DStackProtector.cpp179 if (AI == cast<StoreInst>(I)->getValueOperand()) in HasAddressTaken()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp228 auto *StoredVal = DepSI->getValueOperand(); in analyzeLoadFromClobberingStore()
239 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedSize(); in analyzeLoadFromClobberingStore()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp660 Value *StoredValue = cast<StoreInst>(II.Inst)->getValueOperand(); in instrumentLoadOrStore()
791 getMemoryAccessFuncIndex(SI->getValueOperand()->getType(), Addr, DL); in instrumentAtomic()
799 IRB.CreateBitOrPointerCast(SI->getValueOperand(), Ty), in instrumentAtomic()
H A DBoundsChecking.cpp162 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1135 Value *V = SI.getValueOperand(); in combineStoreToValueType()
1169 Value *V = SI.getValueOperand(); in unpackStoreToAggregate()
1310 if (!match(SI.getValueOperand(), m_Load(m_BitCast(m_Value(LoadAddr))))) in removeBitcastsFromLoadStoreOnMinMax()
1312 auto *LI = cast<LoadInst>(SI.getValueOperand()); in removeBitcastsFromLoadStoreOnMinMax()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp1249 Store->getValueOperand()->getType()->isVectorTy()) in selectStore()
1259 switch (getSimpleType(Store->getValueOperand()->getType())) { in selectStore()
1287 unsigned ValueReg = getRegForValue(Store->getValueOperand()); in selectStore()
1291 ValueReg = maskI1Value(ValueReg, Store->getValueOperand()); in selectStore()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp334 auto RegI = CVPLatticeKey(I.getValueOperand(), IPOGrouping::Register); in visitStore()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1938 Value *StoredVal = SI->getValueOperand(); in isLegalStore()
1958 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore()
1963 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore()
2036 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processCopyingStore()
2043 auto *LI = cast<LoadInst>(SI->getValueOperand()); in processCopyingStore()

123