Home
last modified time | relevance | path

Searched refs:LoadPtr (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp153 static int analyzeLoadFromClobberingWrite(Type *LoadTy, Value *LoadPtr, in analyzeLoadFromClobberingWrite() argument
165 Value *LoadBase = GetPointerBaseWithConstantOffset(LoadPtr, LoadOffset, DL); in analyzeLoadFromClobberingWrite()
208 int analyzeLoadFromClobberingStore(Type *LoadTy, Value *LoadPtr, in analyzeLoadFromClobberingStore() argument
218 return analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, StorePtr, StoreSize, in analyzeLoadFromClobberingStore()
225 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI, in analyzeLoadFromClobberingLoad() argument
233 int R = analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, DepSize, DL); in analyzeLoadFromClobberingLoad()
241 GetPointerBaseWithConstantOffset(LoadPtr, LoadOffs, DL); in analyzeLoadFromClobberingLoad()
254 return analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, Size * 8, DL); in analyzeLoadFromClobberingLoad()
257 int analyzeLoadFromClobberingMemInst(Type *LoadTy, Value *LoadPtr, in analyzeLoadFromClobberingMemInst() argument
268 return analyzeLoadFromClobberingWrite(LoadTy, LoadPtr, MI->getDest(), in analyzeLoadFromClobberingMemInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DVNCoercion.h55 int analyzeLoadFromClobberingStore(Type *LoadTy, Value *LoadPtr,
63 int analyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, LoadInst *DepLI,
71 int analyzeLoadFromClobberingMemInst(Type *LoadTy, Value *LoadPtr,
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DGVN.cpp775 static int AnalyzeLoadFromClobberingWrite(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingWrite() argument
786 Value *LoadBase = GetPointerBaseWithConstantOffset(LoadPtr, LoadOffset, TD); in AnalyzeLoadFromClobberingWrite()
800 << "Load Ptr = " << *LoadPtr << "\n"; in AnalyzeLoadFromClobberingWrite()
828 << "Load Ptr = " << *LoadPtr << "\n"; in AnalyzeLoadFromClobberingWrite()
849 static int AnalyzeLoadFromClobberingStore(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingStore() argument
859 return AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, in AnalyzeLoadFromClobberingStore()
866 static int AnalyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingLoad() argument
874 int R = AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, DepSize, TD); in AnalyzeLoadFromClobberingLoad()
881 GetPointerBaseWithConstantOffset(LoadPtr, LoadOffs, TD); in AnalyzeLoadFromClobberingLoad()
888 return AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, Size*8, TD); in AnalyzeLoadFromClobberingLoad()
[all …]
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp810 static int AnalyzeLoadFromClobberingWrite(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingWrite() argument
822 Value *LoadBase = GetPointerBaseWithConstantOffset(LoadPtr, LoadOffset, DL); in AnalyzeLoadFromClobberingWrite()
836 << "Load Ptr = " << *LoadPtr << "\n"; in AnalyzeLoadFromClobberingWrite()
864 << "Load Ptr = " << *LoadPtr << "\n"; in AnalyzeLoadFromClobberingWrite()
885 static int AnalyzeLoadFromClobberingStore(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingStore() argument
895 return AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, in AnalyzeLoadFromClobberingStore()
902 static int AnalyzeLoadFromClobberingLoad(Type *LoadTy, Value *LoadPtr, in AnalyzeLoadFromClobberingLoad() argument
910 int R = AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, DepSize, DL); in AnalyzeLoadFromClobberingLoad()
917 GetPointerBaseWithConstantOffset(LoadPtr, LoadOffs, DL); in AnalyzeLoadFromClobberingLoad()
929 return AnalyzeLoadFromClobberingWrite(LoadTy, LoadPtr, DepPtr, Size*8, DL); in AnalyzeLoadFromClobberingLoad()
[all …]
DLoopLoadElimination.cpp67 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne() local
69 Type *LoadPtrType = LoadPtr->getType(); in isDependenceDistanceOfOne()
80 if (getPtrStride(PSE, LoadPtr, L) != 1 || in isDependenceDistanceOfOne()
87 auto *LoadPtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(LoadPtr)); in isDependenceDistanceOfOne()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopLoadElimination.cpp95 Value *LoadPtr = Load->getPointerOperand(); in isDependenceDistanceOfOne() local
97 Type *LoadPtrType = LoadPtr->getType(); in isDependenceDistanceOfOne()
108 if (getPtrStride(PSE, LoadPtr, L) != 1 || in isDependenceDistanceOfOne()
115 auto *LoadPtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(LoadPtr)); in isDependenceDistanceOfOne()
DGVN.cpp1191 Value *LoadPtr = nullptr; in PerformLoadPRE() local
1192 LoadPtr = Address.PHITranslateWithInsertion(LoadBB, UnavailablePred, in PerformLoadPRE()
1197 if (!LoadPtr) { in PerformLoadPRE()
1204 PredLoad.second = LoadPtr; in PerformLoadPRE()
1243 Value *LoadPtr = PredLoad.second; in PerformLoadPRE() local
1245 auto *NewLoad = new LoadInst(LoadPtr, LI->getName()+".pre", in PerformLoadPRE()
1273 MD->invalidateCachedPointerInfo(LoadPtr); in PerformLoadPRE()
DNewGVN.cpp1411 NewGVN::performSymbolicLoadCoercion(Type *LoadType, Value *LoadPtr, in performSymbolicLoadCoercion() argument
1422 int Offset = analyzeLoadFromClobberingStore(LoadType, LoadPtr, DepSI, DL); in performSymbolicLoadCoercion()
1436 int Offset = analyzeLoadFromClobberingLoad(LoadType, LoadPtr, DepLI, DL); in performSymbolicLoadCoercion()
1448 int Offset = analyzeLoadFromClobberingMemInst(LoadType, LoadPtr, DepMI, DL); in performSymbolicLoadCoercion()
1461 if (LoadPtr != lookupOperandLeader(DepInst) && in performSymbolicLoadCoercion()
1462 !AA->isMustAlias(LoadPtr, DepInst)) in performSymbolicLoadCoercion()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DR600ISelLowering.cpp1165 SDValue LoadPtr = BasePtr; in lowerPrivateTruncStore() local
1167 LoadPtr = DAG.getNode(ISD::ADD, DL, MVT::i32, BasePtr, Offset); in lowerPrivateTruncStore()
1172 SDValue Ptr = DAG.getNode(ISD::AND, DL, MVT::i32, LoadPtr, in lowerPrivateTruncStore()
1184 SDValue ByteIdx = DAG.getNode(ISD::AND, DL, MVT::i32, LoadPtr, in lowerPrivateTruncStore()
1393 SDValue LoadPtr = BasePtr; in lowerPrivateExtLoad() local
1395 LoadPtr = DAG.getNode(ISD::ADD, DL, MVT::i32, BasePtr, Offset); in lowerPrivateExtLoad()
1400 SDValue Ptr = DAG.getNode(ISD::AND, DL, MVT::i32, LoadPtr, in lowerPrivateExtLoad()
1411 LoadPtr, DAG.getConstant(0x3, DL, MVT::i32)); in lowerPrivateExtLoad()
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsISelLowering.cpp1848 SDValue LoadPtr = DAG.getNode(ISD::ADD, dl, MVT::i32, Arg, in WriteByValArg() local
1850 SDValue LoadVal = DAG.getLoad(MVT::i32, dl, Chain, LoadPtr, in WriteByValArg()
1868 SDValue LoadPtr = DAG.getNode(ISD::ADD, dl, MVT::i32, Arg, in WriteByValArg() local
1872 LoadPtr, MachinePointerInfo(), in WriteByValArg()
1889 LoadPtr = DAG.getNode(ISD::ADD, dl, MVT::i32, Arg, in WriteByValArg()
1893 LoadPtr, MachinePointerInfo(), in WriteByValArg()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeDAG.cpp1910 SDValue LoadPtr = StackPtr; in ExpandFCOPYSIGN() local
1915 LoadPtr = DAG.getNode(ISD::ADD, dl, LoadPtr.getValueType(), in ExpandFCOPYSIGN()
1916 LoadPtr, DAG.getIntPtrConstant(ByteOffset)); in ExpandFCOPYSIGN()
1918 SignBit = DAG.getLoad(LoadTy, dl, Ch, LoadPtr, MachinePointerInfo(), in ExpandFCOPYSIGN()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonLoopIdiomRecognition.cpp1949 Value *LoadPtr = LI->getPointerOperand(); in isLegalStore() local
1950 auto *LoadEv = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(LoadPtr)); in isLegalStore()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp3791 SDValue LoadPtr = DAG.getNode(ISD::ADD, DL, PtrTy, Arg, in passByValArg() local
3793 SDValue LoadVal = DAG.getLoad(RegTy, DL, Chain, LoadPtr, in passByValArg()
3817 SDValue LoadPtr = DAG.getNode(ISD::ADD, DL, PtrTy, Arg, in passByValArg() local
3821 ISD::ZEXTLOAD, DL, RegTy, Chain, LoadPtr, MachinePointerInfo(), in passByValArg()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsISelLowering.cpp4099 SDValue LoadPtr = DAG.getNode(ISD::ADD, DL, PtrTy, Arg, in passByValArg() local
4101 SDValue LoadVal = DAG.getLoad(RegTy, DL, Chain, LoadPtr, in passByValArg()
4124 SDValue LoadPtr = DAG.getNode(ISD::ADD, DL, PtrTy, Arg, in passByValArg() local
4128 ISD::ZEXTLOAD, DL, RegTy, Chain, LoadPtr, MachinePointerInfo(), in passByValArg()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1062 Value *LoadPtr = II.getArgOperand(0); in simplifyMaskedLoad() local
1064 return Builder.CreateAlignedLoad(LoadPtr, Alignment, "unmaskedload"); in simplifyMaskedLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp1233 Value *LoadPtr = II.getArgOperand(0); in simplifyMaskedLoad() local
1235 return Builder.CreateAlignedLoad(LoadPtr, Alignment, "unmaskedload"); in simplifyMaskedLoad()