Home
last modified time | relevance | path

Searched refs:StoredVal (Results 1 – 20 of 20) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DVNCoercion.cpp94 StoredVal = Helper.CreateBitCast(StoredVal, LoadedTy); in coerceAvailableValueToLoadType()
99 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadType()
107 StoredVal = Helper.CreateBitCast(StoredVal, TypeToCastTo); in coerceAvailableValueToLoadType()
111 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadType()
128 StoredVal = Helper.CreatePtrToInt(StoredVal, StoredValTy); in coerceAvailableValueToLoadType()
134 StoredVal = Helper.CreateBitCast(StoredVal, StoredValTy); in coerceAvailableValueToLoadType()
143 StoredVal, ConstantInt::get(StoredVal->getType(), ShiftAmt)); in coerceAvailableValueToLoadType()
148 StoredVal = Helper.CreateTruncOrBitCast(StoredVal, NewIntTy); in coerceAvailableValueToLoadType()
153 StoredVal = Helper.CreateIntToPtr(StoredVal, LoadedTy); in coerceAvailableValueToLoadType()
156 StoredVal = Helper.CreateBitCast(StoredVal, LoadedTy); in coerceAvailableValueToLoadType()
[all …]
H A DGlobalStatus.cpp117 Value *StoredVal = SI->getOperand(0); in analyzeGlobalAux() local
119 if (Constant *C = dyn_cast<Constant>(StoredVal)) { in analyzeGlobalAux()
126 if (GV->hasInitializer() && StoredVal == GV->getInitializer()) { in analyzeGlobalAux()
129 } else if (isa<LoadInst>(StoredVal) && in analyzeGlobalAux()
130 cast<LoadInst>(StoredVal)->getOperand(0) == GV) { in analyzeGlobalAux()
137 GS.getStoredOnceValue() == StoredVal) { in analyzeGlobalAux()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DVNCoercion.h37 bool canCoerceMustAliasedValueToLoad(Value *StoredVal, Type *LoadTy,
46 Value *coerceAvailableValueToLoadType(Value *StoredVal, Type *LoadedTy,
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp394 auto StoredVal = State->getSVal(*RegionVal).getAs<loc::MemRegionVal>(); in checkValueAtLValForInvariantViolation() local
395 if (!StoredVal || !isa<SymbolicRegion>(StoredVal->getRegion())) in checkValueAtLValForInvariantViolation()
398 if (getNullConstraint(*StoredVal, State) == NullConstraint::IsNull) in checkValueAtLValForInvariantViolation()
627 auto StoredVal = State->getSVal(Region).getAs<loc::MemRegionVal>(); in checkLocation() local
628 if (!StoredVal) in checkLocation()
637 if (ProgramStateRef NewState = State->assume(*StoredVal, true)) { in checkLocation()
H A DNonNullParamChecker.cpp267 auto StoredVal = in checkBeginFunction() local
271 if (ProgramStateRef NewState = State->assume(StoredVal, true)) { in checkBeginFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp211 MaybeAlign StoreAlignment, Value *StoredVal,
414 Value *StoredVal = SI->getValueOperand(); in isLegalStore() local
419 if (DL->isNonIntegralPointerType(StoredVal->getType()->getScalarType())) in isLegalStore()
425 TypeSize SizeInBits = DL->getTypeSizeInBits(StoredVal->getType()); in isLegalStore()
448 Value *SplatValue = isBytewiseValue(StoredVal, *DL); in isLegalStore()
465 getMemSetPatternValue(StoredVal, DL)) { in isLegalStore()
700 Value *StoredVal = HeadStore->getValueOperand(); in processLoopStores() local
715 MaybeAlign(HeadStore->getAlign()), StoredVal, in processLoopStores()
1002 Value *StoredVal, Instruction *TheStore, in processLoopStridedStore() argument
1006 Value *SplatValue = isBytewiseValue(StoredVal, *DL); in processLoopStridedStore()
[all …]
H A DMemCpyOptimizer.cpp402 Value *StoredVal = NextStore->getValueOperand(); in tryMergingIntoMemset() local
406 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType())) in tryMergingIntoMemset()
410 if (DL.getTypeStoreSize(StoredVal->getType()).isScalable()) in tryMergingIntoMemset()
414 Value *StoredByte = isBytewiseValue(StoredVal, DL); in tryMergingIntoMemset()
771 Value *StoredVal = SI->getValueOperand(); in processStore() local
775 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType())) in processStore()
779 if (auto *LI = dyn_cast<LoadInst>(StoredVal)) in processStore()
H A DLowerMatrixIntrinsics.cpp1987 bool VisitStore(StoreInst *Inst, Value *StoredVal, Value *Ptr, in VisitStore() argument
1989 auto I = ShapeMap.find(StoredVal); in VisitStore()
1993 LowerStore(Inst, StoredVal, Ptr, Inst->getAlign(), in VisitStore()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZISelDAGToDAG.cpp1289 SDValue StoredVal, SelectionDAG *CurDAG, in isFusableLoadOpStorePattern() argument
1293 if (StoredVal.getResNo() != 0) in isFusableLoadOpStorePattern()
1297 if (!StoredVal.getNode()->hasNUsesOfValue(1, 0)) in isFusableLoadOpStorePattern()
1304 SDValue Load = StoredVal->getOperand(0); in isFusableLoadOpStorePattern()
1348 for (SDValue Op : StoredVal->ops()) in isFusableLoadOpStorePattern()
1379 SDValue StoredVal = StoreNode->getOperand(1); in tryFoldLoadStoreIntoMemOperand() local
1380 unsigned Opc = StoredVal->getOpcode(); in tryFoldLoadStoreIntoMemOperand()
1418 if (!isFusableLoadOpStorePattern(StoreNode, StoredVal, CurDAG, LoadNode, in tryFoldLoadStoreIntoMemOperand()
1422 SDValue Operand = StoredVal.getOperand(1); in tryFoldLoadStoreIntoMemOperand()
1444 ReplaceUses(SDValue(StoredVal.getNode(), 1), SDValue(Result, 0)); in tryFoldLoadStoreIntoMemOperand()
H A DSystemZTargetTransformInfo.cpp1219 const Value *StoredVal = SI->getValueOperand(); in getMemoryOpCost() local
1220 if (StoredVal->hasOneUse() && isBswapIntrinsicCall(StoredVal)) in getMemoryOpCost()
H A DSystemZISelLowering.cpp6864 static bool isOnlyUsedByStores(SDValue StoredVal, SelectionDAG &DAG) { in isOnlyUsedByStores() argument
6865 for (auto *U : StoredVal->uses()) { in isOnlyUsedByStores()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3369 if (StoredVal.getResNo() != 0) return false; in isFusableLoadOpStorePattern()
3372 if (!StoredVal.getNode()->hasNUsesOfValue(1, 0)) return false; in isFusableLoadOpStorePattern()
3378 SDValue Load = StoredVal->getOperand(LoadOpNo); in isFusableLoadOpStorePattern()
3461 for (SDValue Op : StoredVal->ops()) in isFusableLoadOpStorePattern()
3497 SDValue StoredVal = StoreNode->getOperand(1); in foldLoadStoreIntoMemOperand() local
3498 unsigned Opc = StoredVal->getOpcode(); in foldLoadStoreIntoMemOperand()
3514 IsNegate = isNullConstant(StoredVal.getOperand(0)); in foldLoadStoreIntoMemOperand()
3579 bool IsOne = isOneConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()
3580 bool IsNegOne = isAllOnesConstant(StoredVal.getOperand(1)); in foldLoadStoreIntoMemOperand()
3654 SDValue Operand = StoredVal->getOperand(1-LoadOpNo); in foldLoadStoreIntoMemOperand()
[all …]
H A DX86ISelLowering.cpp24429 StoredVal = DAG.getBitcast(StoreVT, StoredVal); in scalarizeVectorStore()
24477 StoredVal = DAG.getBitcast(MVT::i16, StoredVal); in LowerStore()
24478 StoredVal = DAG.getNode(ISD::TRUNCATE, dl, MVT::i8, StoredVal); in LowerStore()
24500 if (StoredVal.hasOneUse() && isFreeToSplitVector(StoredVal.getNode(), DAG)) in LowerStore()
24515 StoredVal = DAG.getNode(ISD::CONCAT_VECTORS, dl, WideVT, StoredVal, in LowerStore()
24523 StoredVal = DAG.getBitcast(CastVT, StoredVal); in LowerStore()
24524 StoredVal = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, dl, StVT, StoredVal, in LowerStore()
50394 StoredVal = DAG.getBitcast(NewVT, StoredVal); in combineStore()
50421 Ops[0] = StoredVal; in combineStore()
50456 StoredVal = combinevXi1ConstantToInteger(StoredVal, DAG); in combineStore()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp411 auto RecordStore = [&](const Value* StoredVal) { in analyzeAllUses() argument
412 if (V == StoredVal) { in analyzeAllUses()
421 auto TypeSize = DL.getTypeStoreSize(StoredVal->getType()); in analyzeAllUses()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1253 Instruction *StoredVal = cast<Instruction>(SI->getOperand(0)); in TryToShrinkGlobalToBoolean() local
1258 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) { in TryToShrinkGlobalToBoolean()
1265 assert((isa<CastInst>(StoredVal) || isa<SelectInst>(StoredVal)) && in TryToShrinkGlobalToBoolean()
1267 StoreVal = StoredVal->getOperand(0); in TryToShrinkGlobalToBoolean()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp1933 Value *StoredVal = SI->getValueOperand(); in isLegalStore() local
1937 uint64_t SizeInBits = DL->getTypeSizeInBits(StoredVal->getType()); in isLegalStore()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp9504 Value *StoredVal = State.get(StoredValue, Part); in execute() local
9508 NewSI = Builder.CreateMaskedScatter(StoredVal, VectorGep, Alignment, in execute()
9514 StoredVal = Builder.CreateVectorReverse(StoredVal, "reverse"); in execute()
9520 NewSI = Builder.CreateMaskedStore(StoredVal, VecPtr, Alignment, in execute()
9523 NewSI = Builder.CreateAlignedStore(StoredVal, VecPtr, Alignment); in execute()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp3503 SVal StoredVal = State->getSVal(MR); in processPointerEscapedOnBind() local
3504 if (StoredVal != LocAndVal.second) in processPointerEscapedOnBind()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp19889 SDValue StoredVal; in mergeStoresOfConstantsOrVecElts() local
19920 StoredVal = DAG.getNode(MemVT.isVector() ? ISD::CONCAT_VECTORS in mergeStoresOfConstantsOrVecElts()
19956 StoredVal = DAG.getNode(MemVT.isVector() ? ISD::CONCAT_VECTORS in mergeStoresOfConstantsOrVecElts()
19999 StoredVal = DAG.getConstant(StoreInt, DL, StoreTy); in mergeStoresOfConstantsOrVecElts()
20014 NewChain, DL, StoredVal, FirstInChain->getBasePtr(), in mergeStoresOfConstantsOrVecElts()
20023 ConstantSDNode *C = cast<ConstantSDNode>(StoredVal); in mergeStoresOfConstantsOrVecElts()
20339 SDValue StoredVal = ST->getValue(); in tryStoreMergeOfConstants() local
20341 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(StoredVal)) in tryStoreMergeOfConstants()
20345 else if (ISD::isBuildVectorAllZeros(StoredVal.getNode())) in tryStoreMergeOfConstants()
20828 SDValue StoredVal = peekThroughBitcasts(St->getValue()); in mergeConsecutiveStores() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp5277 SDValue StoredVal = Store->getValue(); in expandUnalignedRVVStore() local
5278 MVT VT = StoredVal.getSimpleValueType(); in expandUnalignedRVVStore()
5286 StoredVal = DAG.getBitcast(NewVT, StoredVal); in expandUnalignedRVVStore()
5287 return DAG.getStore(Store->getChain(), DL, StoredVal, Store->getBasePtr(), in expandUnalignedRVVStore()