Home
last modified time | relevance | path

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

/external/llvm/lib/Target/X86/
DX86FrameLowering.cpp147 unsigned StackPtr, int64_t NumBytes, in emitSPUpdate() argument
186 MI = addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr), in emitSPUpdate()
187 StackPtr, false, isSub ? -ThisVal : ThisVal); in emitSPUpdate()
189 MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in emitSPUpdate()
190 .addReg(StackPtr) in emitSPUpdate()
205 unsigned StackPtr, uint64_t *NumBytes = NULL) { in mergeSPUpdatesUp() argument
213 PI->getOperand(0).getReg() == StackPtr) { in mergeSPUpdatesUp()
219 PI->getOperand(0).getReg() == StackPtr) { in mergeSPUpdatesUp()
230 unsigned StackPtr, uint64_t *NumBytes = NULL) { in mergeSPUpdatesDown() argument
242 NI->getOperand(0).getReg() == StackPtr) { in mergeSPUpdatesDown()
[all …]
DX86RegisterInfo.cpp69 StackPtr = X86::RSP; in X86RegisterInfo()
73 StackPtr = X86::ESP; in X86RegisterInfo()
420 StackPtr) in eliminateCallFramePseudoInstr()
421 .addReg(StackPtr) in eliminateCallFramePseudoInstr()
431 New = BuildMI(MF, DL, TII.get(Opc), StackPtr) in eliminateCallFramePseudoInstr()
432 .addReg(StackPtr).addImm(Amount); in eliminateCallFramePseudoInstr()
452 MachineInstr *New = BuildMI(MF, DL, TII.get(Opc), StackPtr) in eliminateCallFramePseudoInstr()
453 .addReg(StackPtr).addImm(CalleeAmt); in eliminateCallFramePseudoInstr()
489 BasePtr = (FrameIndex < 0 ? FramePtr : StackPtr); in eliminateFrameIndex()
491 BasePtr = StackPtr; in eliminateFrameIndex()
[all …]
DX86RegisterInfo.h47 unsigned StackPtr; variable
123 unsigned getStackRegister() const { return StackPtr; } in getStackRegister()
DX86JITInfo.cpp306 static void X86CompilationCallback2(intptr_t *StackPtr, intptr_t RetAddr);
352 X86CompilationCallback2(intptr_t *StackPtr, intptr_t RetAddr) { in X86CompilationCallback2() argument
353 intptr_t *RetAddrLoc = &StackPtr[1]; in X86CompilationCallback2()
369 << " ESP=" << (void*)StackPtr in X86CompilationCallback2()
DX86ISelLowering.h689 SDValue LowerMemOpCallTo(SDValue Chain, SDValue StackPtr, SDValue Arg,
DX86FastISel.cpp50 unsigned StackPtr; member in __anonba71d8e20111::X86FastISel
62 StackPtr = Subtarget->is64Bit() ? X86::RSP : X86::ESP; in X86FastISel()
1749 AM.Base.Reg = StackPtr; in DoSelectCall()
DX86ISelLowering.cpp2078 SDValue StackPtr, SDValue Arg, in LowerMemOpCallTo() argument
2084 PtrOff = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, PtrOff); in LowerMemOpCallTo()
2213 SDValue StackPtr; in LowerCall() local
2275 if (StackPtr.getNode() == 0) in LowerCall()
2276 StackPtr = DAG.getCopyFromReg(Chain, dl, X86StackPtr, getPointerTy()); in LowerCall()
2277 MemOpChains.push_back(LowerMemOpCallTo(Chain, StackPtr, Arg, in LowerCall()
2382 if (StackPtr.getNode() == 0) in LowerCall()
2383 StackPtr = DAG.getCopyFromReg(Chain, dl, X86StackPtr, in LowerCall()
2385 Source = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, Source); in LowerCall()
13242 SDValue StackPtr = DAG.CreateStackTemporary(InputVector.getValueType()); in PerformEXTRACT_VECTOR_ELTCombine() local
[all …]
/external/giflib/
Ddgif_lib.c714 Private->StackPtr = 0; /* No pixels on the pixel stack. */
738 int j, CrntCode, EOFCode, ClearCode, CrntPrefix, LastCode, StackPtr; local
743 StackPtr = Private->StackPtr;
751 if (StackPtr > LZ_MAX_CODE) {
755 if (StackPtr != 0) {
757 while (StackPtr != 0 && i < LineLen)
758 Line[i++] = Stack[--StackPtr];
802 Stack[StackPtr++] = DGifGetPrefixChar(Prefix,
820 Stack[StackPtr++] = Suffix[CrntPrefix];
828 Stack[StackPtr++] = CrntPrefix;
[all …]
Dgif_lib_private.h43 StackPtr, /* For character stack (see below). */ member
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp121 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment); in ExpandRes_BITCAST() local
122 int SPFI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex(); in ExpandRes_BITCAST()
126 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo, in ExpandRes_BITCAST()
130 Lo = DAG.getLoad(NOutVT, dl, Store, StackPtr, PtrInfo, in ExpandRes_BITCAST()
135 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST()
139 Hi = DAG.getLoad(NOutVT, dl, Store, StackPtr, in ExpandRes_BITCAST()
DLegalizeDAG.cpp329 SDValue StackPtr = DAG.CreateStackTemporary(StoredVT, RegVT); in ExpandUnalignedStore() local
333 Val, StackPtr, MachinePointerInfo(), in ExpandUnalignedStore()
342 SDValue Load = DAG.getLoad(RegVT, dl, Store, StackPtr, in ExpandUnalignedStore()
352 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedStore()
364 SDValue Load = DAG.getExtLoad(ISD::EXTLOAD, dl, RegVT, Store, StackPtr, in ExpandUnalignedStore()
455 SDValue StackPtr = StackBase; in ExpandUnalignedLoad() local
467 Stores.push_back(DAG.getStore(Load.getValue(1), dl, Load, StackPtr, in ExpandUnalignedLoad()
472 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedLoad()
487 Stores.push_back(DAG.getTruncStore(Load.getValue(1), dl, Load, StackPtr, in ExpandUnalignedLoad()
580 SDValue StackPtr = DAG.CreateStackTemporary(VT); in PerformInsertVectorEltInMemory() local
[all …]
DLegalizeVectorTypes.cpp702 SDValue StackPtr = DAG.CreateStackTemporary(VecVT); in SplitVecRes_INSERT_VECTOR_ELT() local
703 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, in SplitVecRes_INSERT_VECTOR_ELT()
708 SDValue EltPtr = GetVectorElementPointer(StackPtr, EltVT, Idx); in SplitVecRes_INSERT_VECTOR_ELT()
716 Lo = DAG.getLoad(Lo.getValueType(), dl, Store, StackPtr, MachinePointerInfo(), in SplitVecRes_INSERT_VECTOR_ELT()
721 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in SplitVecRes_INSERT_VECTOR_ELT()
725 Hi = DAG.getLoad(Hi.getValueType(), dl, Store, StackPtr, MachinePointerInfo(), in SplitVecRes_INSERT_VECTOR_ELT()
1102 SDValue StackPtr = DAG.CreateStackTemporary(VecVT); in SplitVecOp_EXTRACT_VECTOR_ELT() local
1103 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, in SplitVecOp_EXTRACT_VECTOR_ELT()
1107 StackPtr = GetVectorElementPointer(StackPtr, EltVT, Idx); in SplitVecOp_EXTRACT_VECTOR_ELT()
1108 return DAG.getExtLoad(ISD::EXTLOAD, dl, N->getValueType(0), Store, StackPtr, in SplitVecOp_EXTRACT_VECTOR_ELT()
DLegalizeTypes.cpp886 SDValue StackPtr = DAG.CreateStackTemporary(Op.getValueType(), DestVT); in CreateStackStoreLoad() local
888 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, Op, StackPtr, in CreateStackStoreLoad()
891 return DAG.getLoad(DestVT, dl, Store, StackPtr, MachinePointerInfo(), in CreateStackStoreLoad()
/external/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp436 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall() local
438 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall()
453 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall() local
455 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall()
463 SDValue StackPtr = DAG.CreateStackTemporary(MVT::f64, MVT::i32); in LowerCall() local
465 Arg, StackPtr, MachinePointerInfo(), in LowerCall()
468 SDValue Hi = DAG.getLoad(MVT::i32, dl, Store, StackPtr, in LowerCall()
471 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in LowerCall()
474 SDValue Lo = DAG.getLoad(MVT::i32, dl, Store, StackPtr, in LowerCall()
486 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall() local
[all …]
/external/llvm/lib/Transforms/Utils/
DLowerInvoke.cpp97 AllocaInst *InvokeNum, AllocaInst *StackPtr,
203 AllocaInst *StackPtr, in rewriteExpensiveInvoke() argument
226 new StoreInst(StackSaveRet, StackPtr, true, II); // volatile in rewriteExpensiveInvoke()
234 new LoadInst(StackPtr, "stackptr.restore", true, in rewriteExpensiveInvoke()
459 AllocaInst *StackPtr = new AllocaInst(Type::getInt8PtrTy(F.getContext()), 0, in insertExpensiveEHSupport() local
508 rewriteExpensiveInvoke(Invokes[i], i+1, InvokeNum, StackPtr, CatchSwitch); in insertExpensiveEHSupport()
/external/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp444 Value *StackPtr = GetElementPtrInst::Create(JBufPtr, Idxs, "jbuf_sp_gep", in setupEntryBlockAndCallSites() local
448 new StoreInst(Val, StackPtr, true, EntryBB->getTerminator()); in setupEntryBlockAndCallSites()
509 Instruction *StoreStackAddr = new StoreInst(StackAddr, StackPtr, true); in setupEntryBlockAndCallSites()
/external/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.h401 SDValue &StackPtr,
410 SDValue LowerMemOpCallTo(SDValue Chain, SDValue StackPtr, SDValue Arg,
DARMISelLowering.cpp1248 SDValue StackPtr, SDValue Arg, in LowerMemOpCallTo() argument
1254 PtrOff = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, PtrOff); in LowerMemOpCallTo()
1264 SDValue &StackPtr, in PassF64ArgInRegs() argument
1276 if (StackPtr.getNode() == 0) in PassF64ArgInRegs()
1277 StackPtr = DAG.getCopyFromReg(Chain, dl, ARM::SP, getPointerTy()); in PassF64ArgInRegs()
1279 MemOpChains.push_back(LowerMemOpCallTo(Chain, StackPtr, fmrrd.getValue(1), in PassF64ArgInRegs()
1336 SDValue StackPtr = DAG.getCopyFromReg(Chain, dl, ARM::SP, getPointerTy()); in LowerCall() local
1378 VA, ArgLocs[++i], StackPtr, MemOpChains, Flags); in LowerCall()
1383 VA, ArgLocs[++i], StackPtr, MemOpChains, Flags); in LowerCall()
1387 MemOpChains.push_back(LowerMemOpCallTo(Chain, StackPtr, Op1, in LowerCall()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp460 SDValue StackPtr; in LowerCCCCallTo() local
490 if (StackPtr.getNode() == 0) in LowerCCCCallTo()
491 StackPtr = DAG.getCopyFromReg(Chain, dl, MSP430::SPW, getPointerTy()); in LowerCCCCallTo()
494 StackPtr, in LowerCCCCallTo()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp2522 SDValue StackPtr; in LowerMemOpCallTo() local
2524 StackPtr = DAG.getRegister(PPC::X1, MVT::i64); in LowerMemOpCallTo()
2526 StackPtr = DAG.getRegister(PPC::R1, MVT::i32); in LowerMemOpCallTo()
2527 PtrOff = DAG.getNode(ISD::ADD, dl, PtrVT, StackPtr, in LowerMemOpCallTo()
2994 SDValue StackPtr = DAG.getRegister(PPC::R1, MVT::i32); in LowerCall_SVR4() local
3022 PtrOff = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, PtrOff); in LowerCall_SVR4()
3055 PtrOff = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, PtrOff); in LowerCall_SVR4()
3158 SDValue StackPtr; in LowerCall_Darwin() local
3160 StackPtr = DAG.getRegister(PPC::X1, MVT::i64); in LowerCall_Darwin()
3162 StackPtr = DAG.getRegister(PPC::R1, MVT::i32); in LowerCall_Darwin()
[all …]
/external/llvm/lib/Target/MBlaze/
DMBlazeISelLowering.cpp890 SDValue StackPtr; in LowerFormalArguments() local
963 if (StackPtr.getNode() == 0) in LowerFormalArguments()
964 StackPtr = DAG.getRegister(StackReg, getPointerTy()); in LowerFormalArguments()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp437 SDValue StackPtr = in LowerCall() local
467 SDValue PtrOff = DAG.getConstant(LocMemOffset, StackPtr.getValueType()); in LowerCall()
468 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall()
/external/llvm/lib/Target/CellSPU/
DSPUISelLowering.cpp1296 SDValue StackPtr = DAG.getRegister(SPU::R1, MVT::i32); in LowerCall() local
1314 SDValue PtrOff = DAG.getConstant(ArgOffset, StackPtr.getValueType()); in LowerCall()
1315 PtrOff = DAG.getNode(ISD::ADD, dl, PtrVT, StackPtr, PtrOff); in LowerCall()