Home
last modified time | relevance | path

Searched refs:StackPtr (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp61 unsigned StackPtr = 0; member in __anon1f80353b0111::X86WinAllocaExpander
181 } else if (MI.modifiesRegister(StackPtr, TRI)) { in computeLowerings()
239 TII->get(getSubOpcode(Is64BitAlloca, Amount)), StackPtr) in lower()
240 .addReg(StackPtr) in lower()
257 TII->get(Is64BitAlloca ? X86::SUB64rr : X86::SUB32rr), StackPtr) in lower()
258 .addReg(StackPtr) in lower()
281 StackPtr = TRI->getStackRegister(); in runOnMachineFunction()
DX86FrameLowering.cpp48 StackPtr = TRI->getStackRegister(); in X86FrameLowering()
278 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(AddSubRROpc), StackPtr) in emitSPUpdate()
279 .addReg(StackPtr) in emitSPUpdate()
306 .addReg(StackPtr); in emitSPUpdate()
311 StackPtr, false, 0); in emitSPUpdate()
313 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64rm), StackPtr), in emitSPUpdate()
314 StackPtr, false, 0); in emitSPUpdate()
379 StackPtr), in BuildStackAdjustment()
380 StackPtr, false, Offset); in BuildStackAdjustment()
386 MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in BuildStackAdjustment()
[all …]
DX86RegisterInfo.h40 unsigned StackPtr; variable
139 Register getStackRegister() const { return StackPtr; } in getStackRegister()
DX86CallFrameOptimization.cpp383 Register StackPtr = RegInfo.getStackRegister(); in collectCallInfo() local
395 J->getOperand(1).getReg() == StackPtr) { in collectCallInfo()
398 StackPtr = Context.SPCopy->getOperand(0).getReg(); in collectCallInfo()
428 (I->getOperand(X86::AddrBaseReg).getReg() != StackPtr) || in collectCallInfo()
DX86RegisterInfo.cpp64 StackPtr = Use64BitReg ? X86::RSP : X86::ESP; in X86RegisterInfo()
69 StackPtr = X86::ESP; in X86RegisterInfo()
767 if (BasePtr == StackPtr) in eliminateFrameIndex()
797 return TFI->hasFP(MF) ? FramePtr : StackPtr; in getFrameRegister()
DX86ExpandPseudo.cpp291 Register StackPtr = TRI->getStackRegister(); in ExpandMI() local
293 TII->get(Uses64BitFramePtr ? X86::MOV64rr : X86::MOV32rr), StackPtr) in ExpandMI()
DX86FrameLowering.h48 unsigned StackPtr; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp159 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment); in ExpandRes_BITCAST() local
160 int SPFI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex(); in ExpandRes_BITCAST()
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()
172 StackPtr = DAG.getMemBasePlusOffset(StackPtr, IncrementSize, dl); in ExpandRes_BITCAST()
175 Hi = DAG.getLoad(NOutVT, dl, Store, StackPtr, in ExpandRes_BITCAST()
DLegalizeDAG.cpp378 SDValue StackPtr = DAG.CreateStackTemporary(VT); in PerformInsertVectorEltInMemory() local
380 int SPFI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex(); in PerformInsertVectorEltInMemory()
384 DAG.getEntryNode(), dl, Tmp1, StackPtr, in PerformInsertVectorEltInMemory()
387 SDValue StackPtr2 = TLI.getVectorElementPointer(DAG, StackPtr, VT, Tmp3); in PerformInsertVectorEltInMemory()
392 return DAG.getLoad(VT, dl, Ch, StackPtr, MachinePointerInfo::getFixedStack( in PerformInsertVectorEltInMemory()
1301 SDValue StackPtr, Ch; in ExpandExtractFromVectorThroughStack() local
1324 StackPtr = ST->getBasePtr(); in ExpandExtractFromVectorThroughStack()
1334 StackPtr = DAG.CreateStackTemporary(VecVT); in ExpandExtractFromVectorThroughStack()
1335 Ch = DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, in ExpandExtractFromVectorThroughStack()
1339 StackPtr = TLI.getVectorElementPointer(DAG, StackPtr, VecVT, Idx); in ExpandExtractFromVectorThroughStack()
[all …]
DLegalizeVectorTypes.cpp1153 SDValue StackPtr = DAG.CreateStackTemporary(VecVT); in SplitVecRes_INSERT_SUBVECTOR() local
1155 DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, MachinePointerInfo()); in SplitVecRes_INSERT_SUBVECTOR()
1158 SDValue SubVecPtr = TLI.getVectorElementPointer(DAG, StackPtr, VecVT, Idx); in SplitVecRes_INSERT_SUBVECTOR()
1165 DAG.getLoad(Lo.getValueType(), dl, Store, StackPtr, MachinePointerInfo()); in SplitVecRes_INSERT_SUBVECTOR()
1169 StackPtr = DAG.getMemBasePlusOffset(StackPtr, IncrementSize, dl); in SplitVecRes_INSERT_SUBVECTOR()
1172 Hi = DAG.getLoad(Hi.getValueType(), dl, Store, StackPtr, MachinePointerInfo(), in SplitVecRes_INSERT_SUBVECTOR()
1445 SDValue StackPtr = DAG.CreateStackTemporary(VecVT); in SplitVecRes_INSERT_VECTOR_ELT() local
1447 auto FrameIndex = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex(); in SplitVecRes_INSERT_VECTOR_ELT()
1449 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, PtrInfo); in SplitVecRes_INSERT_VECTOR_ELT()
1453 SDValue EltPtr = TLI.getVectorElementPointer(DAG, StackPtr, VecVT, Idx); in SplitVecRes_INSERT_VECTOR_ELT()
[all …]
DLegalizeTypes.cpp862 SDValue StackPtr = DAG.CreateStackTemporary(Op.getValueType(), DestVT); in CreateStackStoreLoad() local
865 DAG.getStore(DAG.getEntryNode(), dl, Op, StackPtr, MachinePointerInfo()); in CreateStackStoreLoad()
867 return DAG.getLoad(DestVT, dl, Store, StackPtr, MachinePointerInfo()); in CreateStackStoreLoad()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCISelLowering.cpp260 SDValue StackPtr; in LowerCall() local
289 if (!StackPtr.getNode()) in LowerCall()
290 StackPtr = DAG.getCopyFromReg(Chain, dl, ARC::SP, in LowerCall()
295 ISD::ADD, dl, getPointerTy(DAG.getDataLayout()), StackPtr, SOffset); in LowerCall()
400 SDValue StackPtr = DAG.getRegister(ARC::SP, MVT::i32); in lowerCallResult() local
401 SDValue SpLoc = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, in lowerCallResult()
DARCFrameLowering.cpp47 int Amount, int StackPtr) { in generateStackAdjustment() argument
72 BuildMI(MBB, MBBI, dl, TII.get(AdjOp), StackPtr) in generateStackAdjustment()
73 .addReg(StackPtr) in generateStackAdjustment()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp401 Value *StackPtr = Builder.CreateConstGEP2_32(doubleUnderJBufTy, JBufPtr, 0, 2, in setupEntryBlockAndCallSites() local
405 Builder.CreateStore(Val, StackPtr, /*isVolatile=*/true); in setupEntryBlockAndCallSites()
460 Instruction *StoreStackAddr = new StoreInst(StackAddr, StackPtr, true); in setupEntryBlockAndCallSites()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DSymbolRecordMapping.cpp503 case EncodedFramePtrReg::StackPtr: return RegisterId::VFRAME; in decodeFramePtrReg()
511 case EncodedFramePtrReg::StackPtr: return RegisterId::RSP; in decodeFramePtrReg()
535 return EncodedFramePtrReg::StackPtr; in encodeFramePtrReg()
547 return EncodedFramePtrReg::StackPtr; in encodeFramePtrReg()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DREADME.txt330 int foo(int StackPtr, unsigned char *Line, unsigned char *Stack, int LineLen) {
333 if (StackPtr != 0) {
334 while (StackPtr != 0 && i < (((LineLen) < (32768))? (LineLen) : (32768)))
335 Line[i++] = Stack[--StackPtr];
338 while (StackPtr != 0 && i < LineLen)
341 --StackPtr;
345 return StackPtr;
DARMISelLowering.h666 SDValue &StackPtr,
677 SDValue LowerMemOpCallTo(SDValue Chain, SDValue StackPtr, SDValue Arg,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp822 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall_32() local
824 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall_32()
843 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall_32() local
845 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall_32()
877 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall_32() local
879 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall_32()
886 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall_32() local
888 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall_32()
893 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall_32()
915 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall_32() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceRegistersARM32.h91 unsigned StackPtr : 1; member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsISelLowering.h588 SmallVectorImpl<SDValue> &MemOpChains, SDValue StackPtr,
607 SDValue passArgOnStack(SDValue StackPtr, unsigned Offset, SDValue Chain,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp1477 Register StackPtr = MF->getSubtarget() in translateKnownIntrinsic() local
1482 if (!StackPtr) in translateKnownIntrinsic()
1485 MIRBuilder.buildCopy(Reg, StackPtr); in translateKnownIntrinsic()
1491 Register StackPtr = MF->getSubtarget() in translateKnownIntrinsic() local
1496 if (!StackPtr) in translateKnownIntrinsic()
1499 MIRBuilder.buildCopy(StackPtr, Reg); in translateKnownIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiISelLowering.cpp654 SDValue StackPtr; in LowerCCCCallTo() local
690 if (StackPtr.getNode() == nullptr) in LowerCCCCallTo()
691 StackPtr = DAG.getCopyFromReg(Chain, DL, Lanai::SP, in LowerCCCCallTo()
695 DAG.getNode(ISD::ADD, DL, getPointerTy(DAG.getDataLayout()), StackPtr, in LowerCCCCallTo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DCodeView.h538 StackPtr = 1, enumerator
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVISelLowering.cpp2163 SDValue StackPtr; in LowerCall() local
2184 if (!StackPtr.getNode()) in LowerCall()
2185 StackPtr = DAG.getCopyFromReg(Chain, DL, RISCV::X2, PtrVT); in LowerCall()
2188 DAG.getStore(Chain, DL, Hi, StackPtr, MachinePointerInfo())); in LowerCall()
2242 if (!StackPtr.getNode()) in LowerCall()
2243 StackPtr = DAG.getCopyFromReg(Chain, DL, RISCV::X2, PtrVT); in LowerCall()
2245 DAG.getNode(ISD::ADD, DL, PtrVT, StackPtr, in LowerCall()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp824 SDValue StackPtr; in LowerCCCCallTo() local
854 if (!StackPtr.getNode()) in LowerCCCCallTo()
855 StackPtr = DAG.getCopyFromReg(Chain, dl, MSP430::SP, PtrVT); in LowerCCCCallTo()
858 DAG.getNode(ISD::ADD, dl, PtrVT, StackPtr, in LowerCCCCallTo()

12