/external/llvm/lib/Transforms/Utils/ |
D | GlobalStatus.cpp | 99 Value *StoredVal = SI->getOperand(0); in analyzeGlobalAux() local 101 if (Constant *C = dyn_cast<Constant>(StoredVal)) { in analyzeGlobalAux() 108 if (StoredVal == GV->getInitializer()) { in analyzeGlobalAux() 111 } else if (isa<LoadInst>(StoredVal) && in analyzeGlobalAux() 112 cast<LoadInst>(StoredVal)->getOperand(0) == GV) { in analyzeGlobalAux() 117 GS.StoredOnceValue = StoredVal; in analyzeGlobalAux() 119 GS.StoredOnceValue == StoredVal) { in analyzeGlobalAux()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 851 static bool CanCoerceMustAliasedValueToLoad(Value *StoredVal, in CanCoerceMustAliasedValueToLoad() argument 857 StoredVal->getType()->isStructTy() || in CanCoerceMustAliasedValueToLoad() 858 StoredVal->getType()->isArrayTy()) in CanCoerceMustAliasedValueToLoad() 862 if (DL.getTypeSizeInBits(StoredVal->getType()) < in CanCoerceMustAliasedValueToLoad() 875 static Value *CoerceAvailableValueToLoadType(Value *StoredVal, Type *LoadedTy, in CoerceAvailableValueToLoadType() argument 878 if (!CanCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, DL)) in CoerceAvailableValueToLoadType() 882 Type *StoredValTy = StoredVal->getType(); in CoerceAvailableValueToLoadType() 892 return IRB.CreateBitCast(StoredVal, LoadedTy); in CoerceAvailableValueToLoadType() 897 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType() 905 StoredVal = IRB.CreateBitCast(StoredVal, TypeToCastTo); in CoerceAvailableValueToLoadType() [all …]
|
D | LoopIdiomRecognize.cpp | 305 Value *StoredVal = SI->getValueOperand(); in isLegalStore() local 309 uint64_t SizeInBits = DL->getTypeSizeInBits(StoredVal->getType()); in isLegalStore() 387 Value *StoredVal = SI->getValueOperand(); in processLoopStore() local 402 StoredVal, SI, StoreEv, BECount, NegStride)) in processLoopStore() 497 Value *StoredVal, Instruction *TheStore, const SCEVAddRecExpr *Ev, in processLoopStridedStore() argument 504 Value *SplatValue = isBytewiseValue(StoredVal); in processLoopStridedStore() 517 (PatternValue = getMemSetPatternValue(StoredVal, DL))) { in processLoopStridedStore()
|
D | ScalarReplAggregates.cpp | 329 Value *ConvertScalar_InsertValue(Value *StoredVal, Value *ExistingVal,
|
/external/llvm/lib/Target/X86/ |
D | X86ISelDAGToDAG.cpp | 2076 SDValue StoredVal, SelectionDAG *CurDAG, in isLoadIncOrDecStore() argument 2083 if (StoredVal.getResNo() != 0) return false; in isLoadIncOrDecStore() 2086 if (!StoredVal.getNode()->hasNUsesOfValue(1, 0)) return false; in isLoadIncOrDecStore() 2092 SDValue Load = StoredVal->getOperand(0); in isLoadIncOrDecStore() 2941 SDValue StoredVal = StoreNode->getOperand(1); in Select() local 2942 unsigned Opc = StoredVal->getOpcode(); in Select() 2946 if (!isLoadIncOrDecStore(StoreNode, Opc, StoredVal, CurDAG, in Select() 2967 ReplaceUses(SDValue(StoredVal.getNode(), 1), SDValue(Result, 0)); in Select()
|
D | X86ISelLowering.cpp | 26128 SDValue StoredVal = St->getOperand(1); in PerformSTORECombine() local 26143 SDValue Value0 = Extract128BitVector(StoredVal, 0, DAG, dl); in PerformSTORECombine() 26144 SDValue Value1 = Extract128BitVector(StoredVal, NumElems/2, DAG, dl); in PerformSTORECombine()
|
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1104 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/ |
D | LoopVectorize.cpp | 2455 VectorParts StoredVal = getVectorValue(SI->getValueOperand()); in vectorizeMemoryInstruction() local 2465 StoredVal[Part] = reverseVector(StoredVal[Part]); in vectorizeMemoryInstruction() 2478 NewSI = Builder.CreateMaskedStore(StoredVal[Part], VecPtr, Alignment, in vectorizeMemoryInstruction() 2481 NewSI = Builder.CreateAlignedStore(StoredVal[Part], VecPtr, Alignment); in vectorizeMemoryInstruction()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 11124 SDValue StoredVal; in MergeStoresOfConstantsOrVecElts() local 11137 StoredVal = getMergedConstantVectorStore(DAG, DL, StoreNodes, Chains, Ty); in MergeStoresOfConstantsOrVecElts() 11151 StoredVal = DAG.getNode(IsVec ? ISD::CONCAT_VECTORS : ISD::BUILD_VECTOR, in MergeStoresOfConstantsOrVecElts() 11182 StoredVal = DAG.getConstant(StoreInt, DL, StoreTy); in MergeStoresOfConstantsOrVecElts() 11188 SDValue NewStore = DAG.getStore(NewChain, DL, StoredVal, in MergeStoresOfConstantsOrVecElts() 11353 SDValue StoredVal = St->getValue(); in MergeConsecutiveStores() local 11354 bool IsLoadSrc = isa<LoadSDNode>(StoredVal); in MergeConsecutiveStores() 11355 bool IsConstantSrc = isa<ConstantSDNode>(StoredVal) || in MergeConsecutiveStores() 11356 isa<ConstantFPSDNode>(StoredVal); in MergeConsecutiveStores() 11357 bool IsExtractVecSrc = (StoredVal.getOpcode() == ISD::EXTRACT_VECTOR_ELT || in MergeConsecutiveStores() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 2090 SVal StoredVal = State->getSVal(regionLoc->getRegion()); in processPointerEscapedOnBind() local 2091 if (StoredVal != Val) in processPointerEscapedOnBind()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | RetainCountChecker.cpp | 3636 SVal StoredVal = state->getSVal(regionLoc->getRegion()); in checkBind() local 3637 if (StoredVal != val) in checkBind()
|