Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DGlobalStatus.cpp95 Value *StoredVal = SI->getOperand(0); in analyzeGlobalAux() local
97 if (Constant *C = dyn_cast<Constant>(StoredVal)) { in analyzeGlobalAux()
104 if (StoredVal == GV->getInitializer()) { in analyzeGlobalAux()
107 } else if (isa<LoadInst>(StoredVal) && in analyzeGlobalAux()
108 cast<LoadInst>(StoredVal)->getOperand(0) == GV) { in analyzeGlobalAux()
113 GS.StoredOnceValue = StoredVal; in analyzeGlobalAux()
115 GS.StoredOnceValue == StoredVal) { in analyzeGlobalAux()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp837 static bool CanCoerceMustAliasedValueToLoad(Value *StoredVal, in CanCoerceMustAliasedValueToLoad() argument
843 StoredVal->getType()->isStructTy() || in CanCoerceMustAliasedValueToLoad()
844 StoredVal->getType()->isArrayTy()) in CanCoerceMustAliasedValueToLoad()
848 if (DL.getTypeSizeInBits(StoredVal->getType()) < in CanCoerceMustAliasedValueToLoad()
861 static Value *CoerceAvailableValueToLoadType(Value *StoredVal, in CoerceAvailableValueToLoadType() argument
865 if (!CanCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, DL)) in CoerceAvailableValueToLoadType()
869 Type *StoredValTy = StoredVal->getType(); in CoerceAvailableValueToLoadType()
879 return new BitCastInst(StoredVal, LoadedTy, "", InsertPt); in CoerceAvailableValueToLoadType()
884 StoredVal = new PtrToIntInst(StoredVal, StoredValTy, "", InsertPt); in CoerceAvailableValueToLoadType()
892 StoredVal = new BitCastInst(StoredVal, TypeToCastTo, "", InsertPt); in CoerceAvailableValueToLoadType()
[all …]
DLoopIdiomRecognize.cpp731 Value *StoredVal = SI->getValueOperand(); in processLoopStore() local
736 uint64_t SizeInBits = DL.getTypeSizeInBits(StoredVal->getType()); in processLoopStore()
767 StoredVal, SI, StoreEv, BECount)) in processLoopStore()
773 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) { in processLoopStore()
901 unsigned StoreAlignment, Value *StoredVal, in processLoopStridedStore() argument
909 Value *SplatValue = isBytewiseValue(StoredVal); in processLoopStridedStore()
923 (PatternValue = getMemSetPatternValue(StoredVal, DL))) { in processLoopStridedStore()
DScalarReplAggregates.cpp328 Value *ConvertScalar_InsertValue(Value *StoredVal, Value *ExistingVal,
/external/llvm/lib/Target/X86/
DX86ISelDAGToDAG.cpp1940 SDValue StoredVal, SelectionDAG *CurDAG, in isLoadIncOrDecStore() argument
1947 if (StoredVal.getResNo() != 0) return false; in isLoadIncOrDecStore()
1950 if (!StoredVal.getNode()->hasNUsesOfValue(1, 0)) return false; in isLoadIncOrDecStore()
1956 SDValue Load = StoredVal->getOperand(0); in isLoadIncOrDecStore()
2777 SDValue StoredVal = StoreNode->getOperand(1); in Select() local
2778 unsigned Opc = StoredVal->getOpcode(); in Select()
2782 if (!isLoadIncOrDecStore(StoreNode, Opc, StoredVal, CurDAG, in Select()
2803 ReplaceUses(SDValue(StoredVal.getNode(), 1), SDValue(Result, 0)); in Select()
DX86ISelLowering.cpp22732 SDValue StoredVal = St->getOperand(1); in PerformSTORECombine() local
22745 SDValue Value0 = Extract128BitVector(StoredVal, 0, DAG, dl); in PerformSTORECombine()
22746 SDValue Value1 = Extract128BitVector(StoredVal, NumElems/2, DAG, dl); in PerformSTORECombine()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1104 Instruction *StoredVal) { in AllGlobalLoadUsesSimpleEnoughForHeapSRA() argument
1125 if (InVal == StoredVal) continue; in AllGlobalLoadUsesSimpleEnoughForHeapSRA()
1651 Instruction *StoredVal = cast<Instruction>(SI->getOperand(0)); in TryToShrinkGlobalToBoolean() local
1656 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) { in TryToShrinkGlobalToBoolean()
1662 assert((isa<CastInst>(StoredVal) || isa<SelectInst>(StoredVal)) && in TryToShrinkGlobalToBoolean()
1664 StoreVal = StoredVal->getOperand(0); in TryToShrinkGlobalToBoolean()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1838 VectorParts StoredVal = getVectorValue(SI->getValueOperand()); in vectorizeMemoryInstruction() local
1848 StoredVal[Part] = reverseVector(StoredVal[Part]); in vectorizeMemoryInstruction()
1861 NewSI = Builder.CreateMaskedStore(StoredVal[Part], VecPtr, Alignment, in vectorizeMemoryInstruction()
1864 NewSI = Builder.CreateAlignedStore(StoredVal[Part], VecPtr, Alignment); in vectorizeMemoryInstruction()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp10080 SDValue StoredVal; in MergeStoresOfConstantsOrVecElts() local
10091 StoredVal = DAG.getConstant(0, Ty); in MergeStoresOfConstantsOrVecElts()
10104 StoredVal = DAG.getNode(ISD::BUILD_VECTOR, DL, Ty, Ops); in MergeStoresOfConstantsOrVecElts()
10133 StoredVal = DAG.getConstant(StoreInt, StoreTy); in MergeStoresOfConstantsOrVecElts()
10136 SDValue NewStore = DAG.getStore(LatestOp->getChain(), DL, StoredVal, in MergeStoresOfConstantsOrVecElts()
10182 SDValue StoredVal = St->getValue(); in MergeConsecutiveStores() local
10183 bool IsLoadSrc = isa<LoadSDNode>(StoredVal); in MergeConsecutiveStores()
10184 bool IsConstantSrc = isa<ConstantSDNode>(StoredVal) || in MergeConsecutiveStores()
10185 isa<ConstantFPSDNode>(StoredVal); in MergeConsecutiveStores()
10186 bool IsExtractVecEltSrc = (StoredVal.getOpcode() == ISD::EXTRACT_VECTOR_ELT); in MergeConsecutiveStores()
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp2036 SVal StoredVal = State->getSVal(regionLoc->getRegion()); in processPointerEscapedOnBind() local
2037 if (StoredVal != Val) in processPointerEscapedOnBind()
/external/clang/lib/StaticAnalyzer/Checkers/
DRetainCountChecker.cpp3579 SVal StoredVal = state->getSVal(regionLoc->getRegion()); in checkBind() local
3580 if (StoredVal != val) in checkBind()