Home
last modified time | relevance | path

Searched refs:StackPtr (Results 1 – 25 of 25) 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.h47 unsigned StackPtr; variable
126 unsigned getStackRegister() const { return StackPtr; } in getStackRegister()
DX86JITInfo.cpp303 void LLVMX86CompilationCallback2(intptr_t *StackPtr, intptr_t RetAddr);
342 LLVM_LIBRARY_VISIBILITY void LLVMX86CompilationCallback2(intptr_t *StackPtr, in LLVMX86CompilationCallback2() argument
344 intptr_t *RetAddrLoc = &StackPtr[1]; in LLVMX86CompilationCallback2()
363 << " ESP=" << (void*)StackPtr in LLVMX86CompilationCallback2()
DX86RegisterInfo.cpp75 StackPtr = X86::RSP; in X86RegisterInfo()
79 StackPtr = X86::ESP; in X86RegisterInfo()
471 BasePtr = (FrameIndex < 0 ? FramePtr : StackPtr); in eliminateFrameIndex()
473 BasePtr = StackPtr; in eliminateFrameIndex()
475 BasePtr = (TFI->hasFP(MF) ? FramePtr : StackPtr); in eliminateFrameIndex()
507 return TFI->hasFP(MF) ? FramePtr : StackPtr; in getFrameRegister()
DX86ISelLowering.h757 SDValue LowerMemOpCallTo(SDValue Chain, SDValue StackPtr, SDValue Arg,
DX86ISelLowering.cpp2225 SDValue StackPtr, SDValue Arg, in LowerMemOpCallTo() argument
2231 PtrOff = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, PtrOff); in LowerMemOpCallTo()
2365 SDValue StackPtr; in LowerCall() local
2427 if (StackPtr.getNode() == 0) in LowerCall()
2428 StackPtr = DAG.getCopyFromReg(Chain, dl, RegInfo->getStackRegister(), in LowerCall()
2430 MemOpChains.push_back(LowerMemOpCallTo(Chain, StackPtr, Arg, in LowerCall()
2516 if (StackPtr.getNode() == 0) in LowerCall()
2517 StackPtr = DAG.getCopyFromReg(Chain, dl, in LowerCall()
2520 Source = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, Source); in LowerCall()
15071 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/Target/Sparc/
DSparcISelLowering.cpp438 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall() local
440 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall()
455 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall() local
457 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall()
465 SDValue StackPtr = DAG.CreateStackTemporary(MVT::f64, MVT::i32); in LowerCall() local
467 Arg, StackPtr, MachinePointerInfo(), in LowerCall()
470 SDValue Hi = DAG.getLoad(MVT::i32, dl, Store, StackPtr, in LowerCall()
473 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in LowerCall()
476 SDValue Lo = DAG.getLoad(MVT::i32, dl, Store, StackPtr, in LowerCall()
488 SDValue StackPtr = DAG.getRegister(SP::O6, MVT::i32); in LowerCall() local
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp155 SDValue StackPtr = DAG.CreateStackTemporary(InVT, Alignment); in ExpandRes_BITCAST() local
156 int SPFI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex(); in ExpandRes_BITCAST()
160 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo, in ExpandRes_BITCAST()
164 Lo = DAG.getLoad(NOutVT, dl, Store, StackPtr, PtrInfo, in ExpandRes_BITCAST()
169 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandRes_BITCAST()
173 Hi = DAG.getLoad(NOutVT, dl, Store, StackPtr, in ExpandRes_BITCAST()
DLegalizeDAG.cpp336 SDValue StackPtr = DAG.CreateStackTemporary(StoredVT, RegVT); in ExpandUnalignedStore() local
340 Val, StackPtr, MachinePointerInfo(), in ExpandUnalignedStore()
349 SDValue Load = DAG.getLoad(RegVT, dl, Store, StackPtr, in ExpandUnalignedStore()
359 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedStore()
371 SDValue Load = DAG.getExtLoad(ISD::EXTLOAD, dl, RegVT, Store, StackPtr, in ExpandUnalignedStore()
463 SDValue StackPtr = StackBase; in ExpandUnalignedLoad() local
475 Stores.push_back(DAG.getStore(Load.getValue(1), dl, Load, StackPtr, in ExpandUnalignedLoad()
480 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in ExpandUnalignedLoad()
495 Stores.push_back(DAG.getTruncStore(Load.getValue(1), dl, Load, StackPtr, in ExpandUnalignedLoad()
588 SDValue StackPtr = DAG.CreateStackTemporary(VT); in PerformInsertVectorEltInMemory() local
[all …]
DLegalizeVectorTypes.cpp763 SDValue StackPtr = DAG.CreateStackTemporary(VecVT); in SplitVecRes_INSERT_VECTOR_ELT() local
764 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, in SplitVecRes_INSERT_VECTOR_ELT()
769 SDValue EltPtr = GetVectorElementPointer(StackPtr, EltVT, Idx); in SplitVecRes_INSERT_VECTOR_ELT()
777 Lo = DAG.getLoad(Lo.getValueType(), dl, Store, StackPtr, MachinePointerInfo(), in SplitVecRes_INSERT_VECTOR_ELT()
782 StackPtr = DAG.getNode(ISD::ADD, dl, StackPtr.getValueType(), StackPtr, in SplitVecRes_INSERT_VECTOR_ELT()
786 Hi = DAG.getLoad(Hi.getValueType(), dl, Store, StackPtr, MachinePointerInfo(), in SplitVecRes_INSERT_VECTOR_ELT()
1219 SDValue StackPtr = DAG.CreateStackTemporary(VecVT); in SplitVecOp_EXTRACT_VECTOR_ELT() local
1220 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, Vec, StackPtr, in SplitVecOp_EXTRACT_VECTOR_ELT()
1224 StackPtr = GetVectorElementPointer(StackPtr, EltVT, Idx); in SplitVecOp_EXTRACT_VECTOR_ELT()
1225 return DAG.getExtLoad(ISD::EXTLOAD, dl, N->getValueType(0), Store, StackPtr, in SplitVecOp_EXTRACT_VECTOR_ELT()
DLegalizeTypes.cpp887 SDValue StackPtr = DAG.CreateStackTemporary(Op.getValueType(), DestVT); in CreateStackStoreLoad() local
889 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, Op, StackPtr, in CreateStackStoreLoad()
892 return DAG.getLoad(DestVT, dl, Store, StackPtr, MachinePointerInfo(), in CreateStackStoreLoad()
/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.cpp426 Value *StackPtr = Builder.CreateConstGEP2_32(JBufPtr, 0, 2, "jbuf_sp_gep"); in setupEntryBlockAndCallSites() local
429 Builder.CreateStore(Val, StackPtr, /*isVolatile=*/true); in setupEntryBlockAndCallSites()
486 Instruction *StoreStackAddr = new StoreInst(StackAddr, StackPtr, true); in setupEntryBlockAndCallSites()
/external/llvm/lib/Target/Mips/
DMipsISelLowering.h360 SmallVector<SDValue, 8> &MemOpChains, SDValue StackPtr,
378 SDValue passArgOnStack(SDValue StackPtr, unsigned Offset, SDValue Chain,
DMipsISelLowering.cpp2519 MipsTargetLowering::passArgOnStack(SDValue StackPtr, unsigned Offset, in passArgOnStack() argument
2523 SDValue PtrOff = DAG.getNode(ISD::ADD, DL, getPointerTy(), StackPtr, in passArgOnStack()
2633 SDValue StackPtr = DAG.getCopyFromReg(Chain, DL, in LowerCall() local
2656 passByValArg(Chain, DL, RegsToPass, MemOpChains, StackPtr, MFI, DAG, Arg, in LowerCall()
2709 MemOpChains.push_back(passArgOnStack(StackPtr, VA.getLocMemOffset(), in LowerCall()
3624 SmallVector<SDValue, 8> &MemOpChains, SDValue StackPtr, in passByValArg() argument
3708 SDValue Dst = DAG.getNode(ISD::ADD, DL, PtrTy, StackPtr, in passByValArg()
/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.h419 SDValue &StackPtr,
428 SDValue LowerMemOpCallTo(SDValue Chain, SDValue StackPtr, SDValue Arg,
DARMISelLowering.cpp1302 SDValue StackPtr, SDValue Arg, in LowerMemOpCallTo() argument
1308 PtrOff = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, PtrOff); in LowerMemOpCallTo()
1318 SDValue &StackPtr, in PassF64ArgInRegs() argument
1330 if (StackPtr.getNode() == 0) in PassF64ArgInRegs()
1331 StackPtr = DAG.getCopyFromReg(Chain, dl, ARM::SP, getPointerTy()); in PassF64ArgInRegs()
1333 MemOpChains.push_back(LowerMemOpCallTo(Chain, StackPtr, fmrrd.getValue(1), in PassF64ArgInRegs()
1396 SDValue StackPtr = DAG.getCopyFromReg(Chain, dl, ARM::SP, getPointerTy()); in LowerCall() local
1438 VA, ArgLocs[++i], StackPtr, MemOpChains, Flags); in LowerCall()
1443 VA, ArgLocs[++i], StackPtr, MemOpChains, Flags); in LowerCall()
1447 MemOpChains.push_back(LowerMemOpCallTo(Chain, StackPtr, Op1, in LowerCall()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.cpp483 SDValue StackPtr; in LowerCCCCallTo() local
513 if (StackPtr.getNode() == 0) in LowerCCCCallTo()
514 StackPtr = DAG.getCopyFromReg(Chain, dl, MSP430::SPW, getPointerTy()); in LowerCCCCallTo()
517 StackPtr, in LowerCCCCallTo()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp3051 SDValue StackPtr; in LowerMemOpCallTo() local
3053 StackPtr = DAG.getRegister(PPC::X1, MVT::i64); in LowerMemOpCallTo()
3055 StackPtr = DAG.getRegister(PPC::R1, MVT::i32); in LowerMemOpCallTo()
3056 PtrOff = DAG.getNode(ISD::ADD, dl, PtrVT, StackPtr, in LowerMemOpCallTo()
3556 SDValue StackPtr = DAG.getRegister(PPC::R1, MVT::i32); in LowerCall_32SVR4() local
3584 PtrOff = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, PtrOff); in LowerCall_32SVR4()
3617 PtrOff = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, PtrOff); in LowerCall_32SVR4()
3743 SDValue StackPtr = DAG.getRegister(PPC::X1, MVT::i64); in LowerCall_64SVR4() local
3778 PtrOff = DAG.getConstant(ArgOffset, StackPtr.getValueType()); in LowerCall_64SVR4()
3780 PtrOff = DAG.getNode(ISD::ADD, dl, PtrVT, StackPtr, PtrOff); in LowerCall_64SVR4()
[all …]
/external/llvm/lib/Target/MBlaze/
DMBlazeISelLowering.cpp898 SDValue StackPtr; in LowerFormalArguments() local
971 if (StackPtr.getNode() == 0) in LowerFormalArguments()
972 StackPtr = DAG.getRegister(StackReg, getPointerTy()); in LowerFormalArguments()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.cpp452 SDValue StackPtr = in LowerCall() local
482 SDValue PtrOff = DAG.getConstant(LocMemOffset, StackPtr.getValueType()); in LowerCall()
483 PtrOff = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, PtrOff); in LowerCall()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp1151 SDValue StackPtr = DAG.getCopyFromReg(Chain, dl, AArch64::XSP, in LowerCall() local
1225 DstAddr = DAG.getNode(ISD::ADD, dl, getPointerTy(), StackPtr, PtrOff); in LowerCall()