Searched refs:StoredVal (Results 1 - 15 of 15) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DGlobalStatus.cpp99 Value *StoredVal = SI->getOperand(0); local
101 if (Constant *C = dyn_cast<Constant>(StoredVal)) {
108 if (GV->hasInitializer() && StoredVal == GV->getInitializer()) {
111 } else if (isa<LoadInst>(StoredVal) &&
112 cast<LoadInst>(StoredVal)->getOperand(0) == GV) {
117 GS.StoredOnceValue = StoredVal;
119 GS.StoredOnceValue == StoredVal) {
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DGVN.cpp664 static bool CanCoerceMustAliasedValueToLoad(Value *StoredVal, argument
670 StoredVal->getType()->isStructTy() ||
671 StoredVal->getType()->isArrayTy())
675 if (TD.getTypeSizeInBits(StoredVal->getType()) <
689 static Value *CoerceAvailableValueToLoadType(Value *StoredVal, argument
693 if (!CanCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, TD))
697 Type *StoredValTy = StoredVal->getType();
706 return new BitCastInst(StoredVal, LoadedTy, "", InsertPt);
711 StoredVal = new PtrToIntInst(StoredVal, StoredValT
1782 Value *StoredVal = DepSI->getValueOperand(); local
[all...]
H A DLoopIdiomRecognize.cpp272 Value *StoredVal = SI->getValueOperand();
276 uint64_t SizeInBits = TD->getTypeSizeInBits(StoredVal->getType());
307 StoredVal, SI, StoreEv, BECount))
313 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) {
441 unsigned StoreAlignment, Value *StoredVal,
449 Value *SplatValue = isBytewiseValue(StoredVal);
461 (PatternValue = getMemSetPatternValue(StoredVal, *TD))) {
440 processLoopStridedStore(Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, Value *StoredVal, Instruction *TheStore, const SCEVAddRecExpr *Ev, const SCEV *BECount) argument
H A DScalarReplAggregates.cpp281 Value *ConvertScalar_InsertValue(Value *StoredVal, Value *ExistingVal,
/external/llvm/lib/Transforms/Scalar/
H A DGVN.cpp698 static bool CanCoerceMustAliasedValueToLoad(Value *StoredVal, argument
704 StoredVal->getType()->isStructTy() ||
705 StoredVal->getType()->isArrayTy())
709 if (DL.getTypeSizeInBits(StoredVal->getType()) <
722 static Value *CoerceAvailableValueToLoadType(Value *StoredVal, Type *LoadedTy, argument
725 assert(CanCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, DL) &&
729 Type *StoredValTy = StoredVal->getType();
739 return IRB.CreateBitCast(StoredVal, LoadedTy);
744 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValT
[all...]
H A DLoopIdiomRecognize.cpp116 unsigned StoreAlignment, Value *StoredVal,
345 Value *StoredVal = SI->getValueOperand();
349 uint64_t SizeInBits = DL->getTypeSizeInBits(StoredVal->getType());
371 Value *SplatValue = isBytewiseValue(StoredVal);
386 (PatternValue = getMemSetPatternValue(StoredVal, DL))) {
623 Value *StoredVal = HeadStore->getValueOperand(); local
636 StoredVal, HeadStore, AdjacentStores, StoreEv,
746 Value *StoredVal, Instruction *TheStore,
749 Value *SplatValue = isBytewiseValue(StoredVal);
753 PatternValue = getMemSetPatternValue(StoredVal, D
744 processLoopStridedStore( Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, Value *StoredVal, Instruction *TheStore, SmallPtrSetImpl<Instruction *> &Stores, const SCEVAddRecExpr *Ev, const SCEV *BECount, bool NegStride) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DGlobalOpt.cpp213 Value *StoredVal = SI->getOperand(0); local
214 if (StoredVal == GV->getInitializer()) {
217 } else if (isa<LoadInst>(StoredVal) &&
218 cast<LoadInst>(StoredVal)->getOperand(0) == GV) {
223 GS.StoredOnceValue = StoredVal;
225 GS.StoredOnceValue == StoredVal) {
1122 Instruction *StoredVal) {
1146 if (InVal == StoredVal) continue;
1665 Instruction *StoredVal = cast<Instruction>(SI->getOperand(0)); local
1667 // If we've already replaced the input, StoredVal wil
1121 AllGlobalLoadUsesSimpleEnoughForHeapSRA(const GlobalVariable *GV, Instruction *StoredVal) argument
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DNullabilityChecker.cpp370 auto StoredVal =
372 if (!StoredVal)
375 if (getNullConstraint(*StoredVal, State) == NullConstraint::IsNull)
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1061 Instruction *StoredVal) {
1082 if (InVal == StoredVal) continue;
1608 Instruction *StoredVal = cast<Instruction>(SI->getOperand(0)); local
1610 // If we've already replaced the input, StoredVal will be a cast or
1613 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) {
1619 assert((isa<CastInst>(StoredVal) || isa<SelectInst>(StoredVal)) &&
1621 StoreVal = StoredVal->getOperand(0);
1060 AllGlobalLoadUsesSimpleEnoughForHeapSRA(const GlobalVariable *GV, Instruction *StoredVal) argument
/external/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp1797 SDValue StoredVal, SelectionDAG *CurDAG,
1804 if (StoredVal.getResNo() != 0) return false;
1807 if (!StoredVal.getNode()->hasNUsesOfValue(1, 0)) return false;
1813 SDValue Load = StoredVal->getOperand(0);
2660 SDValue StoredVal = StoreNode->getOperand(1); local
2661 unsigned Opc = StoredVal->getOpcode();
2665 if (!isLoadIncOrDecStore(StoreNode, Opc, StoredVal, CurDAG,
2686 ReplaceUses(SDValue(StoredVal.getNode(), 1), SDValue(Result, 0));
1796 isLoadIncOrDecStore(StoreSDNode *StoreNode, unsigned Opc, SDValue StoredVal, SelectionDAG *CurDAG, LoadSDNode* &LoadNode, SDValue &InputChain) argument
H A DX86ISelLowering.cpp29173 SDValue StoredVal = St->getOperand(1); local
[all...]
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp2540 // another expression. So don't use a reference type for "StoredVal".
2541 VectorParts StoredVal = getVectorValue(SI->getValueOperand()); local
2547 NewSI = Builder.CreateMaskedScatter(StoredVal[Part], VectorGep[Part],
2557 StoredVal[Part] = reverseVector(StoredVal[Part]);
2571 NewSI = Builder.CreateMaskedStore(StoredVal[Part], VecPtr, Alignment,
2575 Builder.CreateAlignedStore(StoredVal[Part], VecPtr, Alignment);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp11254 SDValue StoredVal; local
11267 StoredVal = getMergedConstantVectorStore(DAG, DL, StoreNodes, Chains, Ty);
11281 StoredVal = DAG.getNode(IsVec ? ISD::CONCAT_VECTORS : ISD::BUILD_VECTOR,
11312 StoredVal = DAG.getConstant(StoreInt, DL, StoreTy);
11318 SDValue NewStore = DAG.getStore(NewChain, DL, StoredVal,
11514 SDValue StoredVal = St->getValue();
11515 bool IsLoadSrc = isa<LoadSDNode>(StoredVal);
11516 bool IsConstantSrc = isa<ConstantSDNode>(StoredVal) ||
11517 isa<ConstantFPSDNode>(StoredVal);
11518 bool IsExtractVecSrc = (StoredVal
11609 SDValue StoredVal = St->getValue(); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2152 SVal StoredVal = State->getSVal(regionLoc->getRegion()); local
2153 if (StoredVal != Val)
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86ISelLowering.cpp13621 SDValue StoredVal = St->getOperand(1); local
13629 StoredVal.getNode()->getOpcode() == ISD::CONCAT_VECTORS &&
13630 StoredVal.getNumOperands() == 2) {
13632 SDValue Value0 = StoredVal.getOperand(0);
13633 SDValue Value1 = StoredVal.getOperand(1);

Completed in 422 milliseconds