/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
H A D | BitcodeCommon.h | 28 using SwiftError = Bitfield::Element<bool, ExplicitType::NextBit, 1>; member 29 using AlignUpper = Bitfield::Element<unsigned, SwiftError::NextBit, 3>;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMCallingConv.td | 29 // A SwiftError is passed in R8. 55 // A SwiftError is returned in R8. 174 // A SwiftError is passed in R8. 192 // A SwiftError is returned in R8. 219 // A SwiftError is passed in R8. 242 // A SwiftError is returned in R8.
|
H A D | ARMBaseRegisterInfo.cpp | 98 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in getCalleeSavedRegs() 144 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
H A D | ARMFastISel.cpp | 2086 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in SelectRet() 2358 CI->paramHasAttr(ArgIdx, Attribute::SwiftError) || in SelectCall() 3037 Arg.hasAttribute(Attribute::SwiftError) || in fastLowerArguments()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64RegisterInfo.cpp | 97 Attribute::SwiftError)) in getCalleeSavedRegs() 131 Attribute::SwiftError)) in getCalleeSavedRegs() 190 Attribute::SwiftError)) in getDarwinCalleeSavedRegs() 267 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask() 313 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
H A D | AArch64CallingConvention.td | 68 // A SwiftError is passed in X21. 234 // A SwiftError is passed in R12 (X19). 370 // A SwiftError is passed in X21.
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZCallingConv.td | 39 // A SwiftError is returned in R9. 102 // A SwiftError is passed in callee-saved R9. 150 // R9 is used to return SwiftError; remove it from CSR. 241 // A SwiftError is passed in R0.
|
H A D | SystemZRegisterInfo.cpp | 207 Attribute::SwiftError)) in getCalleeSavedRegs() 231 Attribute::SwiftError)) in getCallPreservedMask()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyMachineFunctionInfo.cpp | 100 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs()
|
H A D | WebAssemblyFastISel.cpp | 659 Attrs.hasParamAttr(I, Attribute::SwiftError) || in fastLowerArguments() 850 Attrs.hasParamAttr(I, Attribute::SwiftError) || in selectCall()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 372 if (CLI->supportSwiftError() && SwiftError.getFunctionArg()) { in translateRet() 373 SwiftErrorVReg = SwiftError.getOrCreateVRegUseAt( in translateRet() 374 &RI, &MIRBuilder.getMBB(), SwiftError.getFunctionArg()); in translateRet() 1380 SwiftError.getOrCreateVRegUseAt(&LI, &MIRBuilder.getMBB(), Ptr); in translateLoad() 1427 Register VReg = SwiftError.getOrCreateVRegDefAt(&SI, &MIRBuilder.getMBB(), in translateStore() 2643 MIRBuilder.buildCopy(SwiftInVReg, SwiftError.getOrCreateVRegUseAt( in translateCallBase() 2647 SwiftError.getOrCreateVRegDefAt(&CB, &MIRBuilder.getMBB(), Arg); in translateCallBase() 3904 SwiftError.setFunction(CurMF); in runOnMachineFunction() 3905 SwiftError.createEntriesInEntryBlock(DbgLoc); in runOnMachineFunction() 3947 SwiftError.setCurrentVReg(EntryBB, SwiftError.getFunctionArg(), VRegs[0]); in runOnMachineFunction() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SwiftErrorValueTracking.cpp | 324 if (!F->getAttributes().hasAttrSomewhere(Attribute::SwiftError))
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 263 SwiftErrorValueTracking &SwiftError; variable 281 FuncInfo(funcinfo), SwiftError(swifterror) {} in SelectionDAGBuilder()
|
H A D | SelectionDAGISel.cpp | 379 SwiftError(new SwiftErrorValueTracking()), in SelectionDAGISel() 381 SDB(std::make_unique<SelectionDAGBuilder>(*CurDAG, *FuncInfo, *SwiftError, in SelectionDAGISel() 393 delete SwiftError; in ~SelectionDAGISel() 591 SwiftError->setFunction(mf); in runOnMachineFunction() 1657 bool Inserted = SwiftError->createEntriesInEntryBlock(SDB->getCurDebugLoc()); in SelectAllBasicBlocks() 1719 SwiftError->preassignVRegs(FuncInfo->MBB, Begin, End); in SelectAllBasicBlocks() 1885 SwiftError->propagateVRegs(); in SelectAllBasicBlocks()
|
H A D | SelectionDAGBuilder.cpp | 2306 F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in visitRet() 2307 assert(SwiftError.getFunctionArg() && "Need a swift error argument"); in visitRet() 2315 DAG.getRegister(SwiftError.getOrCreateVRegUseAt( in visitRet() 2316 &I, FuncInfo.MBB, SwiftError.getFunctionArg()), in visitRet() 4640 SwiftError.getOrCreateVRegDefAt(&I, FuncInfo.MBB, I.getPointerOperand()); in visitStoreToSwiftError() 4676 SwiftError.getOrCreateVRegUseAt(&I, FuncInfo.MBB, SV), ValueVTs[0]); in visitLoadFromSwiftError() 8740 Caller->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in LowerCallTo() 8763 DAG.getRegister(SwiftError.getOrCreateVRegUseAt(&CB, FuncInfo.MBB, V), in LowerCallTo() 8847 SwiftError.getOrCreateVRegDefAt(&CB, FuncInfo.MBB, SwiftErrorVal); in LowerCallTo() 11521 if (Arg.hasAttribute(Attribute::SwiftError)) in LowerArguments() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGISel.h | 49 SwiftErrorValueTracking *SwiftError; variable
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86RegisterInfo.cpp | 396 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCalleeSavedRegs() 517 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCallPreservedMask()
|
H A D | X86CallLowering.cpp |
|
H A D | X86CallingConv.td | 547 // A SwiftError is passed in R12. 644 // A SwiftError is passed in R12.
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
H A D | X86CallLowering.cpp | 284 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeExtractor.cpp | 995 case Attribute::SwiftError: in constructFunction() 1252 call->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement() 1253 newFunction->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | IRTranslator.h | 171 SwiftErrorValueTracking SwiftError; variable
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Attributes.td | 310 def SwiftError : EnumAttr<"swifterror", [ParamAttr]>;
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 2188 if (ArgAttrs.hasAttribute(Attribute::SwiftError)) { in verifyFunctionAttrs() 2860 if (Attrs.hasParamAttr(i, Attribute::SwiftError)) { in visitFunction() 3570 if (Call.paramHasAttr(i, Attribute::SwiftError)) { in visitCallBase() 3786 Check(!Attrs.contains(Attribute::SwiftError), in verifyTailCCMustTailAttrs() 3810 Attribute::SwiftAsync, Attribute::SwiftError, Attribute::Preallocated, in getParameterABIAttributes() 4252 Check(Call.paramHasAttr(I.index(), Attribute::SwiftError), in verifySwiftErrorCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | IROutliner.cpp | 661 Attribute::SwiftError); in createFunction() 1529 Call->addParamAttr(*Group.SwiftErrorArgument, Attribute::SwiftError); in replaceCalledFunction()
|