Home
last modified time | relevance | path

Searched refs:PtrInfo (Results 1 – 25 of 84) sorted by relevance

1234

/external/llvm/include/llvm/CodeGen/
DMachineMemOperand.h116 MachinePointerInfo PtrInfo;
126 MachineMemOperand(MachinePointerInfo PtrInfo, Flags flags, uint64_t s,
131 const MachinePointerInfo &getPointerInfo() const { return PtrInfo; } in getPointerInfo()
140 const Value *getValue() const { return PtrInfo.V.dyn_cast<const Value*>(); } in getValue()
143 return PtrInfo.V.dyn_cast<const PseudoSourceValue*>(); in getPseudoValue()
146 const void *getOpaqueValue() const { return PtrInfo.V.getOpaqueValue(); } in getOpaqueValue()
156 int64_t getOffset() const { return PtrInfo.Offset; } in getOffset()
158 unsigned getAddrSpace() const { return PtrInfo.getAddrSpace(); } in getAddrSpace()
200 void setValue(const Value *NewSV) { PtrInfo.V = NewSV; } in setValue()
201 void setValue(const PseudoSourceValue *NewSV) { PtrInfo.V = NewSV; } in setValue()
[all …]
DSelectionDAG.h856 SDValue Cmp, SDValue Swp, MachinePointerInfo PtrInfo,
901 MachinePointerInfo PtrInfo, unsigned Align = 0,
916 MachinePointerInfo PtrInfo, bool isVolatile,
923 SDValue Chain, SDValue Ptr, MachinePointerInfo PtrInfo,
934 MachinePointerInfo PtrInfo, EVT MemVT, bool isVolatile,
944 MachinePointerInfo PtrInfo, bool isVolatile,
950 SDValue Ptr, MachinePointerInfo PtrInfo, EVT TVT,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineMemOperand.h169 MachinePointerInfo PtrInfo; variable
183 MachineMemOperand(MachinePointerInfo PtrInfo, Flags flags, uint64_t s,
191 const MachinePointerInfo &getPointerInfo() const { return PtrInfo; } in getPointerInfo()
200 const Value *getValue() const { return PtrInfo.V.dyn_cast<const Value*>(); } in getValue()
203 return PtrInfo.V.dyn_cast<const PseudoSourceValue*>(); in getPseudoValue()
206 const void *getOpaqueValue() const { return PtrInfo.V.getOpaqueValue(); } in getOpaqueValue()
216 int64_t getOffset() const { return PtrInfo.Offset; } in getOffset()
218 unsigned getAddrSpace() const { return PtrInfo.getAddrSpace(); } in getAddrSpace()
286 void setValue(const Value *NewSV) { PtrInfo.V = NewSV; } in setValue()
287 void setValue(const PseudoSourceValue *NewSV) { PtrInfo.V = NewSV; } in setValue()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineMemOperand.h170 MachinePointerInfo PtrInfo; variable
184 MachineMemOperand(MachinePointerInfo PtrInfo, Flags flags, uint64_t s,
191 const MachinePointerInfo &getPointerInfo() const { return PtrInfo; } in getPointerInfo()
200 const Value *getValue() const { return PtrInfo.V.dyn_cast<const Value*>(); } in getValue()
203 return PtrInfo.V.dyn_cast<const PseudoSourceValue*>(); in getPseudoValue()
206 const void *getOpaqueValue() const { return PtrInfo.V.getOpaqueValue(); } in getOpaqueValue()
216 int64_t getOffset() const { return PtrInfo.Offset; } in getOffset()
218 unsigned getAddrSpace() const { return PtrInfo.getAddrSpace(); } in getAddrSpace()
294 void setValue(const Value *NewSV) { PtrInfo.V = NewSV; } in setValue()
295 void setValue(const PseudoSourceValue *NewSV) { PtrInfo.V = NewSV; } in setValue()
[all …]
DSelectionDAG.h1166 EVT MemVT, MachinePointerInfo PtrInfo, Align Alignment,
1173 EVT MemVT, MachinePointerInfo PtrInfo, MaybeAlign Alignment = None,
1178 return getMemIntrinsicNode(Opcode, dl, VTList, Ops, MemVT, PtrInfo,
1186 ArrayRef<SDValue> Ops, EVT MemVT, MachinePointerInfo PtrInfo,
1192 return getMemIntrinsicNode(Opcode, dl, VTList, Ops, MemVT, PtrInfo,
1221 MachinePointerInfo PtrInfo,
1229 MachinePointerInfo PtrInfo, unsigned Alignment,
1233 return getLoad(VT, dl, Chain, Ptr, PtrInfo, MaybeAlign(Alignment), MMOFlags,
1240 SDValue Ptr, MachinePointerInfo PtrInfo, EVT MemVT,
1247 SDValue Ptr, MachinePointerInfo PtrInfo, EVT MemVT,
[all …]
/external/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp102 typedef DenseMapInfo<const MachineOperand *> PtrInfo; typedef
105 return MemOpKey(PtrInfo::getEmptyKey(), PtrInfo::getEmptyKey(), in getEmptyKey()
106 PtrInfo::getEmptyKey(), PtrInfo::getEmptyKey(), in getEmptyKey()
107 PtrInfo::getEmptyKey()); in getEmptyKey()
111 return MemOpKey(PtrInfo::getTombstoneKey(), PtrInfo::getTombstoneKey(), in getTombstoneKey()
112 PtrInfo::getTombstoneKey(), PtrInfo::getTombstoneKey(), in getTombstoneKey()
113 PtrInfo::getTombstoneKey()); in getTombstoneKey()
119 assert(Val.Disp != PtrInfo::getEmptyKey() && "Cannot hash the empty key"); in getHashValue()
120 assert(Val.Disp != PtrInfo::getTombstoneKey() && in getHashValue()
162 if (RHS.Disp == PtrInfo::getEmptyKey()) in isEqual()
[all …]
/external/llvm-project/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp119 using PtrInfo = DenseMapInfo<const MachineOperand *>; typedef
122 return MemOpKey(PtrInfo::getEmptyKey(), PtrInfo::getEmptyKey(), in getEmptyKey()
123 PtrInfo::getEmptyKey(), PtrInfo::getEmptyKey(), in getEmptyKey()
124 PtrInfo::getEmptyKey()); in getEmptyKey()
128 return MemOpKey(PtrInfo::getTombstoneKey(), PtrInfo::getTombstoneKey(), in getTombstoneKey()
129 PtrInfo::getTombstoneKey(), PtrInfo::getTombstoneKey(), in getTombstoneKey()
130 PtrInfo::getTombstoneKey()); in getTombstoneKey()
136 assert(Val.Disp != PtrInfo::getEmptyKey() && "Cannot hash the empty key"); in getHashValue()
137 assert(Val.Disp != PtrInfo::getTombstoneKey() && in getHashValue()
179 if (RHS.Disp == PtrInfo::getEmptyKey()) in isEqual()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86OptimizeLEAs.cpp119 using PtrInfo = DenseMapInfo<const MachineOperand *>; typedef
122 return MemOpKey(PtrInfo::getEmptyKey(), PtrInfo::getEmptyKey(), in getEmptyKey()
123 PtrInfo::getEmptyKey(), PtrInfo::getEmptyKey(), in getEmptyKey()
124 PtrInfo::getEmptyKey()); in getEmptyKey()
128 return MemOpKey(PtrInfo::getTombstoneKey(), PtrInfo::getTombstoneKey(), in getTombstoneKey()
129 PtrInfo::getTombstoneKey(), PtrInfo::getTombstoneKey(), in getTombstoneKey()
130 PtrInfo::getTombstoneKey()); in getTombstoneKey()
136 assert(Val.Disp != PtrInfo::getEmptyKey() && "Cannot hash the empty key"); in getHashValue()
137 assert(Val.Disp != PtrInfo::getTombstoneKey() && in getHashValue()
179 if (RHS.Disp == PtrInfo::getEmptyKey()) in isEqual()
[all …]
/external/llvm-project/llvm/unittests/CodeGen/
DSelectionDAGAddressAnalysisTest.cpp104 MachinePointerInfo PtrInfo = MachinePointerInfo::getFixedStack(*MF, FI); in TEST_F() local
109 PtrInfo.getWithOffset(Offset)); in TEST_F()
132 MachinePointerInfo PtrInfo = MachinePointerInfo::getFixedStack(*MF, FI); in TEST_F() local
139 PtrInfo.getWithOffset(Offset0)); in TEST_F()
141 PtrInfo.getWithOffset(Offset1)); in TEST_F()
166 MachinePointerInfo PtrInfo = MachinePointerInfo::getFixedStack(*MF, FI); in TEST_F() local
173 PtrInfo.getWithOffset(Offset0)); in TEST_F()
175 PtrInfo.getWithOffset(Offset1)); in TEST_F()
197 MachinePointerInfo PtrInfo = MachinePointerInfo::getFixedStack(*MF, FI); in TEST_F() local
202 PtrInfo.getWithOffset(Offset)); in TEST_F()
[all …]
/external/llvm/include/llvm/Analysis/
DPtrUseVisitor.h49 class PtrInfo {
51 PtrInfo() : AbortedInfo(nullptr, false), EscapedInfo(nullptr, false) {} in PtrInfo() function
111 PtrInfo PI;
203 PtrInfo visitPtr(Instruction &I) { in visitPtr()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DPtrUseVisitor.h62 class PtrInfo {
64 PtrInfo() : AbortedInfo(nullptr, false), EscapedInfo(nullptr, false) {} in PtrInfo() function
124 PtrInfo PI;
220 PtrInfo visitPtr(Instruction &I) { in visitPtr()
/external/llvm-project/llvm/include/llvm/Analysis/
DPtrUseVisitor.h61 class PtrInfo {
63 PtrInfo() : AbortedInfo(nullptr, false), EscapedInfo(nullptr, false) {} in PtrInfo() function
123 PtrInfo PI;
219 PtrInfo visitPtr(Instruction &I) { in visitPtr()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h329 const MachinePointerInfo &PtrInfo) const { in getAddrGlobal() argument
332 return DAG.getLoad(Ty, DL, Chain, Tgt, PtrInfo, false, false, false, 0); in getAddrGlobal()
343 const MachinePointerInfo &PtrInfo) const { in getAddrGlobalLargeGOT() argument
349 return DAG.getLoad(Ty, DL, Chain, Wrapper, PtrInfo, false, false, false, in getAddrGlobalLargeGOT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp352 auto PtrInfo = MachinePointerInfo::getFixedStack(MF, FI.getIndex()); in getMachineMemOperand() local
356 return MF.getMachineMemOperand(PtrInfo, MMOFlags, in getMachineMemOperand()
395 auto PtrInfo = MachinePointerInfo::getFixedStack(MF, Index); in spillIncomingStatepointValue() local
397 MF.getMachineMemOperand(PtrInfo, MachineMemOperand::MOStore, in spillIncomingStatepointValue()
1030 auto PtrInfo = MachinePointerInfo::getFixedStack(MF, Index); in visitGCRelocate() local
1032 MF.getMachineMemOperand(PtrInfo, MachineMemOperand::MOLoad, in visitGCRelocate()
DLegalizeTypesGeneric.cpp161 MachinePointerInfo PtrInfo = in ExpandRes_BITCAST() local
165 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo); in ExpandRes_BITCAST()
168 Lo = DAG.getLoad(NOutVT, dl, Store, StackPtr, PtrInfo); in ExpandRes_BITCAST()
176 PtrInfo.getWithOffset(IncrementSize), in ExpandRes_BITCAST()
/external/llvm-project/llvm/lib/CodeGen/
DMachineFunction.cpp431 MachinePointerInfo PtrInfo, MachineMemOperand::Flags f, uint64_t s, in getMachineMemOperand() argument
436 MachineMemOperand(PtrInfo, f, s, base_alignment, AAInfo, Ranges, in getMachineMemOperand()
441 const MachineMemOperand *MMO, MachinePointerInfo &PtrInfo, uint64_t Size) { in getMachineMemOperand() argument
443 PtrInfo, MMO->getFlags(), Size, MMO->getBaseAlign(), AAMDNodes(), nullptr, in getMachineMemOperand()
450 const MachinePointerInfo &PtrInfo = MMO->getPointerInfo(); in getMachineMemOperand() local
454 Align Alignment = PtrInfo.V.isNull() in getMachineMemOperand()
461 MachineMemOperand(PtrInfo.getWithOffset(Offset), MMO->getFlags(), Size, in getMachineMemOperand()
DMachineOperand.cpp1023 : PtrInfo(ptrinfo), Size(s), FlagVals(f), BaseAlign(a), AAInfo(AAInfo), in MachineMemOperand()
1025 assert((PtrInfo.V.isNull() || PtrInfo.V.is<const PseudoSourceValue *>() || in MachineMemOperand()
1026 isa<PointerType>(PtrInfo.V.get<const Value *>()->getType())) && in MachineMemOperand()
1059 PtrInfo = MMO->PtrInfo; in refineAlignment()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsISelLowering.h399 const MachinePointerInfo &PtrInfo) const { in getAddrGlobal() argument
402 return DAG.getLoad(Ty, DL, Chain, Tgt, PtrInfo); in getAddrGlobal()
413 const MachinePointerInfo &PtrInfo) const { in getAddrGlobalLargeGOT() argument
419 return DAG.getLoad(Ty, DL, Chain, Wrapper, PtrInfo); in getAddrGlobalLargeGOT()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelLowering.h413 const MachinePointerInfo &PtrInfo) const { in getAddrGlobal() argument
416 return DAG.getLoad(Ty, DL, Chain, Tgt, PtrInfo); in getAddrGlobal()
427 const MachinePointerInfo &PtrInfo) const { in getAddrGlobalLargeGOT() argument
433 return DAG.getLoad(Ty, DL, Chain, Wrapper, PtrInfo); in getAddrGlobalLargeGOT()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp349 auto PtrInfo = MachinePointerInfo::getFixedStack(MF, FI.getIndex()); in getMachineMemOperand() local
353 return MF.getMachineMemOperand(PtrInfo, MMOFlags, in getMachineMemOperand()
392 auto PtrInfo = MachinePointerInfo::getFixedStack(MF, Index); in spillIncomingStatepointValue() local
394 PtrInfo, MachineMemOperand::MOStore, MFI.getObjectSize(Index), in spillIncomingStatepointValue()
1200 auto PtrInfo = MachinePointerInfo::getFixedStack(MF, Index); in visitGCRelocate() local
1201 auto *LoadMMO = MF.getMachineMemOperand(PtrInfo, MachineMemOperand::MOLoad, in visitGCRelocate()
DLegalizeTypesGeneric.cpp167 MachinePointerInfo PtrInfo = in ExpandRes_BITCAST() local
171 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo); in ExpandRes_BITCAST()
174 Lo = DAG.getLoad(NOutVT, dl, Store, StackPtr, PtrInfo, NOutAlign); in ExpandRes_BITCAST()
183 PtrInfo.getWithOffset(IncrementSize), NOutAlign); in ExpandRes_BITCAST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineOperand.cpp1012 : PtrInfo(ptrinfo), Size(s), FlagVals(f), BaseAlignLog2(Log2_32(a) + 1), in MachineMemOperand()
1014 assert((PtrInfo.V.isNull() || PtrInfo.V.is<const PseudoSourceValue *>() || in MachineMemOperand()
1015 isa<PointerType>(PtrInfo.V.get<const Value *>()->getType())) && in MachineMemOperand()
1049 PtrInfo = MMO->PtrInfo; in refineAlignment()
DMachineFunction.cpp416 MachinePointerInfo PtrInfo, MachineMemOperand::Flags f, uint64_t s, in getMachineMemOperand() argument
421 MachineMemOperand(PtrInfo, f, s, base_alignment, AAInfo, Ranges, in getMachineMemOperand()
428 const MachinePointerInfo &PtrInfo = MMO->getPointerInfo(); in getMachineMemOperand() local
432 unsigned Align = PtrInfo.V.isNull() in getMachineMemOperand()
437 MachineMemOperand(PtrInfo.getWithOffset(Offset), MMO->getFlags(), Size, in getMachineMemOperand()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp169 MachinePointerInfo PtrInfo = in ExpandRes_BITCAST() local
173 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo, in ExpandRes_BITCAST()
177 Lo = DAG.getLoad(NOutVT, dl, Store, StackPtr, PtrInfo, in ExpandRes_BITCAST()
188 PtrInfo.getWithOffset(IncrementSize), false, in ExpandRes_BITCAST()
/external/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp561 MachinePointerInfo PtrInfo in eliminateFrameIndex() local
564 = MF->getMachineMemOperand(PtrInfo, MachineMemOperand::MOStore, in eliminateFrameIndex()
609 MachinePointerInfo PtrInfo in eliminateFrameIndex() local
613 PtrInfo, MachineMemOperand::MOLoad, Size, Align); in eliminateFrameIndex()

1234