Home
last modified time | relevance | path

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

12345

/external/llvm-project/clang/tools/driver/
Dcc1_main.cpp87 unsigned long StackPtr, EnvEnd; in getCurrentStackAllocation() local
100 &StackPtr, &EnvEnd) == 2) { in getCurrentStackAllocation()
104 Usage = StackPtr < EnvEnd ? EnvEnd - StackPtr : StackPtr - EnvEnd; in getCurrentStackAllocation()
/external/llvm-project/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp62 unsigned StackPtr = 0; member in __anonca2e87090111::X86WinAllocaExpander
182 } else if (MI.modifiesRegister(StackPtr, TRI)) { in computeLowerings()
240 TII->get(getSubOpcode(Is64BitAlloca, Amount)), StackPtr) in lower()
241 .addReg(StackPtr) in lower()
258 TII->get(Is64BitAlloca ? X86::SUB64rr : X86::SUB32rr), StackPtr) in lower()
259 .addReg(StackPtr) in lower()
282 StackPtr = TRI->getStackRegister(); in runOnMachineFunction()
DX86FrameLowering.cpp56 StackPtr = TRI->getStackRegister(); in X86FrameLowering()
247 MachineInstr *MI = BuildMI(MBB, MBBI, DL, TII.get(AddSubRROpc), StackPtr) in emitSPUpdate()
248 .addReg(StackPtr) in emitSPUpdate()
275 .addReg(StackPtr); in emitSPUpdate()
280 StackPtr, false, 0); in emitSPUpdate()
282 addRegOffset(BuildMI(MBB, MBBI, DL, TII.get(X86::MOV64rm), StackPtr), in emitSPUpdate()
283 StackPtr, false, 0); in emitSPUpdate()
348 StackPtr), in BuildStackAdjustment()
349 StackPtr, false, Offset); in BuildStackAdjustment()
355 MI = BuildMI(MBB, MBBI, DL, TII.get(Opc), StackPtr) in BuildStackAdjustment()
[all …]
DX86RegisterInfo.h40 unsigned StackPtr; variable
138 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp61 unsigned StackPtr = 0; member in __anonde98ebfd0111::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()
DX86RegisterInfo.h40 unsigned StackPtr; variable
139 Register getStackRegister() const { return StackPtr; } in getStackRegister()
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 …]
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()
/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-project/compiler-rt/lib/fuzzer/
DFuzzerUtilFuchsia.cpp299 uintptr_t StackPtr = GeneralRegisters.rsp - CFAOffset; in CrashHandler() local
300 __unsanitized_memcpy(reinterpret_cast<void *>(StackPtr), &GeneralRegisters, in CrashHandler()
302 GeneralRegisters.rsp = StackPtr; in CrashHandler()
306 uintptr_t StackPtr = GeneralRegisters.sp - CFAOffset; in CrashHandler() local
307 __unsanitized_memcpy(reinterpret_cast<void *>(StackPtr), &GeneralRegisters, in CrashHandler()
309 GeneralRegisters.sp = StackPtr; in CrashHandler()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerUtilFuchsia.cpp299 uintptr_t StackPtr = GeneralRegisters.rsp - CFAOffset; in CrashHandler() local
300 __unsanitized_memcpy(reinterpret_cast<void *>(StackPtr), &GeneralRegisters, in CrashHandler()
302 GeneralRegisters.rsp = StackPtr; in CrashHandler()
306 uintptr_t StackPtr = GeneralRegisters.sp - CFAOffset; in CrashHandler() local
307 __unsanitized_memcpy(reinterpret_cast<void *>(StackPtr), &GeneralRegisters, in CrashHandler()
309 GeneralRegisters.sp = StackPtr; in CrashHandler()
/external/llvm/lib/Target/X86/
DX86WinAllocaExpander.cpp62 unsigned StackPtr; member in __anon41e05d5b0111::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-project/openmp/libomptarget/deviceRTLs/common/src/
Ddata_sharing.cu32 DataSharingState.StackPtr[WID] = (void *)&RootS->Data[0]; in data_sharing_init_stack_common()
83 void *&StackP = DataSharingState.StackPtr[WID]; in data_sharing_push_stack_common()
186 void *&StackP = DataSharingState.StackPtr[WID]; in __kmpc_data_sharing_pop_stack()
/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-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()
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypesGeneric.cpp165 SDValue StackPtr = DAG.CreateStackTemporary(InVT.getStoreSize(), Align); in ExpandRes_BITCAST() local
166 int SPFI = cast<FrameIndexSDNode>(StackPtr.getNode())->getIndex(); in ExpandRes_BITCAST()
171 SDValue Store = DAG.getStore(DAG.getEntryNode(), dl, InOp, StackPtr, PtrInfo); in ExpandRes_BITCAST()
174 Lo = DAG.getLoad(NOutVT, dl, Store, StackPtr, PtrInfo, NOutAlign); in ExpandRes_BITCAST()
178 StackPtr = in ExpandRes_BITCAST()
179 DAG.getMemBasePlusOffset(StackPtr, TypeSize::Fixed(IncrementSize), dl); in ExpandRes_BITCAST()
182 Hi = DAG.getLoad(NOutVT, dl, Store, StackPtr, in ExpandRes_BITCAST()
/external/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()
/external/llvm-project/llvm/lib/Target/ARC/
DARCISelLowering.cpp259 SDValue StackPtr; in LowerCall() local
288 if (!StackPtr.getNode()) in LowerCall()
289 StackPtr = DAG.getCopyFromReg(Chain, dl, ARC::SP, in LowerCall()
294 ISD::ADD, dl, getPointerTy(DAG.getDataLayout()), StackPtr, SOffset); in LowerCall()
399 SDValue StackPtr = DAG.getRegister(ARC::SP, MVT::i32); in lowerCallResult() local
400 SDValue SpLoc = DAG.getNode(ISD::ADD, dl, MVT::i32, StackPtr, in lowerCallResult()

12345