Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp201 Store0->getValueOperand()->getType(), in canSinkFromBlock()
202 Store1->getValueOperand()->getType(), in canSinkFromBlock()
215 Value *Opd1 = S0->getValueOperand(); in getPHIOperand()
216 Value *Opd2 = S1->getValueOperand(); in getPHIOperand()
267 auto Cast = Builder.CreateBitOrPointerCast(S0->getValueOperand(), in sinkStoresAndGEPs()
268 S1->getValueOperand()->getType()); in sinkStoresAndGEPs()
H A DDeadStoreElimination.cpp777 if (DeadI && isa<ConstantInt>(DeadI->getValueOperand()) && in tryToMergePartialOverlappingStores()
778 DL.typeSizeEqualsStoreSize(DeadI->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores()
779 KillingI && isa<ConstantInt>(KillingI->getValueOperand()) && in tryToMergePartialOverlappingStores()
780 DL.typeSizeEqualsStoreSize(KillingI->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores()
792 APInt DeadValue = cast<ConstantInt>(DeadI->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores()
794 cast<ConstantInt>(KillingI->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores()
812 return ConstantInt::get(DeadI->getValueOperand()->getType(), Merged); in tryToMergePartialOverlappingStores()
1881 if (SI->getValueOperand()->getType()->isPointerTy()) { in deleteDeadInstruction()
1882 const Value *UO = getUnderlyingObject(SI->getValueOperand()); in deleteDeadInstruction()
2117 Value *StoreVal = StoreI->getValueOperand(); in dominatingConditionImpliesValue()
[all …]
H A DLoopIdiomRecognize.cpp447 Value *StoredVal = SI->getValueOperand(); in isLegalStore()
505 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore()
511 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore()
625 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores()
630 unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType()); in processLoopStores()
670 Value *SecondStoredVal = SL[k]->getValueOperand(); in processLoopStores()
724 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores()
729 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores()
1208 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad()
1211 LoadInst *LI = cast<LoadInst>(SI->getValueOperand()); in processLoopStoreOfLoopLoad()
H A DSROA.cpp1136 Value *ValOp = SI.getValueOperand(); in visitStoreInst()
1509 UserTy = SI->getValueOperand()->getType(); in findCommonType()
2167 Type *STy = SI->getValueOperand()->getType(); in isVectorPromotionViableForSlice()
2395 Ty = SI->getValueOperand()->getType(); in isVectorPromotionViable()
2482 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice()
3111 V = insertInteger(DL, IRB, Old, SI.getValueOperand(), Offset, "insert"); in rewriteIntegerStore()
3123 Store->getValueOperand(), DL); in rewriteIntegerStore()
3136 Value *V = SI.getValueOperand(); in visitStoreInst()
3189 NewSI->getValueOperand(), DL); in visitStoreInst()
3196 NewSI->getValueOperand()->getType() == NewAllocaTy && in visitStoreInst()
[all …]
H A DLoopLoadElimination.cpp460 Type *StoreType = Cand.Store->getValueOperand()->getType(); in propagateStoredValueToLoadUsers()
467 Value *StoreValue = Cand.Store->getValueOperand(); in propagateStoredValueToLoadUsers()
/freebsd/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.cpp491 AccessedTy = SI->getValueOperand()->getType(); in isSafeToLoadUnconditionally()
615 Value *Val = SI->getValueOperand(); in getAvailableLoadStore()
718 SI->getValueOperand()->getType(), DL)) in findAvailablePtrLoadStore()
H A DMemoryLocation.cpp49 SI->getValueOperand()->getType())), in get()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp137 if (StoredType && StoredType != SI->getValueOperand()->getType()) in getStoredType()
139 StoredType = SI->getValueOperand()->getType(); in getStoredType()
274 Value *ReplVal = Store.second->getValueOperand(); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp1233 Value *V = SI.getValueOperand(); in combineStoreToValueType()
1267 Value *V = SI.getValueOperand(); in unpackStoreToAggregate()
1449 PrevSI->getValueOperand()->getType() == in visitStoreInst()
1450 SI.getValueOperand()->getType()) { in visitStoreInst()
1553 auto *SIVTy = SI.getValueOperand()->getType(); in mergeStoreIntoSuccessor()
1554 auto *OSVTy = OtherStore->getValueOperand()->getType(); in mergeStoreIntoSuccessor()
1608 Value *MergedVal = OtherStore->getValueOperand(); in mergeStoreIntoSuccessor()
1612 if (MergedVal != SI.getValueOperand()) { in mergeStoreIntoSuccessor()
1614 PHINode::Create(SI.getValueOperand()->getType(), 2, "storemerge"); in mergeStoreIntoSuccessor()
1615 PN->addIncoming(SI.getValueOperand(), SI.getParent()); in mergeStoreIntoSuccessor()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILResourceAccess.cpp60 Value *V = SI->getValueOperand(); in createTypedBufferStore()
91 Value *V = SI->getValueOperand(); in createRawStore()
225 assert(SI->getValueOperand() != II && "Pointer escaped!"); in replaceAccess()
H A DDXILPrepare.cpp269 SI->getValueOperand()->getType())) { in runOnModule()
272 Builder.CreateStore(SI->getValueOperand(), NoOpBitcast)); in runOnModule()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DUtils.h49 return SI->getValueOperand(); in getExpectedValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFPreserveStaticOffset.cpp245 Args.push_back(Store->getValueOperand()); in makeGEPAndStore()
249 {Store->getValueOperand()->getType()}, Args); in makeGEPAndStore()
251 if (Store->getValueOperand()->getType()->isPointerTy()) in makeGEPAndStore()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DPtrUseVisitor.h256 if (SI.getValueOperand() == U->get()) in visitStoreInst()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp236 auto *StoredVal = DepSI->getValueOperand(); in analyzeLoadFromClobberingStore()
247 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedValue(); in analyzeLoadFromClobberingStore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp608 Value *StoredValue = cast<StoreInst>(II.Inst)->getValueOperand(); in instrumentLoadOrStore()
735 getMemoryAccessFuncIndex(SI->getValueOperand()->getType(), Addr, DL); in instrumentAtomic()
742 IRB.CreateBitOrPointerCast(SI->getValueOperand(), Ty), in instrumentAtomic()
H A DBoundsChecking.cpp208 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/
H A DPointerTypeAnalysis.cpp48 NewPointeeTy = Inst->getValueOperand()->getType(); in classifyPointerType()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXLowerArgs.cpp298 if (SI->getValueOperand() == I.OldUse->get()) in INITIALIZE_PASS_DEPENDENCY()
463 if (U->get() == SI.getValueOperand()) in visitStoreInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFastISel.cpp1266 Store->getValueOperand()->getType()->isVectorTy()) in selectStore()
1276 switch (getSimpleType(Store->getValueOperand()->getType())) { in selectStore()
1304 Register ValueReg = getRegForValue(Store->getValueOperand()); in selectStore()
1308 ValueReg = maskI1Value(ValueReg, Store->getValueOperand()); in selectStore()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVEmitIntrinsics.cpp345 isPointerTy(SI->getValueOperand()->getType()) && in IsKernelArgInt8()
346 isa<Argument>(SI->getValueOperand()); in IsKernelArgInt8()
1038 reconstructType(Ref->getValueOperand(), false, IsPostprocessing))) in deduceOperandElementType()
1559 I, SI->getValueOperand(), IntegerType::getInt8Ty(CurrF->getContext()), in insertPtrCastOrAssignTypeInstr()
1563 Value *Op = SI->getValueOperand(); in insertPtrCastOrAssignTypeInstr()
1770 Intrinsic::spv_store, {I.getValueOperand()->getType(), PtrOp->getType()}, in visitStoreInst()
1771 {I.getValueOperand(), PtrOp, B.getInt16(Flags), in visitStoreInst()
2404 Type *ElTy = SI->getValueOperand()->getType(); in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp623 Res = HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts()
666 if (!*HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp984 Type *T = ST->getValueOperand()->getType(); in canVectorizeInstrs()
1279 I->getValueOperand()->getType() == in canVectorizeMemory()
1280 SI->getValueOperand()->getType(); in canVectorizeMemory()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp193 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize()
608 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), in convertAtomicStoreToIntegerType()
610 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType()
637 AtomicRMWInst::Xchg, SI->getPointerOperand(), SI->getValueOperand(), in expandAtomicStore()
1768 I, Size, I->getAlign(), I->getPointerOperand(), I->getValueOperand(), in expandAtomicStoreToLibcall()

12345