/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | MergedLoadStoreMotion.cpp | 200 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 D | DeadStoreElimination.cpp | 718 if (DeadI && isa<ConstantInt>(DeadI->getValueOperand()) && in tryToMergePartialOverlappingStores() 719 DL.typeSizeEqualsStoreSize(DeadI->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores() 720 KillingI && isa<ConstantInt>(KillingI->getValueOperand()) && in tryToMergePartialOverlappingStores() 721 DL.typeSizeEqualsStoreSize(KillingI->getValueOperand()->getType()) && in tryToMergePartialOverlappingStores() 733 APInt DeadValue = cast<ConstantInt>(DeadI->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores() 735 cast<ConstantInt>(KillingI->getValueOperand())->getValue(); in tryToMergePartialOverlappingStores() 753 return ConstantInt::get(DeadI->getValueOperand()->getType(), Merged); in tryToMergePartialOverlappingStores() 1723 if (SI->getValueOperand()->getType()->isPointerTy()) { in deleteDeadInstruction() 1724 const Value *UO = getUnderlyingObject(SI->getValueOperand()); in deleteDeadInstruction() 1932 Value *StoreVal = StoreI->getValueOperand(); in dominatingConditionImpliesValue() [all …]
|
H A D | InferAlignment.cpp | 38 Value *ValOp = SI->getValueOperand(); in tryToImproveAlign()
|
H A D | LoopIdiomRecognize.cpp | 419 Value *StoredVal = SI->getValueOperand(); in isLegalStore() 480 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in isLegalStore() 485 LoadInst *LI = dyn_cast<LoadInst>(SI->getValueOperand()); in isLegalStore() 601 Value *FirstStoredVal = SL[i]->getValueOperand(); in processLoopStores() 606 unsigned FirstStoreSize = DL->getTypeStoreSize(SL[i]->getValueOperand()->getType()); in processLoopStores() 646 Value *SecondStoredVal = SL[k]->getValueOperand(); in processLoopStores() 700 StoreSize += DL->getTypeStoreSize(I->getValueOperand()->getType()); in processLoopStores() 705 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores() 1179 unsigned StoreSize = DL->getTypeStoreSize(SI->getValueOperand()->getType()); in processLoopStoreOfLoopLoad() 1182 LoadInst *LI = cast<LoadInst>(SI->getValueOperand()); in processLoopStoreOfLoopLoad()
|
H A D | SROA.cpp | 1124 Value *ValOp = SI.getValueOperand(); in visitStoreInst() 1482 UserTy = SI->getValueOperand()->getType(); in findCommonType() 2074 Type *STy = SI->getValueOperand()->getType(); in isVectorPromotionViableForSlice() 2301 Ty = SI->getValueOperand()->getType(); in isVectorPromotionViable() 2387 Type *ValueTy = SI->getValueOperand()->getType(); in isIntegerWideningViableForSlice() 3016 V = insertInteger(DL, IRB, Old, SI.getValueOperand(), Offset, "insert"); in rewriteIntegerStore() 3028 Store->getValueOperand(), DL); in rewriteIntegerStore() 3041 Value *V = SI.getValueOperand(); in visitStoreInst() 3093 NewSI->getValueOperand(), DL); in visitStoreInst() 3100 NewSI->getValueOperand()->getType() == NewAllocaTy && in visitStoreInst() [all …]
|
H A D | LoopLoadElimination.cpp | 461 Type *StoreType = Cand.Store->getValueOperand()->getType(); in propagateStoredValueToLoadUsers() 468 Value *StoreValue = Cand.Store->getValueOperand(); in propagateStoredValueToLoadUsers()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueLatticeUtils.cpp | 35 return Store->getValueOperand() != GV && !Store->isVolatile() && in canTrackGlobalVariableInterprocedurally() 36 Store->getValueOperand()->getType() == GV->getValueType(); in canTrackGlobalVariableInterprocedurally()
|
H A D | Loads.cpp | 416 AccessedTy = SI->getValueOperand()->getType(); in isSafeToLoadUnconditionally() 540 Value *Val = SI->getValueOperand(); in getAvailableLoadStore() 643 SI->getValueOperand()->getType(), DL)) in findAvailablePtrLoadStore()
|
H A D | MemoryLocation.cpp | 50 SI->getValueOperand()->getType())), in get()
|
H A D | IVDescriptors.cpp | 515 if (!is_contained(Phi->operands(), IntermediateStore->getValueOperand())) { in AddReductionVar() 524 IntermediateStore->getValueOperand() != ExitInstruction) { in AddReductionVar() 534 ExitInstruction = cast<Instruction>(IntermediateStore->getValueOperand()); in AddReductionVar()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineLoadStoreAlloca.cpp | 1189 Value *V = SI.getValueOperand(); in combineStoreToValueType() 1223 Value *V = SI.getValueOperand(); in unpackStoreToAggregate() 1420 PrevSI->getValueOperand()->getType() == in visitStoreInst() 1421 SI.getValueOperand()->getType()) { in visitStoreInst() 1520 auto *SIVTy = SI.getValueOperand()->getType(); in mergeStoreIntoSuccessor() 1521 auto *OSVTy = OtherStore->getValueOperand()->getType(); in mergeStoreIntoSuccessor() 1575 Value *MergedVal = OtherStore->getValueOperand(); in mergeStoreIntoSuccessor() 1579 if (MergedVal != SI.getValueOperand()) { in mergeStoreIntoSuccessor() 1581 PHINode::Create(SI.getValueOperand()->getType(), 2, "storemerge"); in mergeStoreIntoSuccessor() 1582 PN->addIncoming(SI.getValueOperand(), SI.getParent()); in mergeStoreIntoSuccessor()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPURewriteOutArguments.cpp | 139 if (StoredType && StoredType != SI->getValueOperand()->getType()) in getStoredType() 141 StoredType = SI->getValueOperand()->getType(); in getStoredType() 276 Value *ReplVal = Store.second->getValueOperand(); in runOnFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
H A D | DXILPrepare.cpp | 216 SI->getValueOperand()->getType())) { in runOnModule() 219 Builder.CreateStore(SI->getValueOperand(), NoOpBitcast)); in runOnModule()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFPreserveStaticOffset.cpp | 247 Args.push_back(Store->getValueOperand()); in makeGEPAndStore() 251 {Store->getValueOperand()->getType()}, Args); in makeGEPAndStore() 253 if (Store->getValueOperand()->getType()->isPointerTy()) in makeGEPAndStore()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | PtrUseVisitor.h | 243 if (SI.getValueOperand() == U->get()) in visitStoreInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | VNCoercion.cpp | 213 auto *StoredVal = DepSI->getValueOperand(); in analyzeLoadFromClobberingStore() 224 DL.getTypeSizeInBits(DepSI->getValueOperand()->getType()).getFixedValue(); in analyzeLoadFromClobberingStore()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVEmitIntrinsics.cpp | 249 isPointerTy(SI->getValueOperand()->getType()) && in IsKernelArgInt8() 250 isa<Argument>(SI->getValueOperand()); in IsKernelArgInt8() 655 if (!(KnownElemTy = reconstructType(GR, Ref->getValueOperand()))) in deduceOperandElementType() 1128 I, SI->getValueOperand(), IntegerType::getInt8Ty(F->getContext()), 0, in insertPtrCastOrAssignTypeInstr() 1131 Value *Op = SI->getValueOperand(); in insertPtrCastOrAssignTypeInstr() 1314 Intrinsic::spv_store, {I.getValueOperand()->getType(), PtrOp->getType()}, in visitStoreInst() 1315 {I.getValueOperand(), PtrOp, B.getInt16(Flags), in visitStoreInst() 1657 Type *ElTy = SI->getValueOperand()->getType(); in runOnFunction()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | ThreadSanitizer.cpp | 605 Value *StoredValue = cast<StoreInst>(II.Inst)->getValueOperand(); in instrumentLoadOrStore() 731 getMemoryAccessFuncIndex(SI->getValueOperand()->getType(), Addr, DL); in instrumentAtomic() 738 IRB.CreateBitOrPointerCast(SI->getValueOperand(), Ty), in instrumentAtomic()
|
H A D | BoundsChecking.cpp | 165 Or = getBoundsCheckCond(SI->getPointerOperand(), SI->getValueOperand(), in addBoundsChecking()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DirectXIRPasses/ |
H A D | PointerTypeAnalysis.cpp | 48 NewPointeeTy = Inst->getValueOperand()->getType(); in classifyPointerType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFastISel.cpp | 1257 Store->getValueOperand()->getType()->isVectorTy()) in selectStore() 1267 switch (getSimpleType(Store->getValueOperand()->getType())) { in selectStore() 1295 Register ValueReg = getRegForValue(Store->getValueOperand()); in selectStore() 1299 ValueReg = maskI1Value(ValueReg, Store->getValueOperand()); in selectStore()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 5923 !isValidElementType(SI->getValueOperand()->getType())) in collectUserStores() 5941 SI->getValueOperand()->getType() != in collectUserStores() 5942 StoresVec.back()->getValueOperand()->getType()) in collectUserStores() 5960 Type *S0Ty = S0->getValueOperand()->getType(); in canFormVector() 5965 getPointersDiff(S0Ty, S0Ptr, SI->getValueOperand()->getType(), in canFormVector() 6486 llvm::Type *ScalarTy = cast<StoreInst>(VL0)->getValueOperand()->getType(); in getScalarsVectorizationState() 6809 if (!SLPReVec && SI->getValueOperand()->getType()->isVectorTy()) { in buildTree_rec() 8185 cast<StoreInst>(E.getMainOp())->getValueOperand()->getType(); in transformNodes() 9256 ScalarTy = SI->getValueOperand()->getType(); in getEntryCost() 9819 TTI::OperandValueInfo OpInfo = TTI::getOperandInfo(VI->getValueOperand()); in getEntryCost() [all …]
|
H A D | LoopVectorizationLegality.cpp | 964 Type *T = ST->getValueOperand()->getType(); in canVectorizeInstrs() 1136 I->getValueOperand()->getType() == in canVectorizeMemory() 1137 SI->getValueOperand()->getType(); in canVectorizeMemory()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | ArgumentPromotion.cpp | 587 Res = HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts() 634 if (!*HandleEndUser(SI, SI->getValueOperand()->getType(), in findArgParts()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | AtomicExpandPass.cpp | 182 return DL.getTypeStoreSize(SI->getValueOperand()->getType()); in getAtomicOpSize() 537 Type *NewTy = getCorrespondingIntegerType(SI->getValueOperand()->getType(), in convertAtomicStoreToIntegerType() 539 Value *NewVal = Builder.CreateBitCast(SI->getValueOperand(), NewTy); in convertAtomicStoreToIntegerType() 566 AtomicRMWInst::Xchg, SI->getPointerOperand(), SI->getValueOperand(), in expandAtomicStore() 1708 I, Size, I->getAlign(), I->getPointerOperand(), I->getValueOperand(), in expandAtomicStoreToLibcall()
|