/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() 3038 Arg.hasAttribute(Attribute::SwiftError) || in fastLowerArguments()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64RegisterInfo.cpp | 95 Attribute::SwiftError)) in getCalleeSavedRegs() 120 Attribute::SwiftError)) in getCalleeSavedRegs() 170 Attribute::SwiftError)) in getDarwinCalleeSavedRegs() 249 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask() 290 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
H A D | AArch64CallingConvention.td | 63 // A SwiftError is passed in X21. 229 // A SwiftError is passed in R12 (X19). 365 // 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 | 98 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs()
|
H A D | WebAssemblyFastISel.cpp | 651 Attrs.hasParamAttr(I, Attribute::SwiftError) || in fastLowerArguments() 835 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() 1383 SwiftError.getOrCreateVRegUseAt(&LI, &MIRBuilder.getMBB(), Ptr); in translateLoad() 1431 Register VReg = SwiftError.getOrCreateVRegDefAt(&SI, &MIRBuilder.getMBB(), in translateStore() 2511 MIRBuilder.buildCopy(SwiftInVReg, SwiftError.getOrCreateVRegUseAt( in translateCallBase() 2515 SwiftError.getOrCreateVRegDefAt(&CB, &MIRBuilder.getMBB(), Arg); in translateCallBase() 3707 SwiftError.setFunction(CurMF); in runOnMachineFunction() 3708 SwiftError.createEntriesInEntryBlock(DbgLoc); in runOnMachineFunction() 3750 SwiftError.setCurrentVReg(EntryBB, SwiftError.getFunctionArg(), VRegs[0]); in runOnMachineFunction() [all …]
|
H A D | CallLowering.cpp | 60 if (AttrFn(Attribute::SwiftError)) in addFlagsUsingAttrFn()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | SelectionDAGISel.h | 46 SwiftErrorValueTracking *SwiftError; variable
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SwiftErrorValueTracking.cpp | 324 if (!F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in preassignVRegs()
|
/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 | 347 SwiftError(new SwiftErrorValueTracking()), in SelectionDAGISel() 349 SDB(std::make_unique<SelectionDAGBuilder>(*CurDAG, *FuncInfo, *SwiftError, in SelectionDAGISel() 361 delete SwiftError; in ~SelectionDAGISel() 468 SwiftError->setFunction(*MF); in runOnMachineFunction() 1544 bool Inserted = SwiftError->createEntriesInEntryBlock(SDB->getCurDebugLoc()); in SelectAllBasicBlocks() 1607 SwiftError->preassignVRegs(FuncInfo->MBB, Begin, End); in SelectAllBasicBlocks() 1773 SwiftError->propagateVRegs(); in SelectAllBasicBlocks()
|
H A D | SelectionDAGBuilder.cpp | 2265 F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in visitRet() 2266 assert(SwiftError.getFunctionArg() && "Need a swift error argument"); in visitRet() 2274 DAG.getRegister(SwiftError.getOrCreateVRegUseAt( in visitRet() 2275 &I, FuncInfo.MBB, SwiftError.getFunctionArg()), in visitRet() 4436 SwiftError.getOrCreateVRegDefAt(&I, FuncInfo.MBB, I.getPointerOperand()); in visitStoreToSwiftError() 4472 SwiftError.getOrCreateVRegUseAt(&I, FuncInfo.MBB, SV), ValueVTs[0]); in visitLoadFromSwiftError() 8323 Caller->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in LowerCallTo() 8414 SwiftError.getOrCreateVRegDefAt(&CB, FuncInfo.MBB, SwiftErrorVal); in LowerCallTo() 11001 if (Arg.hasAttribute(Attribute::SwiftError)) in LowerArguments() 11179 Arg.hasAttribute(Attribute::SwiftError); in LowerArguments() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86RegisterInfo.cpp | 394 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCalleeSavedRegs() 513 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCallPreservedMask()
|
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 | 278 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CodeExtractor.cpp | 993 case Attribute::SwiftError: in constructFunction() 1236 call->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement() 1237 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 | 292 def SwiftError : EnumAttr<"swifterror", [ParamAttr]>;
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Verifier.cpp | 2098 if (ArgAttrs.hasAttribute(Attribute::SwiftError)) { in verifyFunctionAttrs() 2731 if (Attrs.hasParamAttr(i, Attribute::SwiftError)) { in visitFunction() 3436 if (Call.paramHasAttr(i, Attribute::SwiftError)) { in visitCallBase() 3652 Check(!Attrs.contains(Attribute::SwiftError), in verifyTailCCMustTailAttrs() 3676 Attribute::SwiftAsync, Attribute::SwiftError, Attribute::Preallocated, in getParameterABIAttributes() 4118 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() 1526 Call->addParamAttr(*Group.SwiftErrorArgument, Attribute::SwiftError); in replaceCalledFunction()
|