HomeSort by: relevance | last modified time | path
    Searched refs:StoredVal (Results 1 - 17 of 17) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
VNCoercion.cpp 17 bool canCoerceMustAliasedValueToLoad(Value *StoredVal, Type *LoadTy,
19 Type *StoredTy = StoredVal->getType();
47 if (auto *CI = dyn_cast<Constant>(StoredVal))
67 static T *coerceAvailableValueToLoadTypeHelper(T *StoredVal, Type *LoadedTy,
70 assert(canCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, DL) &&
72 if (auto *C = dyn_cast<Constant>(StoredVal))
73 StoredVal = ConstantFoldConstant(C, DL);
76 Type *StoredValTy = StoredVal->getType();
85 StoredVal = Helper.CreateBitCast(StoredVal, LoadedTy)
    [all...]
GlobalStatus.cpp 110 Value *StoredVal = SI->getOperand(0);
112 if (Constant *C = dyn_cast<Constant>(StoredVal)) {
119 if (GV->hasInitializer() && StoredVal == GV->getInitializer()) {
122 } else if (isa<LoadInst>(StoredVal) &&
123 cast<LoadInst>(StoredVal)->getOperand(0) == GV) {
128 GS.StoredOnceValue = StoredVal;
130 GS.StoredOnceValue == StoredVal) {
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
VNCoercion.h 37 bool canCoerceMustAliasedValueToLoad(Value *StoredVal, Type *LoadTy,
46 Value *coerceAvailableValueToLoadType(Value *StoredVal, Type *LoadedTy,
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
NonNullParamChecker.cpp 265 auto StoredVal =
269 if (ProgramStateRef NewState = State->assume(StoredVal, true)) {
NullabilityChecker.cpp 350 auto StoredVal = State->getSVal(*RegionVal).getAs<loc::MemRegionVal>();
351 if (!StoredVal || !isa<SymbolicRegion>(StoredVal->getRegion()))
354 if (getNullConstraint(*StoredVal, State) == NullConstraint::IsNull)
543 auto StoredVal = State->getSVal(Region).getAs<loc::MemRegionVal>();
544 if (!StoredVal)
553 if (ProgramStateRef NewState = State->assume(*StoredVal, true)) {
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
LoopIdiomRecognize.cpp 220 MaybeAlign StoreAlignment, Value *StoredVal,
487 Value *StoredVal = SI->getValueOperand();
492 if (DL->isNonIntegralPointerType(StoredVal->getType()->getScalarType()))
498 TypeSize SizeInBits = DL->getTypeSizeInBits(StoredVal->getType());
521 Value *SplatValue = isBytewiseValue(StoredVal, *DL);
538 getMemSetPatternValue(StoredVal, DL)) {
776 Value *StoredVal = HeadStore->getValueOperand();
790 StoredVal, HeadStore, AdjacentStores, StoreEv,
1031 Value *StoredVal, Instruction *TheStore,
1034 Value *SplatValue = isBytewiseValue(StoredVal, *DL)
    [all...]
MemCpyOptimizer.cpp 422 Value *StoredVal = NextStore->getValueOperand();
426 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType()))
430 Value *StoredByte = isBytewiseValue(StoredVal, DL);
663 Value *StoredVal = SI->getValueOperand();
667 if (DL.isNonIntegralPointerType(StoredVal->getType()->getScalarType()))
671 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) {
LowerMatrixIntrinsics.cpp 1507 bool VisitStore(StoreInst *Inst, Value *StoredVal, Value *Ptr,
1509 auto I = ShapeMap.find(StoredVal);
1513 LowerStore(Inst, StoredVal, Ptr, Inst->getAlign(),
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZISelDAGToDAG.cpp 1248 SDValue StoredVal, SelectionDAG *CurDAG,
1252 if (StoredVal.getResNo() != 0)
1256 if (!StoredVal.getNode()->hasNUsesOfValue(1, 0))
1263 SDValue Load = StoredVal->getOperand(0);
1306 // Add the other operand of StoredVal to worklist.
1307 for (SDValue Op : StoredVal->ops())
1338 SDValue StoredVal = StoreNode->getOperand(1);
1339 unsigned Opc = StoredVal->getOpcode();
1377 if (!isFusableLoadOpStorePattern(StoreNode, StoredVal, CurDAG, LoadNode,
1381 SDValue Operand = StoredVal.getOperand(1)
    [all...]
SystemZTargetTransformInfo.cpp 1119 const Value *StoredVal = SI->getValueOperand();
1120 if (StoredVal->hasOneUse() && isBswapIntrinsicCall(StoredVal))
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86ISelDAGToDAG.cpp 2995 SDValue StoredVal, SelectionDAG *CurDAG,
3000 if (StoredVal.getResNo() != 0) return false;
3003 if (!StoredVal.getNode()->hasNUsesOfValue(1, 0)) return false;
3009 SDValue Load = StoredVal->getOperand(LoadOpNo);
3092 for (SDValue Op : StoredVal->ops())
3128 SDValue StoredVal = StoreNode->getOperand(1);
3129 unsigned Opc = StoredVal->getOpcode();
3145 IsNegate = isNullConstant(StoredVal.getOperand(0));
3161 if (!isFusableLoadOpStorePattern(StoreNode, StoredVal, CurDAG, LoadOpNo,
3168 if (!isFusableLoadOpStorePattern(StoreNode, StoredVal, CurDAG, LoadOpNo
    [all...]
X86ISelLowering.cpp 24146 SDValue StoredVal = Store->getValue();
24147 assert((StoredVal.getValueType().is256BitVector() ||
24148 StoredVal.getValueType().is512BitVector()) &&
24161 std::tie(Value0, Value1) = splitVector(StoredVal, DAG, DL);
24181 SDValue StoredVal = Store->getValue();
24183 StoredVal.getValueType().is128BitVector() && "Expecting 128-bit op");
24184 StoredVal = DAG.getBitcast(StoreVT, StoredVal);
24202 SDValue Scl = DAG.getNode(ISD::EXTRACT_VECTOR_ELT, DL, StoreSVT, StoredVal,
24217 SDValue StoredVal = St->getValue()
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
GlobalOpt.cpp 1235 Instruction *StoredVal = cast<Instruction>(SI->getOperand(0));
1237 // If we've already replaced the input, StoredVal will be a cast or
1240 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) {
1247 assert((isa<CastInst>(StoredVal) || isa<SelectInst>(StoredVal)) &&
1249 StoreVal = StoredVal->getOperand(0);
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonLoopIdiomRecognition.cpp 1938 Value *StoredVal = SI->getValueOperand();
1942 uint64_t SizeInBits = DL->getTypeSizeInBits(StoredVal->getType());
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
LoopVectorize.cpp 2953 Value *StoredVal = State.get(StoredValue, Part);
2957 NewSI = Builder.CreateMaskedScatter(StoredVal, VectorGep, Alignment,
2963 StoredVal = reverseVector(StoredVal);
2965 // another expression. So don't call resetVectorValue(StoredVal).
2969 NewSI = Builder.CreateMaskedStore(StoredVal, VecPtr, Alignment,
2972 NewSI = Builder.CreateAlignedStore(StoredVal, VecPtr, Alignment);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp 16744 SDValue StoredVal;
16772 StoredVal = DAG.getNode(MemVT.isVector() ? ISD::CONCAT_VECTORS
16805 StoredVal = DAG.getNode(MemVT.isVector() ? ISD::CONCAT_VECTORS
16844 StoredVal = DAG.getConstant(StoreInt, DL, StoreTy);
16854 DAG.getStore(NewChain, DL, StoredVal, FirstInChain->getBasePtr(),
16858 TLI.getTypeToTransformTo(*DAG.getContext(), StoredVal.getValueType());
16860 ConstantSDNode *C = cast<ConstantSDNode>(StoredVal);
16866 FirstInChain->getPointerInfo(), StoredVal.getValueType() /*TVT*/,
17161 SDValue StoredVal = ST->getValue();
17163 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(StoredVal))
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
ExprEngine.cpp 2811 SVal StoredVal = State->getSVal(MR);
2812 if (StoredVal != LocAndVal.second)

Completed in 115 milliseconds