Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86FrameLowering.cpp143 unsigned StackPtr, int64_t NumBytes, in emitSPUpdate() argument
175 BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in emitSPUpdate()
176 .addReg(StackPtr) in emitSPUpdate()
188 unsigned StackPtr, uint64_t *NumBytes = NULL) { in mergeSPUpdatesUp() argument
195 PI->getOperand(0).getReg() == StackPtr) { in mergeSPUpdatesUp()
201 PI->getOperand(0).getReg() == StackPtr) { in mergeSPUpdatesUp()
212 unsigned StackPtr, uint64_t *NumBytes = NULL) { in mergeSPUpdatesDown() argument
224 NI->getOperand(0).getReg() == StackPtr) { in mergeSPUpdatesDown()
231 NI->getOperand(0).getReg() == StackPtr) { in mergeSPUpdatesDown()
245 unsigned StackPtr, in mergeSPUpdates() argument
[all …]
DX86RegisterInfo.cpp69 StackPtr = X86::RSP; in X86RegisterInfo()
73 StackPtr = X86::ESP; in X86RegisterInfo()
544 StackPtr) in eliminateCallFramePseudoInstr()
545 .addReg(StackPtr) in eliminateCallFramePseudoInstr()
555 New = BuildMI(MF, DL, TII.get(Opc), StackPtr) in eliminateCallFramePseudoInstr()
556 .addReg(StackPtr).addImm(Amount); in eliminateCallFramePseudoInstr()
576 MachineInstr *New = BuildMI(MF, DL, TII.get(Opc), StackPtr) in eliminateCallFramePseudoInstr()
577 .addReg(StackPtr).addImm(CalleeAmt); in eliminateCallFramePseudoInstr()
613 BasePtr = (FrameIndex < 0 ? FramePtr : StackPtr); in eliminateFrameIndex()
615 BasePtr = StackPtr; in eliminateFrameIndex()
[all …]
DX86JITInfo.cpp303 void X86CompilationCallback2(intptr_t *StackPtr, intptr_t RetAddr);
343 X86CompilationCallback2(intptr_t *StackPtr, intptr_t RetAddr) { in X86CompilationCallback2() argument
344 intptr_t *RetAddrLoc = &StackPtr[1]; in X86CompilationCallback2()
360 << " ESP=" << (void*)StackPtr in X86CompilationCallback2()
DX86RegisterInfo.h47 unsigned StackPtr; variable
122 unsigned getStackRegister() const { return StackPtr; } in getStackRegister()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp62 unsigned StackPtr; member in __anonedc1c54c0111::X86WinAllocaExpander
186 } else if (MI.modifiesRegister(StackPtr, TRI)) { in computeLowerings()
238 BuildMI(*MBB, I, DL, TII->get(getSubOpcode(Is64Bit, Amount)), StackPtr) in lower()
239 .addReg(StackPtr) in lower()
255 StackPtr) in lower()
256 .addReg(StackPtr) in lower()
287 StackPtr = TRI->getStackRegister(); in runOnMachineFunction()
DX86FrameLowering.cpp49 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.h41 unsigned StackPtr; variable
134 unsigned getStackRegister() const { return StackPtr; } in getStackRegister()
DX86CallFrameOptimization.cpp381 unsigned StackPtr = RegInfo.getStackRegister(); in collectCallInfo() local
393 J->getOperand(1).getReg() == StackPtr) { in collectCallInfo()
396 StackPtr = Context.SPCopy->getOperand(0).getReg(); in collectCallInfo()
426 (I->getOperand(X86::AddrBaseReg).getReg() != StackPtr) || in collectCallInfo()
DX86RegisterInfo.cpp65 StackPtr = Use64BitReg ? X86::RSP : X86::ESP; in X86RegisterInfo()
70 StackPtr = X86::ESP; in X86RegisterInfo()
722 if (BasePtr == StackPtr) in eliminateFrameIndex()
752 return TFI->hasFP(MF) ? FramePtr : StackPtr; in getFrameRegister()
/external/giflib/
Ddgif_lib.c783 Private->StackPtr = 0; /* No pixels on the pixel stack. */ in DGifSetupDecompress()
805 int j, CrntCode, EOFCode, ClearCode, CrntPrefix, LastCode, StackPtr; in DGifDecompressLine() local
810 StackPtr = Private->StackPtr; in DGifDecompressLine()
818 if (StackPtr > LZ_MAX_CODE) { in DGifDecompressLine()
822 if (StackPtr != 0) { in DGifDecompressLine()
824 while (StackPtr != 0 && i < LineLen) in DGifDecompressLine()
825 Line[i++] = Stack[--StackPtr]; in DGifDecompressLine()
867 Stack[StackPtr++] = DGifGetPrefixChar(Prefix, in DGifDecompressLine()
872 Stack[StackPtr++] = DGifGetPrefixChar(Prefix, in DGifDecompressLine()
883 while (StackPtr < LZ_MAX_CODE && in DGifDecompressLine()
[all …]
Dgif_lib_private.h42 StackPtr, /* For character stack (see below). */ member
/external/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp62 unsigned StackPtr; member in __anonf218f6140111::X86WinAllocaExpander
185 } else if (MI.modifiesRegister(StackPtr, TRI)) { in computeLowerings()
236 BuildMI(*MBB, I, DL, TII->get(getSubOpcode(Is64Bit, Amount)), StackPtr) in lower()
237 .addReg(StackPtr) in lower()
277 StackPtr = TRI->getStackRegister(); in runOnMachineFunction()
DX86RegisterInfo.cpp70 StackPtr = Use64BitReg ? X86::RSP : X86::ESP; in X86RegisterInfo()
75 StackPtr = X86::ESP; in X86RegisterInfo()
591 BasePtr = (FrameIndex < 0 ? FramePtr : StackPtr); in eliminateFrameIndex()
593 BasePtr = StackPtr; in eliminateFrameIndex()
595 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
630 if (BasePtr == StackPtr) in eliminateFrameIndex()
659 return TFI->hasFP(MF) ? FramePtr : StackPtr; in getFrameRegister()
DX86RegisterInfo.h41 unsigned StackPtr; variable
134 unsigned getStackRegister() const { return StackPtr; } in getStackRegister()
DX86FrameLowering.cpp49 StackPtr = TRI->getStackRegister(); in X86FrameLowering()
277 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in emitSPUpdate()
278 .addReg(StackPtr) in emitSPUpdate()
351 StackPtr), in BuildStackAdjustment()
352 StackPtr, false, Offset); in BuildStackAdjustment()
358 MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in BuildStackAdjustment()
359 .addReg(StackPtr) in BuildStackAdjustment()
387 PI->getOperand(0).getReg() == StackPtr){ in mergeSPUpdates()
388 assert(PI->getOperand(1).getReg() == StackPtr); in mergeSPUpdates()
393 PI->getOperand(0).getReg() == StackPtr && in mergeSPUpdates()
[all …]
DX86CallFrameOptimization.cpp349 unsigned StackPtr = RegInfo.getStackRegister(); in collectCallInfo() local
354 I->getOperand(1).getReg() == StackPtr) { in collectCallInfo()
356 StackPtr = Context.SPCopy->getOperand(0).getReg(); in collectCallInfo()
386 (I->getOperand(X86::AddrBaseReg).getReg() != StackPtr) || in collectCallInfo()
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp167 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment); in ExpandRes_BITCAST() local
168 int SPFI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex(); in ExpandRes_BITCAST()
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()
182 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST()
184 StackPtr.getValueType())); in ExpandRes_BITCAST()
187 Hi = DAG.getLoad(NOutVT, dl, Store, StackPtr, in ExpandRes_BITCAST()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp124 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment); in ExpandRes_BITCAST() local
125 int SPFI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex(); in ExpandRes_BITCAST()
129 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo, in ExpandRes_BITCAST()
133 Lo = DAG.getLoad(NOutVT, dl, Store, StackPtr, PtrInfo, false, false, 0); in ExpandRes_BITCAST()
137 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST()
141 Hi = DAG.getLoad(NOutVT, dl, Store, StackPtr, in ExpandRes_BITCAST()
DLegalizeDAG.cpp415 SDValue StackPtr = DAG.CreateStackTemporary(StoredVT, RegVT); in ExpandUnalignedStore() local
419 Val, StackPtr, MachinePointerInfo(), in ExpandUnalignedStore()
428 SDValue Load = DAG.getLoad(RegVT, dl, Store, StackPtr, in ExpandUnalignedStore()
438 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedStore()
450 SDValue Load = DAG.getExtLoad(ISD::EXTLOAD, dl, RegVT, Store, StackPtr, in ExpandUnalignedStore()
531 SDValue StackPtr = StackBase; in ExpandUnalignedLoad() local
542 Stores.push_back(DAG.getStore(Load.getValue(1), dl, Load, StackPtr, in ExpandUnalignedLoad()
547 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedLoad()
562 Stores.push_back(DAG.getTruncStore(Load.getValue(1), dl, Load, StackPtr, in ExpandUnalignedLoad()
654 SDValue StackPtr = DAG.CreateStackTemporary(VT); in PerformInsertVectorEltInMemory() local
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Sparc/
DSparcISelLowering.cpp437 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall() local
439 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall()
454 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall() local
456 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall()
464 SDValue StackPtr = DAG.CreateStackTemporary(MVT::f64, MVT::i32); in LowerCall() local
466 Arg, StackPtr, MachinePointerInfo(), in LowerCall()
469 SDValue Hi = DAG.getLoad(MVT::i32, dl, Store, StackPtr, in LowerCall()
472 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in LowerCall()
475 SDValue Lo = DAG.getLoad(MVT::i32, dl, Store, StackPtr, in LowerCall()
487 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp166 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment); in ExpandRes_BITCAST() local
167 int SPFI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex(); in ExpandRes_BITCAST()
172 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo); in ExpandRes_BITCAST()
175 Lo = DAG.getLoad(NOutVT, dl, Store, StackPtr, PtrInfo); in ExpandRes_BITCAST()
179 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST()
181 StackPtr.getValueType())); in ExpandRes_BITCAST()
184 Hi = DAG.getLoad(NOutVT, dl, Store, StackPtr, in ExpandRes_BITCAST()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLowerInvoke.cpp98 AllocaInst *InvokeNum, AllocaInst *StackPtr,
218 AllocaInst *StackPtr, in rewriteExpensiveInvoke() argument
241 new StoreInst(StackSaveRet, StackPtr, true, II); // volatile in rewriteExpensiveInvoke()
249 new LoadInst(StackPtr, "stackptr.restore", true, in rewriteExpensiveInvoke()
478 AllocaInst *StackPtr = new AllocaInst(Type::getInt8PtrTy(F.getContext()), 0, in insertExpensiveEHSupport() local
527 rewriteExpensiveInvoke(Invokes[i], i+1, InvokeNum, StackPtr, CatchSwitch); in insertExpensiveEHSupport()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/
DARCISelLowering.cpp261 SDValue StackPtr; in LowerCall() local
290 if (!StackPtr.getNode()) in LowerCall()
291 StackPtr = DAG.getCopyFromReg(Chain, dl, ARC::SP, in LowerCall()
296 ISD::ADD, dl, getPointerTy(DAG.getDataLayout()), StackPtr, SOffset); in LowerCall()
401 SDValue StackPtr = DAG.getRegister(ARC::SP, MVT::i32); in lowerCallResult() local
402 SDValue SpLoc = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, in lowerCallResult()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp399 Value *StackPtr = Builder.CreateConstGEP2_32(doubleUnderJBufTy, JBufPtr, 0, 2, in setupEntryBlockAndCallSites() local
403 Builder.CreateStore(Val, StackPtr, /*isVolatile=*/true); in setupEntryBlockAndCallSites()
458 Instruction *StoreStackAddr = new StoreInst(StackAddr, StackPtr, true); in setupEntryBlockAndCallSites()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp389 Value *StackPtr = Builder.CreateConstGEP2_32(doubleUnderJBufTy, JBufPtr, 0, 2, in setupEntryBlockAndCallSites() local
393 Builder.CreateStore(Val, StackPtr, /*isVolatile=*/true); in setupEntryBlockAndCallSites()
448 Instruction *StoreStackAddr = new StoreInst(StackAddr, StackPtr, true); in setupEntryBlockAndCallSites()

1234