Home
last modified time | relevance | path

Searched refs:LoadOffset (Results 1 – 17 of 17) sorted by relevance

/external/llvm-project/llvm/lib/Transforms/Utils/
DVNCoercion.cpp185 int64_t StoreOffset = 0, LoadOffset = 0; in analyzeLoadFromClobberingWrite() local
188 Value *LoadBase = GetPointerBaseWithConstantOffset(LoadPtr, LoadOffset, DL); in analyzeLoadFromClobberingWrite()
208 if (StoreOffset < LoadOffset) in analyzeLoadFromClobberingWrite()
209 isAAFailure = StoreOffset + int64_t(StoreSize) <= LoadOffset; in analyzeLoadFromClobberingWrite()
211 isAAFailure = LoadOffset + int64_t(LoadSize) <= StoreOffset; in analyzeLoadFromClobberingWrite()
220 if (StoreOffset > LoadOffset || in analyzeLoadFromClobberingWrite()
221 StoreOffset + StoreSize < LoadOffset + LoadSize) in analyzeLoadFromClobberingWrite()
226 return LoadOffset - StoreOffset; in analyzeLoadFromClobberingWrite()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DVNCoercion.cpp172 int64_t StoreOffset = 0, LoadOffset = 0; in analyzeLoadFromClobberingWrite() local
175 Value *LoadBase = GetPointerBaseWithConstantOffset(LoadPtr, LoadOffset, DL); in analyzeLoadFromClobberingWrite()
195 if (StoreOffset < LoadOffset) in analyzeLoadFromClobberingWrite()
196 isAAFailure = StoreOffset + int64_t(StoreSize) <= LoadOffset; in analyzeLoadFromClobberingWrite()
198 isAAFailure = LoadOffset + int64_t(LoadSize) <= StoreOffset; in analyzeLoadFromClobberingWrite()
207 if (StoreOffset > LoadOffset || in analyzeLoadFromClobberingWrite()
208 StoreOffset + StoreSize < LoadOffset + LoadSize) in analyzeLoadFromClobberingWrite()
213 return LoadOffset - StoreOffset; in analyzeLoadFromClobberingWrite()
/external/llvm/lib/Target/PowerPC/
DPPCHazardRecognizers.cpp301 isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset, in isLoadOfStoredAddress() argument
305 if (LoadValue == StoreValue[i] && LoadOffset == StoreOffset[i]) in isLoadOfStoredAddress()
313 if (StoreOffset[i] < LoadOffset) { in isLoadOfStoredAddress()
314 if (int64_t(StoreOffset[i]+StoreSize[i]) > LoadOffset) return true; in isLoadOfStoredAddress()
316 if (int64_t(LoadOffset+LoadSize) > StoreOffset[i]) return true; in isLoadOfStoredAddress()
DPPCHazardRecognizers.h95 bool isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCHazardRecognizers.cpp298 isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset, in isLoadOfStoredAddress() argument
302 if (LoadValue == StoreValue[i] && LoadOffset == StoreOffset[i]) in isLoadOfStoredAddress()
310 if (StoreOffset[i] < LoadOffset) { in isLoadOfStoredAddress()
311 if (int64_t(StoreOffset[i]+StoreSize[i]) > LoadOffset) return true; in isLoadOfStoredAddress()
313 if (int64_t(LoadOffset+LoadSize) > StoreOffset[i]) return true; in isLoadOfStoredAddress()
DPPCHazardRecognizers.h94 bool isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset,
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCHazardRecognizers.cpp298 isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset, in isLoadOfStoredAddress() argument
302 if (LoadValue == StoreValue[i] && LoadOffset == StoreOffset[i]) in isLoadOfStoredAddress()
310 if (StoreOffset[i] < LoadOffset) { in isLoadOfStoredAddress()
311 if (int64_t(StoreOffset[i]+StoreSize[i]) > LoadOffset) return true; in isLoadOfStoredAddress()
313 if (int64_t(LoadOffset+LoadSize) > StoreOffset[i]) return true; in isLoadOfStoredAddress()
DPPCHazardRecognizers.h94 bool isLoadOfStoredAddress(uint64_t LoadSize, int64_t LoadOffset,
DPPCISelLowering.cpp7549 auto GetLoad = [&](EVT VT, unsigned LoadOffset) { in LowerCall_AIX() argument
7552 (LoadOffset != 0) in LowerCall_AIX()
7553 ? DAG.getObjectPtrOffset(dl, Arg, TypeSize::Fixed(LoadOffset)) in LowerCall_AIX()
7558 unsigned LoadOffset = 0; in LowerCall_AIX() local
7561 while (LoadOffset + PtrByteSize <= ByValSize && ArgLocs[I].isRegLoc()) { in LowerCall_AIX()
7562 SDValue Load = GetLoad(PtrVT, LoadOffset); in LowerCall_AIX()
7564 LoadOffset += PtrByteSize; in LowerCall_AIX()
7571 if (LoadOffset == ByValSize) in LowerCall_AIX()
7579 assert(LoadOffset < ByValSize && "Unexpected memloc for by-val arg."); in LowerCall_AIX()
7583 MemcpyFlags.setByValSize(ByValSize - LoadOffset); in LowerCall_AIX()
[all …]
/external/llvm-project/llvm/lib/Analysis/
DLoads.cpp412 APInt LoadOffset(DL.getTypeSizeInBits(LoadPtr->getType()), 0); in AreNonOverlapSameBaseLoadAndStore() local
415 DL, LoadOffset, /* AllowNonInbounds */ false); in AreNonOverlapSameBaseLoadAndStore()
422 ConstantRange LoadRange(LoadOffset, in AreNonOverlapSameBaseLoadAndStore()
423 LoadOffset + LoadAccessSize.toRaw()); in AreNonOverlapSameBaseLoadAndStore()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp819 int64_t StoreOffset = 0, LoadOffset = 0; in AnalyzeLoadFromClobberingWrite() local
822 Value *LoadBase = GetPointerBaseWithConstantOffset(LoadPtr, LoadOffset, DL); in AnalyzeLoadFromClobberingWrite()
831 if (LoadOffset == StoreOffset) { in AnalyzeLoadFromClobberingWrite()
853 if (StoreOffset < LoadOffset) in AnalyzeLoadFromClobberingWrite()
854 isAAFailure = StoreOffset+int64_t(StoreSize) <= LoadOffset; in AnalyzeLoadFromClobberingWrite()
856 isAAFailure = LoadOffset+int64_t(LoadSize) <= StoreOffset; in AnalyzeLoadFromClobberingWrite()
874 if (StoreOffset > LoadOffset || in AnalyzeLoadFromClobberingWrite()
875 StoreOffset+StoreSize < LoadOffset+LoadSize) in AnalyzeLoadFromClobberingWrite()
880 return LoadOffset-StoreOffset; in AnalyzeLoadFromClobberingWrite()
/external/llvm-project/llvm/lib/CodeGen/
DMachinePipeliner.cpp2227 int64_t LoadOffset = MI->getOperand(OffsetPosLd).getImm(); in canUseLastOffsetValue() local
2230 NewMI->getOperand(OffsetPosLd).setImm(LoadOffset + StoreOffset); in canUseLastOffsetValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachinePipeliner.cpp2131 int64_t LoadOffset = MI->getOperand(OffsetPosLd).getImm(); in canUseLastOffsetValue() local
2134 NewMI->getOperand(OffsetPosLd).setImm(LoadOffset + StoreOffset); in canUseLastOffsetValue()
/external/llvm/lib/CodeGen/
DMachinePipeliner.cpp3344 int64_t LoadOffset = MI->getOperand(OffsetPosLd).getImm(); in canUseLastOffsetValue() local
3346 if ((LoadOffset >= 0) != (StoreOffset >= 0)) in canUseLastOffsetValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1195 SDValue LoadOffset = in LowerToTLSInitialExecModel() local
1200 return DAG.getNode(ISD::ADD, dl, PtrVT, TP, LoadOffset); in LowerToTLSInitialExecModel()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1322 SDValue LoadOffset = in LowerToTLSInitialExecModel() local
1327 return DAG.getNode(ISD::ADD, dl, PtrVT, TP, LoadOffset); in LowerToTLSInitialExecModel()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp1614 SDValue LoadOffset = DAG.getLoad(PtrVT, dl, DAG.getEntryNode(), Sym, in LowerToTLSInitialExecModel() local
1620 return DAG.getNode(ISD::ADD, dl, PtrVT, TP, LoadOffset); in LowerToTLSInitialExecModel()