/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMFrameLowering.cpp | 279 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 …]
|
D | ARMBaseRegisterInfo.cpp | 381 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 …]
|
D | Thumb1FrameLowering.cpp | 149 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 …]
|
D | Thumb2ITBlockPass.cpp | 50 ARMFunctionInfo *AFI; member in __anon12ea83500111::Thumb2ITBlock 290 AFI = Fn.getInfo<ARMFunctionInfo>(); in runOnMachineFunction() 295 if (!AFI->isThumbFunction()) in runOnMachineFunction() 303 AFI->setHasITBlocks(true); in runOnMachineFunction()
|
D | ARMExpandPseudoInsts.cpp | 47 ARMFunctionInfo *AFI; member in __anonec0c0fa00111::ARMExpandPseudo 1232 unsigned Opc = AFI->isThumbFunction() ? ARM::t2MOVr : ARM::MOVr; in ExpandMI() 1273 unsigned NewOpc = AFI->isThumbFunction() ? ARM::t2MOVi16 : ARM::MOVi16; in ExpandMI() 1285 unsigned Opc = AFI->isThumbFunction() ? ARM::t2MOVi : ARM::MOVi; in ExpandMI() 1299 unsigned Opc = AFI->isThumbFunction() ? ARM::t2MVNi : ARM::MVNi; in ExpandMI() 1343 int32_t NumBytes = AFI->getFramePtrSpillOffset(); in ExpandMI() 1348 if (AFI->isThumb2Function()) { in ExpandMI() 1351 } else if (AFI->isThumbFunction()) { in ExpandMI() 1363 assert (!AFI->isThumb1OnlyFunction()); in ExpandMI() 1368 unsigned bicOpc = AFI->isThumbFunction() ? in ExpandMI() [all …]
|
D | ARMConstantIslandPass.cpp | 217 ARMFunctionInfo *AFI; member in __anon9fe65fdb0111::ARMConstantIslands 359 AFI = MF->getInfo<ARMFunctionInfo>(); in runOnMachineFunction() 362 isThumb = AFI->isThumbFunction(); in runOnMachineFunction() 363 isThumb1 = AFI->isThumb1OnlyFunction(); in runOnMachineFunction() 364 isThumb2 = AFI->isThumb2Function(); in runOnMachineFunction() 395 AFI->initPICLabelUId(CPEMIs.size()); in runOnMachineFunction() 461 if (isThumb && !HasFarJump && AFI->isLRSpilledForFarJump()) in runOnMachineFunction() 469 AFI->recordCPEClone(i, CPE.CPI); in runOnMachineFunction() 1465 unsigned ID = AFI->createPICLabelUId(); in handleConstantPoolUser() 1627 if (!AFI->isLRSpilled()) in fixupUnconditionalBr()
|
D | ARMAsmPrinter.h | 39 ARMFunctionInfo *AFI; variable
|
D | ARMAsmPrinter.cpp | 57 : AsmPrinter(TM, std::move(Streamer)), Subtarget(nullptr), AFI(nullptr), in ARMAsmPrinter() 70 if (AFI->isThumbFunction()) { in EmitFunctionEntryLabel() 107 AFI = MF.getInfo<ARMFunctionInfo>(); in runOnMachineFunction() 118 for (auto *GV : AFI->getGlobalsPromotedToConstantPool()) in runOnMachineFunction() 974 else if (AFI->isThumbFunction()) in EmitJumpTableAddrs() 1140 if (unsigned RemappedReg = AFI->EHPrologueRemappedRegs.lookup(Reg)) in EmitUnwindingInstruction() 1198 CPI = AFI->getOriginalCPIdx(CPI); in EmitUnwindingInstruction() 1232 AFI->EHPrologueRemappedRegs[DstReg] = SrcReg; in EmitUnwindingInstruction()
|
D | Thumb2InstrInfo.cpp | 61 ARMFunctionInfo *AFI = MBB->getParent()->getInfo<ARMFunctionInfo>(); in ReplaceTailWithBranchTo() local 62 if (!AFI->hasITBlocks() || Tail->isBranch()) { in ReplaceTailWithBranchTo()
|
D | ARMBaseInstrInfo.cpp | 435 ARMFunctionInfo *AFI = MBB.getParent()->getInfo<ARMFunctionInfo>(); in insertBranch() local 436 int BOpc = !AFI->isThumbFunction() in insertBranch() 437 ? ARM::B : (AFI->isThumb2Function() ? ARM::t2B : ARM::tB); in insertBranch() 438 int BccOpc = !AFI->isThumbFunction() in insertBranch() 439 ? ARM::Bcc : (AFI->isThumb2Function() ? ARM::t2Bcc : ARM::tBcc); in insertBranch() 440 bool isThumb = AFI->isThumbFunction() || AFI->isThumb2Function(); in insertBranch() 664 const ARMFunctionInfo *AFI = in isPredicable() local 672 if (AFI->isThumb2Function()) { in isPredicable() 1648 ARMFunctionInfo *AFI = MF.getInfo<ARMFunctionInfo>(); in duplicateCPV() local 1656 unsigned PCLabelId = AFI->createPICLabelUId(); in duplicateCPV()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64FrameLowering.cpp | 216 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 …]
|
D | AArch64CollectLOH.cpp | 384 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 …]
|
D | AArch64CompressJumpTables.cpp | 127 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()
|
D | AArch64CleanupLocalDynamicTLSPass.cpp | 47 AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in runOnMachineFunction() local 48 if (AFI->getNumLocalDynamicTLSAccesses() < 2) { in runOnMachineFunction()
|
D | AArch64StackTaggingPreRA.cpp | 57 AArch64FunctionInfo *AFI; member in __anon3421a6020111::AArch64StackTaggingPreRA 203 AFI = MF->getInfo<AArch64FunctionInfo>(); in runOnMachineFunction()
|
D | AArch64AsmPrinter.cpp | 777 auto AFI = MF->getInfo<AArch64FunctionInfo>(); in EmitJumpTableInfo() local 784 unsigned Size = AFI->getJumpTableEntrySize(JTI); in EmitJumpTableInfo() 797 auto AFI = MF->getInfo<AArch64FunctionInfo>(); in emitJumpTableEntry() local 798 unsigned Size = AFI->getJumpTableEntrySize(JTI); in emitJumpTableEntry() 807 const MCSymbol *BaseSym = AFI->getJumpTableEntryPCRelSymbol(JTI); in emitJumpTableEntry()
|
D | AArch64RegisterInfo.cpp | 489 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in eliminateFrameIndex() local 492 AFI->getTaggedBasePointerOffset(), in eliminateFrameIndex()
|
D | AArch64ExpandPseudoInsts.cpp | 671 const AArch64FunctionInfo *AFI = MF.getInfo<AArch64FunctionInfo>(); in expandMI() local 678 int BaseOffset = -AFI->getTaggedBasePointerOffset(); in expandMI()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/ |
D | ARCFrameLowering.cpp | 119 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()
|
D | ARCISelLowering.cpp | 453 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in LowerCallArguments() local 465 AFI->setReturnStackOffset(CCInfo.getNextStackOffset()); in LowerCallArguments() 523 auto *AFI = MF.getInfo<ARCFunctionInfo>(); in LowerCallArguments() local 534 AFI->setVarArgsFrameIndex(VarFI); in LowerCallArguments() 610 auto *AFI = DAG.getMachineFunction().getInfo<ARCFunctionInfo>(); in LowerReturn() local 623 CCInfo.AllocateStack(AFI->getReturnStackOffset(), 4); in LowerReturn()
|
/third_party/ltp/testcases/network/tcp_cmds/include/ |
D | netdefs.h | 37 #define AFI AF_INET6 macro 52 #define AFI AF_INET macro
|
/third_party/ltp/testcases/network/tcp_cmds/sendfile/ |
D | testsf_c.c | 52 if ((s = socket(AFI, SOCK_STREAM, 0)) < 0) { in main() 77 if (!hp || !hp->ai_addr || hp->ai_addr->sa_family != AFI) { in main()
|
D | testsf_s.c | 51 if ((s = socket(AFI, SOCK_STREAM, 0)) < 0) { in main() 62 if (!hp || !hp->ai_addr || hp->ai_addr->sa_family != AFI) { in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/ |
D | AVRFrameLowering.cpp | 103 const AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in emitPrologue() local 104 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitPrologue() 162 const AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in emitEpilogue() local 163 unsigned FrameSize = MFI.getStackSize() - AFI->getCalleeSavedFrameSize(); in emitEpilogue()
|
D | AVRInstrInfo.cpp | 127 AVRMachineFunctionInfo *AFI = MF.getInfo<AVRMachineFunctionInfo>(); in storeRegToStackSlot() local 129 AFI->setHasSpills(true); in storeRegToStackSlot()
|