Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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 …]
DSelectionDAG.h1077 MachinePointerInfo PtrInfo,
1103 MachinePointerInfo PtrInfo, unsigned Alignment = 0,
1111 SDValue Ptr, MachinePointerInfo PtrInfo, EVT MemVT,
1122 MachinePointerInfo PtrInfo, EVT MemVT, unsigned Alignment = 0,
1136 MachinePointerInfo PtrInfo, unsigned Alignment = 0,
1143 MachinePointerInfo PtrInfo, EVT SVT, unsigned Alignment = 0,
DMachineFunction.h755 MachinePointerInfo PtrInfo, MachineMemOperand::Flags f, uint64_t s,
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11screencapture.cpp1308 ProcessMonoMask (bool IsMono, PTR_INFO* PtrInfo, INT* PtrWidth, in ProcessMonoMask() argument
1322 INT GivenLeft = PtrInfo->Position.x; in ProcessMonoMask()
1323 INT GivenTop = PtrInfo->Position.y; in ProcessMonoMask()
1327 *PtrWidth = GivenLeft + static_cast<INT>(PtrInfo->shape_info.Width); in ProcessMonoMask()
1328 } else if ((GivenLeft + static_cast<INT>(PtrInfo->shape_info.Width)) > DesktopWidth) { in ProcessMonoMask()
1331 *PtrWidth = static_cast<INT>(PtrInfo->shape_info.Width); in ProcessMonoMask()
1335 PtrInfo->shape_info.Height = PtrInfo->shape_info.Height / 2; in ProcessMonoMask()
1338 *PtrHeight = GivenTop + static_cast<INT>(PtrInfo->shape_info.Height); in ProcessMonoMask()
1339 } else if ((GivenTop + static_cast<INT>(PtrInfo->shape_info.Height)) > DesktopHeight) { in ProcessMonoMask()
1342 *PtrHeight = static_cast<INT>(PtrInfo->shape_info.Height); in ProcessMonoMask()
[all …]
/third_party/skia/third_party/externals/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()
DSelectionDAG.cpp6668 EVT MemVT, MachinePointerInfo PtrInfo, unsigned Align, in getMemIntrinsicNode() argument
6680 MF.getMachineMemOperand(PtrInfo, Flags, Size, Align, AAInfo); in getMemIntrinsicNode()
6800 MachinePointerInfo PtrInfo, EVT MemVT, in getLoad() argument
6813 if (PtrInfo.V.isNull()) in getLoad()
6814 PtrInfo = InferPointerInfo(PtrInfo, *this, Ptr, Offset); in getLoad()
6818 PtrInfo, MMOFlags, MemVT.getStoreSize(), Alignment, AAInfo, Ranges); in getLoad()
6872 SDValue Ptr, MachinePointerInfo PtrInfo, in getLoad() argument
6878 PtrInfo, VT, Alignment, MMOFlags, AAInfo, Ranges); in getLoad()
6890 MachinePointerInfo PtrInfo, EVT MemVT, in getExtLoad() argument
6895 return getLoad(ISD::UNINDEXED, ExtType, VT, dl, Chain, Ptr, Undef, PtrInfo, in getExtLoad()
[all …]
DLegalizeDAG.cpp1376 MachinePointerInfo PtrInfo = in ExpandInsertToVectorThroughStack() local
1380 SDValue Ch = DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, PtrInfo); in ExpandInsertToVectorThroughStack()
1389 return DAG.getLoad(Op.getValueType(), dl, Ch, StackPtr, PtrInfo); in ExpandInsertToVectorThroughStack()
1402 MachinePointerInfo PtrInfo = in ExpandVectorBuildThroughStack() local
1424 PtrInfo.getWithOffset(Offset), EltVT)); in ExpandVectorBuildThroughStack()
1427 Idx, PtrInfo.getWithOffset(Offset))); in ExpandVectorBuildThroughStack()
1437 return DAG.getLoad(VT, dl, StoreChain, FIPtr, PtrInfo); in ExpandVectorBuildThroughStack()
1760 MachinePointerInfo PtrInfo = in EmitStackConvert() local
1774 Store = DAG.getTruncStore(Chain, dl, SrcOp, FIPtr, PtrInfo, in EmitStackConvert()
1779 DAG.getStore(Chain, dl, SrcOp, FIPtr, PtrInfo, SrcAlign); in EmitStackConvert()
[all …]
DLegalizeVectorTypes.cpp1448 auto PtrInfo = MachinePointerInfo::getFixedStack(MF, FrameIndex); in SplitVecRes_INSERT_VECTOR_ELT() local
1449 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, PtrInfo); in SplitVecRes_INSERT_VECTOR_ELT()
1463 Lo = DAG.getLoad(LoVT, dl, Store, StackPtr, PtrInfo); in SplitVecRes_INSERT_VECTOR_ELT()
1473 PtrInfo.getWithOffset(IncrementSize), in SplitVecRes_INSERT_VECTOR_ELT()
2206 auto PtrInfo = MachinePointerInfo::getFixedStack(MF, FrameIndex); in SplitVecOp_EXTRACT_VECTOR_ELT() local
2207 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, PtrInfo); in SplitVecOp_EXTRACT_VECTOR_ELT()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFrameLowering.cpp581 MachinePointerInfo PtrInfo(AMDGPUAS::CONSTANT_ADDRESS); in emitEntryFunctionScratchSetup() local
583 auto MMO = MF.getMachineMemOperand(PtrInfo, in emitEntryFunctionScratchSetup()
623 MachinePointerInfo PtrInfo(AMDGPUAS::CONSTANT_ADDRESS); in emitEntryFunctionScratchSetup() local
624 auto MMO = MF.getMachineMemOperand(PtrInfo, in emitEntryFunctionScratchSetup()
DR600ISelLowering.cpp1178 MachinePointerInfo PtrInfo(AMDGPUAS::PRIVATE_ADDRESS); in lowerPrivateTruncStore() local
1179 SDValue Dst = DAG.getLoad(MVT::i32, DL, Chain, Ptr, PtrInfo); in lowerPrivateTruncStore()
1218 SDValue NewStore = DAG.getStore(Chain, DL, Value, Ptr, PtrInfo); in lowerPrivateTruncStore()
1408 MachinePointerInfo PtrInfo(AMDGPUAS::PRIVATE_ADDRESS); in lowerPrivateExtLoad() local
1409 SDValue Read = DAG.getLoad(MVT::i32, DL, Chain, Ptr, PtrInfo); in lowerPrivateExtLoad()
1634 MachinePointerInfo PtrInfo(AMDGPUAS::PARAM_I_ADDRESS); in LowerFormalArguments() local
1638 PtrInfo, in LowerFormalArguments()
DAMDGPUInstructionSelector.cpp2089 static bool isStackPtrRelative(const MachinePointerInfo &PtrInfo) { in isStackPtrRelative() argument
2090 auto PSV = PtrInfo.V.dyn_cast<const PseudoSourceValue *>(); in isStackPtrRelative()
2119 const MachinePointerInfo &PtrInfo = MMO->getPointerInfo(); in selectMUBUFScratchOffen() local
2121 Register SOffsetReg = isStackPtrRelative(PtrInfo) in selectMUBUFScratchOffen()
2215 const MachinePointerInfo &PtrInfo = MMO->getPointerInfo(); in selectMUBUFScratchOffset() local
2217 Register SOffsetReg = isStackPtrRelative(PtrInfo) in selectMUBUFScratchOffset()
DSIRegisterInfo.cpp836 MachinePointerInfo PtrInfo in spillSGPR() local
839 = MF->getMachineMemOperand(PtrInfo, MachineMemOperand::MOStore, in spillSGPR()
911 MachinePointerInfo PtrInfo in restoreSGPR() local
914 MachineMemOperand *MMO = MF->getMachineMemOperand(PtrInfo, in restoreSGPR()
DAMDGPUCallLowering.cpp371 MachinePointerInfo PtrInfo(AMDGPUAS::CONSTANT_ADDRESS); in lowerParameter() local
376 MF.getMachineMemOperand(PtrInfo, MachineMemOperand::MOLoad | in lowerParameter()
DAMDGPUISelDAGToDAG.cpp1472 static bool isStackPtrRelative(const MachinePointerInfo &PtrInfo) { in isStackPtrRelative() argument
1473 auto PSV = PtrInfo.V.dyn_cast<const PseudoSourceValue *>(); in isStackPtrRelative()
1518 const MachinePointerInfo &PtrInfo = cast<MemSDNode>(Parent)->getPointerInfo(); in SelectMUBUFScratchOffen() local
1519 unsigned SOffsetReg = isStackPtrRelative(PtrInfo) ? in SelectMUBUFScratchOffen()
1579 const MachinePointerInfo &PtrInfo = cast<MemSDNode>(Parent)->getPointerInfo(); in SelectMUBUFScratchOffset() local
1580 unsigned SOffsetReg = isStackPtrRelative(PtrInfo) ? in SelectMUBUFScratchOffset()
DAMDGPULegalizerInfo.cpp1233 MachinePointerInfo PtrInfo(AMDGPUAS::CONSTANT_ADDRESS); in getSegmentAperture() local
1235 PtrInfo, in getSegmentAperture()
DSIInstrInfo.cpp1063 MachinePointerInfo PtrInfo in storeRegToStackSlot() local
1066 = MF->getMachineMemOperand(PtrInfo, MachineMemOperand::MOStore, in storeRegToStackSlot()
1193 MachinePointerInfo PtrInfo in loadRegFromStackSlot() local
1197 PtrInfo, MachineMemOperand::MOLoad, Size, Align); in loadRegFromStackSlot()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp290 using PtrInfo = DenseMapInfo<Instruction *>; typedef
294 return {PtrInfo::getEmptyKey(), 0, 0, 0}; in getEmptyKey()
298 return {PtrInfo::getTombstoneKey(), 0, 0, 0}; in getTombstoneKey()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstrInfo.cpp2852 MachinePointerInfo PtrInfo = MachinePointerInfo::getFixedStack(MF, FI); in storeRegToStackSlot() local
2854 PtrInfo, MachineMemOperand::MOStore, MFI.getObjectSize(FI), Align); in storeRegToStackSlot()
2993 MachinePointerInfo PtrInfo = MachinePointerInfo::getFixedStack(MF, FI); in loadRegFromStackSlot() local
2995 PtrInfo, MachineMemOperand::MOLoad, MFI.getObjectSize(FI), Align); in loadRegFromStackSlot()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp8612 MachinePointerInfo PtrInfo = in LowerBUILD_VECTOR() local
8668 PtrInfo.getWithOffset(Offset), MVT::i32)); in LowerBUILD_VECTOR()
8675 PtrInfo.getWithOffset(Offset))); in LowerBUILD_VECTOR()
8696 dl, VTs, Ops, MVT::v4i32, PtrInfo); in LowerBUILD_VECTOR()
10002 MachinePointerInfo PtrInfo = in LowerEXTRACT_VECTOR_ELT() local
10014 dl, VTs, Ops, MVT::v4i32, PtrInfo); in LowerEXTRACT_VECTOR_ELT()
10022 DAG.getLoad(MVT::i32, dl, StoreChain, Idx, PtrInfo.getWithOffset(Offset)); in LowerEXTRACT_VECTOR_ELT()
10202 MachinePointerInfo PtrInfo = in LowerVectorStore() local
10213 dl, VTs, Ops, MVT::v4i32, PtrInfo); in LowerVectorStore()
10223 PtrInfo.getWithOffset(Offset)); in LowerVectorStore()

12