Searched defs:StoredVal (Results 1 - 9 of 9) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DGlobalStatus.cpp92 Value *StoredVal = SI->getOperand(0); local
94 if (Constant *C = dyn_cast<Constant>(StoredVal)) {
101 if (StoredVal == GV->getInitializer()) {
104 } else if (isa<LoadInst>(StoredVal) &&
105 cast<LoadInst>(StoredVal)->getOperand(0) == GV) {
110 GS.StoredOnceValue = StoredVal;
112 GS.StoredOnceValue == StoredVal) {
/external/llvm/lib/Transforms/Scalar/
H A DLoopIdiomRecognize.cpp775 Value *StoredVal = SI->getValueOperand();
779 uint64_t SizeInBits = DL->getTypeSizeInBits(StoredVal->getType());
810 StoredVal, SI, StoreEv, BECount))
816 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) {
944 unsigned StoreAlignment, Value *StoredVal,
952 Value *SplatValue = isBytewiseValue(StoredVal);
967 (PatternValue = getMemSetPatternValue(StoredVal, *DL))) {
943 processLoopStridedStore(Value *DestPtr, unsigned StoreSize, unsigned StoreAlignment, Value *StoredVal, Instruction *TheStore, const SCEVAddRecExpr *Ev, const SCEV *BECount) argument
H A DGVN.cpp831 static bool CanCoerceMustAliasedValueToLoad(Value *StoredVal, argument
837 StoredVal->getType()->isStructTy() ||
838 StoredVal->getType()->isArrayTy())
842 if (DL.getTypeSizeInBits(StoredVal->getType()) <
855 static Value *CoerceAvailableValueToLoadType(Value *StoredVal, argument
859 if (!CanCoerceMustAliasedValueToLoad(StoredVal, LoadedTy, DL))
863 Type *StoredValTy = StoredVal->getType();
873 return new BitCastInst(StoredVal, LoadedTy, "", InsertPt);
878 StoredVal = new PtrToIntInst(StoredVal, StoredValT
1924 Value *StoredVal = DepSI->getValueOperand(); local
[all...]
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp1924 SVal StoredVal = State->getSVal(regionLoc->getRegion()); local
1925 if (StoredVal != Val)
/external/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp1927 SDValue StoredVal, SelectionDAG *CurDAG,
1934 if (StoredVal.getResNo() != 0) return false;
1937 if (!StoredVal.getNode()->hasNUsesOfValue(1, 0)) return false;
1943 SDValue Load = StoredVal->getOperand(0);
2716 SDValue StoredVal = StoreNode->getOperand(1); local
2717 unsigned Opc = StoredVal->getOpcode();
2721 if (!isLoadIncOrDecStore(StoreNode, Opc, StoredVal, CurDAG,
2742 ReplaceUses(SDValue(StoredVal.getNode(), 1), SDValue(Result, 0));
1926 isLoadIncOrDecStore(StoreSDNode *StoreNode, unsigned Opc, SDValue StoredVal, SelectionDAG *CurDAG, LoadSDNode* &LoadNode, SDValue &InputChain) argument
/external/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1102 Instruction *StoredVal) {
1125 if (InVal == StoredVal) continue;
1656 Instruction *StoredVal = cast<Instruction>(SI->getOperand(0)); local
1658 // If we've already replaced the input, StoredVal will be a cast or
1661 if (LoadInst *LI = dyn_cast<LoadInst>(StoredVal)) {
1667 assert((isa<CastInst>(StoredVal) || isa<SelectInst>(StoredVal)) &&
1669 StoreVal = StoredVal->getOperand(0);
1101 AllGlobalLoadUsesSimpleEnoughForHeapSRA(const GlobalVariable *GV, Instruction *StoredVal) argument
/external/clang/lib/StaticAnalyzer/Checkers/
H A DRetainCountChecker.cpp3479 SVal StoredVal = state->getSVal(regionLoc->getRegion()); local
3480 if (StoredVal != val)
/external/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1703 // another expression. So don't use a reference type for "StoredVal".
1704 VectorParts StoredVal = getVectorValue(SI->getValueOperand()); local
1713 StoredVal[Part] = reverseVector(StoredVal[Part]);
1722 Builder.CreateStore(StoredVal[Part], VecPtr)->setAlignment(Alignment);
/external/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp9035 SDValue StoredVal = St->getValue();
9036 bool IsLoadSrc = isa<LoadSDNode>(StoredVal);
9037 if (!isa<ConstantSDNode>(StoredVal) && !isa<ConstantFPSDNode>(StoredVal) &&
9186 SDValue StoredVal = St->getValue(); local
9188 if (ConstantSDNode *C = dyn_cast<ConstantSDNode>(StoredVal)) {
9190 } else if (ConstantFPSDNode *C = dyn_cast<ConstantFPSDNode>(StoredVal)) {
9206 TLI.getTypeToTransformTo(*DAG.getContext(), StoredVal.getValueType());
9247 SDValue StoredVal; local
9252 StoredVal
[all...]

Completed in 370 milliseconds