Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp400 if (DL->isNonIntegralPointerType(SI->getValueOperand()->getType())) in isLegalStore()
407 Value *StoredVal = SI->getValueOperand(); in isLegalStore()
460 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore()
465 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore()
593 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores()
598 unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType()); in processLoopStores()
638 Value *SecondStoredVal = SL[k]->getValueOperand(); in processLoopStores()
695 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores()
700 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores()
973 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad()
[all …]
H A DDeadStoreElimination.cpp1036 if (LoadInst *DepLoad = dyn_cast<LoadInst>(SI->getValueOperand())) { in eliminateNoopStore()
1051 Constant *StoredConstant = dyn_cast<Constant>(SI->getValueOperand()); in eliminateNoopStore()
1217 if (Earlier && isa<ConstantInt>(Earlier->getValueOperand()) && in eliminateDeadStores()
1218 Later && isa<ConstantInt>(Later->getValueOperand()) && in eliminateDeadStores()
1230 cast<ConstantInt>(Earlier->getValueOperand())->getValue(); in eliminateDeadStores()
1232 cast<ConstantInt>(Later->getValueOperand())->getValue(); in eliminateDeadStores()
1255 ConstantInt::get(Earlier->getValueOperand()->getType(), Merged), in eliminateDeadStores()
H A DMergedLoadStoreMotion.cpp207 Value *Opd1 = S0->getValueOperand(); in getPHIOperand()
208 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
H A DSROA.cpp793 Value *ValOp = SI.getValueOperand(); in visitStoreInst()
1128 UserTy = SI->getValueOperand()->getType(); in findCommonType()
1657 Ty = SI->getValueOperand()->getType(); in getAdjustedAlignment()
1827 Type *STy = SI->getValueOperand()->getType(); in isVectorPromotionViableForSlice()
1872 CheckCandidateType(SI->getValueOperand()->getType()); in isVectorPromotionViable()
2000 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice()
2610 Value *V = SI.getValueOperand(); in visitStoreInst()
3360 Value *V = SI.getValueOperand(); in visitStoreInst()
3608 if (auto *LI = dyn_cast<LoadInst>(SI->getValueOperand())) in presplitLoadsAndStores()
3640 auto *StoredLoad = dyn_cast<LoadInst>(SI->getValueOperand()); in presplitLoadsAndStores()
[all …]
H A DNewGVN.cpp1346 auto *StoredValueLeader = lookupOperandLeader(SI->getValueOperand()); in createStoreExpression()
1350 E->setType(SI->getValueOperand()->getType()); in createStoreExpression()
1423 LoadType == DepSI->getValueOperand()->getType()) in performSymbolicLoadCoercion()
1428 lookupOperandLeader(DepSI->getValueOperand()))) { in performSymbolicLoadCoercion()
2706 FoundVal = SI->getValueOperand(); in findLeaderForInst()
3603 auto Leader = lookupOperandLeader(SI->getValueOperand()); in convertClassToDFSOrdered()
3607 VDDef.Def.setPointer(SI->getValueOperand()); in convertClassToDFSOrdered()
H A DGVNHoist.cpp209 Value *Val = Store->getValueOperand(); in insert()
985 Val = dyn_cast<Instruction>(St->getValueOperand()); in makeGepOperandsAvailable()
H A DGVN.cpp892 Res = AvailableValue::get(DepSI->getValueOperand(), Offset); in AnalyzeLoadAvailability()
962 if (S->getValueOperand()->getType() != LI->getType() && in AnalyzeLoadAvailability()
963 !canCoerceMustAliasedValueToLoad(S->getValueOperand(), in AnalyzeLoadAvailability()
971 Res = AvailableValue::get(S->getValueOperand()); in AnalyzeLoadAvailability()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DValueLatticeUtils.cpp34 if (Store->getValueOperand() == GV || Store->isVolatile()) in canTrackGlobalVariableInterprocedurally()
H A DMemoryLocation.cpp52 SI->getValueOperand()->getType())), in get()
H A DLoads.cpp394 CastInst::isBitOrNoopPointerCastable(SI->getValueOperand()->getType(), in FindAvailablePtrLoadStore()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp211 if (DepSI->getValueOperand()->getType()->isStructTy() || in analyzeLoadFromClobberingStore()
212 DepSI->getValueOperand()->getType()->isArrayTy()) in analyzeLoadFromClobberingStore()
217 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()); in analyzeLoadFromClobberingStore()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp145 return DL.getABITypeAlignment(SI->getValueOperand()->getType()); in getAlignment()
790 Type *Ty = SI->getValueOperand()->getType(); in collectInstructions()
932 StoreTy = cast<StoreInst>(I)->getValueOperand()->getType(); in vectorizeStoreChain()
1038 Value *Extract = Builder.CreateExtractElement(Store->getValueOperand(), in vectorizeStoreChain()
1051 Value *Extract = Store->getValueOperand(); in vectorizeStoreChain()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp142 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize()
295 if (SI->getValueOperand()->getType()->isFloatingPointTy()) { in runOnFunction()
299 assert(SI->getValueOperand()->getType()->isIntegerTy() && in runOnFunction()
460 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), in convertAtomicStoreToIntegerType()
462 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType()
488 SI->getValueOperand(), SI->getOrdering()); in expandAtomicStore()
1463 I, Size, Align, I->getPointerOperand(), I->getValueOperand(), nullptr, in expandAtomicStoreToLibcall()
H A DInterleavedAccessPass.cpp417 ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(SI->getValueOperand()); in lowerInterleavedStore()
H A DStackProtector.cpp163 if (AI == SI->getValueOperand()) in HasAddressTaken()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h252 if (SI.getValueOperand() == U->get()) in visitStoreInst()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp346 isa<VectorType>(SI->getValueOperand()->getType())) in canVectorizeInst()
438 if (SI->getValueOperand()->getType() == AT) in tryPromoteAllocaToVector()
447 SI->getValueOperand(), in tryPromoteAllocaToVector()
H A DAMDGPURewriteOutArguments.cpp325 Value *ReplVal = Store.second->getValueOperand(); in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp1203 Store->getValueOperand()->getType()->isVectorTy()) in selectStore()
1212 switch (getSimpleType(Store->getValueOperand()->getType())) { in selectStore()
1240 unsigned ValueReg = getRegForValue(Store->getValueOperand()); in selectStore()
1244 ValueReg = maskI1Value(ValueReg, Store->getValueOperand()); in selectStore()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1186 Value *V = SI.getValueOperand(); in combineStoreToValueType()
1214 Value *V = SI.getValueOperand(); in unpackStoreToAggregate()
1359 if (!match(SI.getValueOperand(), m_Load(m_BitCast(m_Value(LoadAddr))))) in removeBitcastsFromLoadStoreOnMinMax()
1361 auto *LI = cast<LoadInst>(SI.getValueOperand()); in removeBitcastsFromLoadStoreOnMinMax()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DBoundsChecking.cpp159 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
H A DThreadSanitizer.cpp535 Value *StoredValue = cast<StoreInst>(I)->getValueOperand(); in instrumentLoadOrStore()
653 IRB.CreateBitOrPointerCast(SI->getValueOperand(), Ty), in instrumentAtomic()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DCalledValuePropagation.cpp337 auto RegI = CVPLatticeKey(I.getValueOperand(), IPOGrouping::Register); in visitStore()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1917 Value *StoredVal = SI->getValueOperand(); in isLegalStore()
1937 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore()
1942 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore()
2015 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processCopyingStore()
2022 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in processCopyingStore()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp273 ValTy = SI->getValueOperand()->getType(); in getMemOpAlignment()
515 if (DL->getTypeStoreSize(SI.getValueOperand()->getType()) == 0) in translateStore()
518 ArrayRef<unsigned> Vals = getOrCreateVRegs(*SI.getValueOperand()); in translateStore()
519 ArrayRef<uint64_t> Offsets = *VMap.getOffsets(*SI.getValueOperand()); in translateStore()

123