/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | VNCoercion.cpp | 153 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/ |
D | VNCoercion.h | 55 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/ |
D | GVN.cpp | 775 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/ |
D | GVN.cpp | 810 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 …]
|
D | LoopLoadElimination.cpp | 67 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/ |
D | LoopLoadElimination.cpp | 95 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()
|
D | GVN.cpp | 1191 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()
|
D | NewGVN.cpp | 1411 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/ |
D | R600ISelLowering.cpp | 1165 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/ |
D | MipsISelLowering.cpp | 1848 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/ |
D | LegalizeDAG.cpp | 1910 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/ |
D | HexagonLoopIdiomRecognition.cpp | 1949 Value *LoadPtr = LI->getPointerOperand(); in isLegalStore() local 1950 auto *LoadEv = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(LoadPtr)); in isLegalStore()
|
/external/llvm/lib/Target/Mips/ |
D | MipsISelLowering.cpp | 3791 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/ |
D | MipsISelLowering.cpp | 4099 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/ |
D | InstCombineCalls.cpp | 1062 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/ |
D | InstCombineCalls.cpp | 1233 Value *LoadPtr = II.getArgOperand(0); in simplifyMaskedLoad() local 1235 return Builder.CreateAlignedLoad(LoadPtr, Alignment, "unmaskedload"); in simplifyMaskedLoad()
|