Home
last modified time | relevance | path

Searched refs:AFI (Results 1 – 25 of 141) sorted by relevance

123456

/external/llvm-project/llvm/lib/Target/ARM/
DARMFrameLowering.cpp258 static void emitAligningInstructions(MachineFunction &MF, ARMFunctionInfo *AFI, in emitAligningInstructions() argument
270 assert(!AFI->isThumb1OnlyFunction() && "Thumb1 not supported"); in emitAligningInstructions()
271 if (!AFI->isThumbFunction()) { in emitAligningInstructions()
325 static int getMaxFPOffset(const ARMSubtarget &STI, const ARMFunctionInfo &AFI) { in getMaxFPOffset() argument
328 if (AFI.isThumb1OnlyFunction()) in getMaxFPOffset()
329 return -AFI.getArgRegsSaveSize() - (2 * 4); in getMaxFPOffset()
332 int FPCXTSaveSize = (STI.hasV8_1MMainlineOps() && AFI.isCmseNSEntryFunction()) ? 4 : 0; in getMaxFPOffset()
333 return - FPCXTSaveSize - AFI.getArgRegsSaveSize() - (8 * 4); in getMaxFPOffset()
340 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in emitPrologue() local
347 assert(!AFI->isThumb1OnlyFunction() && in emitPrologue()
[all …]
DThumb1FrameLowering.cpp151 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in emitPrologue() local
159 unsigned ArgRegsSaveSize = AFI->getArgRegsSaveSize(); in emitPrologue()
193 if (!AFI->hasStackFrame()) { in emitPrologue()
245 AFI->setFramePtrSpillOffset(MFI.getObjectOffset(FramePtrSpillFI) + in emitPrologue()
247 AFI->setGPRCalleeSavedArea1Offset(GPRCS1Offset); in emitPrologue()
248 AFI->setGPRCalleeSavedArea2Offset(GPRCS2Offset); in emitPrologue()
249 AFI->setDPRCalleeSavedAreaOffset(DPRCSOffset); in emitPrologue()
327 AFI->setShouldRestoreSPFromFP(true); in emitPrologue()
400 AFI->getFramePtrSpillOffset()); in emitPrologue()
402 AFI->setGPRCalleeSavedArea1Size(GPRCS1Size); in emitPrologue()
[all …]
DARMBaseRegisterInfo.cpp400 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in hasBasePointer() local
423 if (AFI->isThumb2Function() && MFI.hasVarSizedObjects() && in hasBasePointer()
430 if (AFI->isThumb1OnlyFunction() && !TFI->hasReservedCallFrame(MF)) in hasBasePointer()
599 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in needsFrameBaseReg() local
607 if (!AFI->isThumbFunction() || !AFI->isThumb1OnlyFunction()) in needsFrameBaseReg()
647 ARMFunctionInfo *AFI = MBB->getParent()->getInfo<ARMFunctionInfo>(); in materializeFrameBaseRegister() local
648 unsigned ADDriOpc = !AFI->isThumbFunction() ? ARM::ADDri : in materializeFrameBaseRegister()
649 (AFI->isThumb1OnlyFunction() ? ARM::tADDframe : ARM::t2ADDri); in materializeFrameBaseRegister()
665 if (!AFI->isThumb1OnlyFunction()) in materializeFrameBaseRegister()
675 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in resolveFrameIndex() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMFrameLowering.cpp279 static void emitAligningInstructions(MachineFunction &MF, ARMFunctionInfo *AFI, in emitAligningInstructions() argument
291 assert(!AFI->isThumb1OnlyFunction() && "Thumb1 not supported"); in emitAligningInstructions()
292 if (!AFI->isThumbFunction()) { in emitAligningInstructions()
346 static int getMaxFPOffset(const Function &F, const ARMFunctionInfo &AFI) { in getMaxFPOffset() argument
349 if (AFI.isThumb1OnlyFunction()) in getMaxFPOffset()
350 return -AFI.getArgRegsSaveSize() - (2 * 4); in getMaxFPOffset()
353 return -AFI.getArgRegsSaveSize() - (8 * 4); in getMaxFPOffset()
360 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in emitPrologue() local
367 assert(!AFI->isThumb1OnlyFunction() && in emitPrologue()
369 bool isARM = !AFI->isThumbFunction(); in emitPrologue()
[all …]
DARMBaseRegisterInfo.cpp381 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in hasBasePointer() local
404 if (AFI->isThumb2Function() && MFI.hasVarSizedObjects() && in hasBasePointer()
411 if (AFI->isThumb1OnlyFunction() && !TFI->hasReservedCallFrame(MF)) in hasBasePointer()
585 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in needsFrameBaseReg() local
593 if (!AFI->isThumbFunction() || !AFI->isThumb1OnlyFunction()) in needsFrameBaseReg()
633 ARMFunctionInfo *AFI = MBB->getParent()->getInfo<ARMFunctionInfo>(); in materializeFrameBaseRegister() local
634 unsigned ADDriOpc = !AFI->isThumbFunction() ? ARM::ADDri : in materializeFrameBaseRegister()
635 (AFI->isThumb1OnlyFunction() ? ARM::tADDframe : ARM::t2ADDri); in materializeFrameBaseRegister()
651 if (!AFI->isThumb1OnlyFunction()) in materializeFrameBaseRegister()
661 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in resolveFrameIndex() local
[all …]
DThumb1FrameLowering.cpp149 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in emitPrologue() local
157 unsigned ArgRegsSaveSize = AFI->getArgRegsSaveSize(); in emitPrologue()
191 if (!AFI->hasStackFrame()) { in emitPrologue()
243 AFI->setFramePtrSpillOffset(MFI.getObjectOffset(FramePtrSpillFI) + in emitPrologue()
245 AFI->setGPRCalleeSavedArea1Offset(GPRCS1Offset); in emitPrologue()
246 AFI->setGPRCalleeSavedArea2Offset(GPRCS2Offset); in emitPrologue()
247 AFI->setDPRCalleeSavedAreaOffset(DPRCSOffset); in emitPrologue()
325 AFI->setShouldRestoreSPFromFP(true); in emitPrologue()
398 AFI->getFramePtrSpillOffset()); in emitPrologue()
400 AFI->setGPRCalleeSavedArea1Size(GPRCS1Size); in emitPrologue()
[all …]
/external/llvm/lib/Target/ARM/
DARMFrameLowering.cpp232 static void emitAligningInstructions(MachineFunction &MF, ARMFunctionInfo *AFI, in emitAligningInstructions() argument
244 assert(!AFI->isThumb1OnlyFunction() && "Thumb1 not supported"); in emitAligningInstructions()
245 if (!AFI->isThumbFunction()) { in emitAligningInstructions()
292 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in emitPrologue() local
299 assert(!AFI->isThumb1OnlyFunction() && in emitPrologue()
301 bool isARM = !AFI->isThumbFunction(); in emitPrologue()
303 unsigned ArgRegsSaveSize = AFI->getArgRegsSaveSize(); in emitPrologue()
334 if (!AFI->hasStackFrame() && in emitPrologue()
378 if (Reg < ARM::D8 || Reg >= ARM::D8 + AFI->getNumAlignedDPRCS2Regs()) in emitPrologue()
400 AFI->setFramePtrSpillOffset(MFI->getObjectOffset(FramePtrSpillFI) + in emitPrologue()
[all …]
DThumb1FrameLowering.cpp89 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in emitPrologue() local
97 unsigned ArgRegsSaveSize = AFI->getArgRegsSaveSize(); in emitPrologue()
131 if (!AFI->hasStackFrame()) { in emitPrologue()
182 AFI->setFramePtrSpillOffset(MFI->getObjectOffset(FramePtrSpillFI) + in emitPrologue()
184 AFI->setGPRCalleeSavedArea1Offset(GPRCS1Offset); in emitPrologue()
185 AFI->setGPRCalleeSavedArea2Offset(GPRCS2Offset); in emitPrologue()
186 AFI->setDPRCalleeSavedAreaOffset(DPRCSOffset); in emitPrologue()
261 AFI->setShouldRestoreSPFromFP(true); in emitPrologue()
280 AFI->getFramePtrSpillOffset()); in emitPrologue()
282 AFI->setGPRCalleeSavedArea1Size(GPRCS1Size); in emitPrologue()
[all …]
DARMBaseRegisterInfo.cpp336 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in hasBasePointer() local
350 if (AFI->isThumbFunction() && MFI->hasVarSizedObjects()) { in hasBasePointer()
357 if (AFI->isThumb2Function() && MFI->getLocalFrameSize() < 128) in hasBasePointer()
367 const ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in canRealignStack() local
375 if (AFI->isThumb1OnlyFunction()) in canRealignStack()
540 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in needsFrameBaseReg() local
548 if (!AFI->isThumbFunction() || !AFI->isThumb1OnlyFunction()) in needsFrameBaseReg()
588 ARMFunctionInfo *AFI = MBB->getParent()->getInfo<ARMFunctionInfo>(); in materializeFrameBaseRegister() local
589 unsigned ADDriOpc = !AFI->isThumbFunction() ? ARM::ADDri : in materializeFrameBaseRegister()
590 (AFI->isThumb1OnlyFunction() ? ARM::tADDframe : ARM::t2ADDri); in materializeFrameBaseRegister()
[all …]
/external/tcpdump/tests/
Dripv2_auth.out5 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
10 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
15 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
22 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
29 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
37 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
45 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
53 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
61 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
70 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
[all …]
Dripv1v2.out4 AFI 0, 0.0.0.0, metric: 16
12 AFI 0, 0.0.0.0/0 , tag 0x0000, metric: 16, next-hop: self
16 AFI IPv4, 10.70.178.0/24, tag 0x0000, metric: 1, next-hop: self
Dbgp-aigp-oobr-nossl.out20 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
43 AFI: Unknown AFI (64769), SAFI: labeled VPN Unicast (128)
44 no AFI 64769 / SAFI 128 decoder
63 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
108 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
131 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
160 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
199 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
222 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
251 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
[all …]
Dbgp-aigp-oobr-ssl.out20 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
43 AFI: Unknown AFI (64769), SAFI: labeled VPN Unicast (128)
44 no AFI 64769 / SAFI 128 decoder
63 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
108 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
131 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
160 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
199 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
222 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
251 AFI: IPv4 (1), SAFI: labeled VPN Unicast (128)
[all …]
Dlldp_mudurl-v.out14 Management Address length 5, AFI IPv4 (1): 62.12.173.114
17 Management Address length 17, AFI IPv6 (2): 2001:8a8:1006:4:223:54ff:fec2:5702
45 Management Address length 5, AFI IPv4 (1): 62.12.173.114
48 Management Address length 17, AFI IPv6 (2): 2001:8a8:1006:4:223:54ff:fec2:5702
/external/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp128 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in canUseRedZone() local
129 unsigned NumBytes = AFI->getLocalStackSize(); in canUseRedZone()
288 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in shouldCombineCSRLocalStackBump() local
293 if (AFI->getLocalStackSize() == 0) in shouldCombineCSRLocalStackBump()
416 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in emitPrologue() local
430 if (!AFI->hasStackFrame()) { in emitPrologue()
434 AFI->setLocalStackSize(NumBytes); in emitPrologue()
458 auto CSStackSize = AFI->getCalleeSavedStackSize(); in emitPrologue()
460 AFI->setLocalStackSize(NumBytes - CSStackSize); in emitPrologue()
480 fixupCalleeSaveRestoreStackOffset(*MBBI, AFI->getLocalStackSize()); in emitPrologue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FrameLowering.cpp216 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in getSVEStackSize() local
217 return {(int64_t)AFI->getStackSizeSVE(), MVT::nxv1i8}; in getSVEStackSize()
229 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in canUseRedZone() local
230 uint64_t NumBytes = AFI->getLocalStackSize(); in canUseRedZone()
450 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in shouldCombineCSRLocalStackBump() local
455 if (AFI->getLocalStackSize() == 0) in shouldCombineCSRLocalStackBump()
866 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in emitPrologue() local
879 AFI->setHasRedZone(false); in emitPrologue()
910 AFI->setTaggedBasePointerOffset(MFI.getStackSize()); in emitPrologue()
922 if (!AFI->hasStackFrame() && !windowsRequiresStackProbe(MF, NumBytes)) { in emitPrologue()
[all …]
DAArch64CollectLOH.cpp384 static void handleADRP(const MachineInstr &MI, AArch64FunctionInfo &AFI, in handleADRP() argument
389 AFI.addLOHDirective(MCLOH_AdrpAdrp, {&MI, Info.LastADRP}); in handleADRP()
399 AFI.addLOHDirective(MCLOH_AdrpAdd, {&MI, Info.MI0}); in handleADRP()
406 AFI.addLOHDirective(MCLOH_AdrpLdr, {&MI, Info.MI0}); in handleADRP()
414 AFI.addLOHDirective(MCLOH_AdrpAddLdr, {&MI, Info.MI1, Info.MI0}); in handleADRP()
422 AFI.addLOHDirective(MCLOH_AdrpAddStr, {&MI, Info.MI1, Info.MI0}); in handleADRP()
430 AFI.addLOHDirective(MCLOH_AdrpLdrGotLdr, {&MI, Info.MI1, Info.MI0}); in handleADRP()
437 AFI.addLOHDirective(MCLOH_AdrpLdrGotStr, {&MI, Info.MI1, Info.MI0}); in handleADRP()
443 AFI.addLOHDirective(MCLOH_AdrpLdrGot, {&MI, Info.MI0}); in handleADRP()
510 AArch64FunctionInfo &AFI = *MF.getInfo<AArch64FunctionInfo>(); in runOnMachineFunction() local
[all …]
DAArch64CompressJumpTables.cpp127 auto AFI = MF->getInfo<AArch64FunctionInfo>(); in compressJumpTable() local
129 AFI->setJumpTableEntryInfo(JTIdx, 1, MinBlock->getSymbol()); in compressJumpTable()
134 AFI->setJumpTableEntryInfo(JTIdx, 2, MinBlock->getSymbol()); in compressJumpTable()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64CollectLOH.cpp384 static void handleADRP(const MachineInstr &MI, AArch64FunctionInfo &AFI, in handleADRP() argument
389 AFI.addLOHDirective(MCLOH_AdrpAdrp, {&MI, Info.LastADRP}); in handleADRP()
410 AFI.addLOHDirective(MCLOH_AdrpAdd, {&MI, Info.MI0}); in handleADRP()
418 AFI.addLOHDirective(MCLOH_AdrpLdr, {&MI, Info.MI0}); in handleADRP()
426 AFI.addLOHDirective(MCLOH_AdrpAddLdr, {&MI, Info.MI1, Info.MI0}); in handleADRP()
434 AFI.addLOHDirective(MCLOH_AdrpAddStr, {&MI, Info.MI1, Info.MI0}); in handleADRP()
442 AFI.addLOHDirective(MCLOH_AdrpLdrGotLdr, {&MI, Info.MI1, Info.MI0}); in handleADRP()
449 AFI.addLOHDirective(MCLOH_AdrpLdrGotStr, {&MI, Info.MI1, Info.MI0}); in handleADRP()
455 AFI.addLOHDirective(MCLOH_AdrpLdrGot, {&MI, Info.MI0}); in handleADRP()
522 AArch64FunctionInfo &AFI = *MF.getInfo<AArch64FunctionInfo>(); in runOnMachineFunction() local
[all …]
DAArch64FrameLowering.cpp195 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in getArgumentPopSize() local
210 ArgumentPopSize = AFI->getArgumentStackToRestore(); in getArgumentPopSize()
258 const AArch64FunctionInfo *AFI, bool IsWin64, in getFixedObjectSize() argument
266 const unsigned VarArgsArea = AFI->getVarArgsGPRSize(); in getFixedObjectSize()
275 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in getSVEStackSize() local
276 return StackOffset::getScalable((int64_t)AFI->getStackSizeSVE()); in getSVEStackSize()
288 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in canUseRedZone() local
289 uint64_t NumBytes = AFI->getLocalStackSize(); in canUseRedZone()
500 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in emitCalleeSavedFrameMoves() local
503 StackOffset::getFixed(AFI->getCalleeSavedStackSize(MFI)); in emitCalleeSavedFrameMoves()
[all …]
DAArch64CompressJumpTables.cpp127 auto *AFI = MF->getInfo<AArch64FunctionInfo>(); in compressJumpTable() local
129 AFI->setJumpTableEntryInfo(JTIdx, 1, MinBlock->getSymbol()); in compressJumpTable()
135 AFI->setJumpTableEntryInfo(JTIdx, 2, MinBlock->getSymbol()); in compressJumpTable()
/external/llvm-project/llvm/lib/Target/AVR/
DAVRFrameLowering.cpp58 const AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in emitPrologue() local
62 if (AFI->isInterruptHandler()) { in emitPrologue()
70 if (AFI->isInterruptOrSignalHandler()) { in emitPrologue()
94 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitPrologue()
135 const AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in restoreStatusRegister() local
145 if (AFI->isInterruptOrSignalHandler()) { in restoreStatusRegister()
156 const AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in emitEpilogue() local
160 if (!hasFP(MF) && !AFI->isInterruptOrSignalHandler()) { in emitEpilogue()
170 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitEpilogue()
/external/ltp/testcases/network/tcp_cmds/include/
Dnetdefs.h37 #define AFI AF_INET6 macro
52 #define AFI AF_INET macro
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCFrameLowering.cpp119 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in emitPrologue() local
137 unsigned VarArgsBytes = MFI.getObjectSize(AFI->getVarArgsFrameIndex()); in emitPrologue()
177 if (AFI->MaxCallStackReq > 0) in emitPrologue()
178 MFI.setStackSize(MFI.getStackSize() + AFI->MaxCallStackReq); in emitPrologue()
243 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in emitEpilogue() local
324 unsigned VarArgsBytes = MFI.getObjectSize(AFI->getVarArgsFrameIndex()); in emitEpilogue()
477 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in eliminateCallFramePseudoInstr() local
479 if (Amt > AFI->MaxCallStackReq && Old.getOpcode() == ARC::ADJCALLSTACKDOWN) in eliminateCallFramePseudoInstr()
480 AFI->MaxCallStackReq = Amt; in eliminateCallFramePseudoInstr()
/external/llvm-project/llvm/lib/Target/ARC/
DARCFrameLowering.cpp118 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in emitPrologue() local
136 unsigned VarArgsBytes = MFI.getObjectSize(AFI->getVarArgsFrameIndex()); in emitPrologue()
176 if (AFI->MaxCallStackReq > 0) in emitPrologue()
177 MFI.setStackSize(MFI.getStackSize() + AFI->MaxCallStackReq); in emitPrologue()
242 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in emitEpilogue() local
323 unsigned VarArgsBytes = MFI.getObjectSize(AFI->getVarArgsFrameIndex()); in emitEpilogue()
475 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in eliminateCallFramePseudoInstr() local
477 if (Amt > AFI->MaxCallStackReq && Old.getOpcode() == ARC::ADJCALLSTACKDOWN) in eliminateCallFramePseudoInstr()
478 AFI->MaxCallStackReq = Amt; in eliminateCallFramePseudoInstr()

123456