| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeCommon.h | 25 using SwiftError = Bitfield::Element<bool, ExplicitType::NextBit, 1>; member
|
| /freebsd-13.1/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 | 100 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in getCalleeSavedRegs() 138 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
| H A D | ARMFastISel.cpp | 2083 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in SelectRet() 2355 CI->paramHasAttr(ArgIdx, Attribute::SwiftError) || in SelectCall() 3032 Arg.hasAttribute(Attribute::SwiftError) || in fastLowerArguments()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64RegisterInfo.cpp | 101 Attribute::SwiftError)) in getCalleeSavedRegs() 137 Attribute::SwiftError)) in getDarwinCalleeSavedRegs() 204 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getDarwinCallPreservedMask() 239 MF.getFunction().getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in getCallPreservedMask()
|
| H A D | AArch64CallingConvention.td | 69 // A SwiftError is passed in X21. 207 // A SwiftError is passed in X21.
|
| /freebsd-13.1/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. 149 // R9 is used to return SwiftError; remove it from CSR. 229 // A SwiftError is passed in R0.
|
| H A D | SystemZRegisterInfo.cpp | 206 Attribute::SwiftError)) in getCalleeSavedRegs() 228 Attribute::SwiftError)) in getCallPreservedMask()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMachineFunctionInfo.cpp | 83 HasSwiftErrorArg |= Arg.hasAttribute(Attribute::SwiftError); in computeSignatureVTs()
|
| H A D | WebAssemblyFastISel.cpp | 650 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in fastLowerArguments() 834 Attrs.hasParamAttribute(I, Attribute::SwiftError) || in selectCall()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 357 if (CLI->supportSwiftError() && SwiftError.getFunctionArg()) { in translateRet() 358 SwiftErrorVReg = SwiftError.getOrCreateVRegUseAt( in translateRet() 359 &RI, &MIRBuilder.getMBB(), SwiftError.getFunctionArg()); in translateRet() 1283 Register VReg = SwiftError.getOrCreateVRegUseAt(&LI, &MIRBuilder.getMBB(), in translateLoad() 1327 Register VReg = SwiftError.getOrCreateVRegDefAt(&SI, &MIRBuilder.getMBB(), in translateStore() 2268 MIRBuilder.buildCopy(SwiftInVReg, SwiftError.getOrCreateVRegUseAt( in translateCallBase() 2272 SwiftError.getOrCreateVRegDefAt(&CB, &MIRBuilder.getMBB(), Arg); in translateCallBase() 3157 SwiftError.setFunction(CurMF); in runOnMachineFunction() 3158 SwiftError.createEntriesInEntryBlock(DbgLoc); in runOnMachineFunction() 3200 SwiftError.setCurrentVReg(EntryBB, SwiftError.getFunctionArg(), VRegs[0]); in runOnMachineFunction() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SelectionDAGISel.h | 44 SwiftErrorValueTracking *SwiftError; variable
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.h | 425 SwiftErrorValueTracking &SwiftError; variable 443 SwiftError(swifterror) {} in SelectionDAGBuilder()
|
| H A D | SelectionDAGISel.cpp | 317 SwiftError(new SwiftErrorValueTracking()), in SelectionDAGISel() 319 SDB(std::make_unique<SelectionDAGBuilder>(*CurDAG, *FuncInfo, *SwiftError, in SelectionDAGISel() 331 delete SwiftError; in ~SelectionDAGISel() 461 SwiftError->setFunction(*MF); in runOnMachineFunction() 1427 bool Inserted = SwiftError->createEntriesInEntryBlock(SDB->getCurDebugLoc()); in SelectAllBasicBlocks() 1484 SwiftError->preassignVRegs(FuncInfo->MBB, Begin, End); in SelectAllBasicBlocks() 1640 SwiftError->propagateVRegs(); in SelectAllBasicBlocks()
|
| H A D | SelectionDAGBuilder.cpp | 2011 F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) { in visitRet() 2012 assert(SwiftError.getFunctionArg() && "Need a swift error argument"); in visitRet() 2021 DAG.getRegister(SwiftError.getOrCreateVRegUseAt( in visitRet() 2022 &I, FuncInfo.MBB, SwiftError.getFunctionArg()), in visitRet() 4169 SwiftError.getOrCreateVRegDefAt(&I, FuncInfo.MBB, I.getPointerOperand()); in visitStoreToSwiftError() 4207 SwiftError.getOrCreateVRegUseAt(&I, FuncInfo.MBB, SV), ValueVTs[0]); in visitLoadFromSwiftError() 7483 Caller->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in LowerCallTo() 7562 SwiftError.getOrCreateVRegDefAt(&CB, FuncInfo.MBB, SwiftErrorVal); in LowerCallTo() 10125 if (Arg.hasAttribute(Attribute::SwiftError)) in LowerArguments() 10296 Arg.hasAttribute(Attribute::SwiftError); in LowerArguments() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | SwiftErrorValueTracking.cpp | 306 if (!F->getAttributes().hasAttrSomewhere(Attribute::SwiftError)) in preassignVRegs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86RegisterInfo.cpp | 389 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCalleeSavedRegs() 510 F.getAttributes().hasAttrSomewhere(Attribute::SwiftError); in getCallPreservedMask()
|
| H A D | X86CallLowering.cpp | 260 Arg.hasAttribute(Attribute::SwiftError) || in lowerFormalArguments()
|
| H A D | X86CallingConv.td | 518 // A SwiftError is passed in R12. 624 // A SwiftError is passed in R12.
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CodeExtractor.cpp | 931 case Attribute::SwiftError: in constructFunction() 1203 call->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement() 1204 newFunction->addParamAttr(SwiftErrArgNo, Attribute::SwiftError); in emitCallAndSwitchStatement()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | IRTranslator.h | 170 SwiftErrorValueTracking SwiftError; variable
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | IROutliner.cpp | 388 Attribute::SwiftError); in createFunction() 907 Attribute::SwiftError); in replaceCalledFunction()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | Attributes.td | 264 def SwiftError : EnumAttr<"swifterror", [ParamAttr]>;
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 1793 Assert(!Attrs.hasAttribute(Attribute::SwiftError), in verifyParameterAttrs() 1919 if (ArgAttrs.hasAttribute(Attribute::SwiftError)) { in verifyFunctionAttrs() 2419 if (Attrs.hasParamAttribute(i, Attribute::SwiftError)) { in visitFunction() 3105 if (Call.paramHasAttr(i, Attribute::SwiftError)) { in visitCallBase() 3298 Assert(!Attrs.contains(Attribute::SwiftError), in verifyTailCCMustTailAttrs() 3322 Attribute::SwiftAsync, Attribute::SwiftError, Attribute::Preallocated, in getParameterABIAttributes() 3751 Assert(Call.paramHasAttr(I.index(), Attribute::SwiftError), in verifySwiftErrorCall()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 1249 case Attribute::SwiftError: return 1ULL << 52; in getRawAttributeMask() 1500 return Attribute::SwiftError; in getAttrFromCode() 4890 const bool SwiftError = Bitfield::get<APV::SwiftError>(Rec); in parseFunctionBody() local 4920 AI->setSwiftError(SwiftError); in parseFunctionBody()
|