Home
last modified time | relevance | path

Searched refs:CallConv (Results 1 – 25 of 85) sorted by relevance

1234

/openbsd/gnu/llvm/llvm/lib/Target/Lanai/
H A DLanaiISelLowering.h93 bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
119 CallingConv::ID CallConv, bool IsVarArg,
127 SDValue LowerCCCArguments(SDValue Chain, CallingConv::ID CallConv,
134 CallingConv::ID CallConv, bool IsVarArg,
142 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
148 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool IsVarArg,
H A DLanaiISelLowering.cpp393 SDValue Chain, CallingConv::ID CallConv, bool IsVarArg, in LowerFormalArguments() argument
396 switch (CallConv) { in LowerFormalArguments()
415 CallingConv::ID CallConv = CLI.CallConv; in LowerCall() local
421 switch (CallConv) { in LowerCall()
434 SDValue Chain, CallingConv::ID CallConv, bool IsVarArg, in LowerCCCArguments() argument
446 if (CallConv == CallingConv::Fast) { in LowerCCCArguments()
530 CallingConv::ID CallConv, MachineFunction &MF, bool IsVarArg, in CanLowerReturn() argument
533 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, Context); in CanLowerReturn()
548 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn()
623 if (CallConv == CallingConv::Fast) in LowerCCCCallTo()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/Sparc/
H A DSparcISelLowering.h130 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
134 SDValue LowerFormalArguments_32(SDValue Chain, CallingConv::ID CallConv,
139 SDValue LowerFormalArguments_64(SDValue Chain, CallingConv::ID CallConv,
153 bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
158 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
162 SDValue LowerReturn_32(SDValue Chain, CallingConv::ID CallConv,
167 SDValue LowerReturn_64(SDValue Chain, CallingConv::ID CallConv,
/openbsd/gnu/llvm/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h142 CallingConv::ID CallConv, bool isVarArg,
150 SDValue LowerCCCArguments(SDValue Chain, CallingConv::ID CallConv,
157 CallingConv::ID CallConv, bool isVarArg,
163 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
171 bool CanLowerReturn(CallingConv::ID CallConv,
177 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
H A DMSP430ISelLowering.cpp567 SDValue Chain, CallingConv::ID CallConv, bool isVarArg, in LowerFormalArguments() argument
571 switch (CallConv) { in LowerFormalArguments()
595 CallingConv::ID CallConv = CLI.CallConv; in LowerCall() local
601 switch (CallConv) { in LowerCall()
618 SDValue Chain, CallingConv::ID CallConv, bool isVarArg, in LowerCCCArguments() argument
724 MSP430TargetLowering::CanLowerReturn(CallingConv::ID CallConv, in CanLowerReturn() argument
730 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, Context); in CanLowerReturn()
747 if (CallConv == CallingConv::MSP430_INTR && !Outs.empty()) in LowerReturn()
751 CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), RVLocs, in LowerReturn()
791 unsigned Opc = (CallConv == CallingConv::MSP430_INTR ? in LowerReturn()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/ARC/
H A DARCISelLowering.h84 SDValue LowerCallArguments(SDValue Chain, CallingConv::ID CallConv,
98 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
107 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
112 bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
H A DARCISelLowering.cpp270 CallingConv::ID CallConv = CLI.CallConv; in LowerCall() local
277 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCall()
383 TRI->getCallPreservedMask(DAG.getMachineFunction(), CallConv); in LowerCall()
468 SDValue Chain, CallingConv::ID CallConv, bool IsVarArg, in LowerFormalArguments() argument
471 switch (CallConv) { in LowerFormalArguments()
483 SDValue Chain, CallingConv::ID CallConv, bool IsVarArg, in LowerCallArguments() argument
493 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), ArgLocs, in LowerCallArguments()
630 CallingConv::ID CallConv, MachineFunction &MF, bool IsVarArg, in CanLowerReturn() argument
633 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, Context); in CanLowerReturn()
642 ARCTargetLowering::LowerReturn(SDValue Chain, CallingConv::ID CallConv, in LowerReturn() argument
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/X86/
H A DX86CallLowering.cpp134 MachineFunction &MF, CallingConv::ID CallConv, in canLowerReturn() argument
138 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, Context); in canLowerReturn()
316 if (!STI.isTargetLinux() || !(Info.CallConv == CallingConv::C || in lowerCall()
317 Info.CallConv == CallingConv::X86_64_SysV)) in lowerCall()
332 .addRegMask(TRI->getCallPreservedMask(MF, Info.CallConv)); in lowerCall()
344 splitToValueTypes(OrigArg, SplitArgs, DL, Info.CallConv); in lowerCall()
350 Info.CallConv, Info.IsVarArg)) in lowerCall()
354 if (STI.is64Bit() && !IsFixed && !STI.isCallingConvWin64(Info.CallConv)) { in lowerCall()
392 splitToValueTypes(Info.OrigRet, SplitArgs, DL, Info.CallConv); in lowerCall()
397 Info.CallConv, Info.IsVarArg)) in lowerCall()
/openbsd/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64CallLowering.cpp344 CallConv == CallingConv::Tail || CallConv == CallingConv::SwiftTail; in doesCalleeRestoreStack()
478 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, in canLowerReturn()
704 CallingConv::ID CalleeCC = Info.CallConv; in doCallerAndCalleePassArgsTheSameWay()
752 CallingConv::ID CalleeCC = Info.CallConv; in areCalleeOutgoingArgsTailCallable()
816 CallingConv::ID CalleeCC = Info.CallConv; in isEligibleForTailCallOptimization()
938 Mask = TRI.getCallPreservedMask(MF, Info.CallConv); in getMaskForArgs()
954 Info.CallConv != CallingConv::Tail && in lowerTailCall()
966 CallingConv::ID CalleeCC = Info.CallConv; in lowerTailCall()
1163 getAssignFnsForCC(Info.CallConv, TLI); in lowerCall()
1248 MIRBuilder, Info.CallConv, Info.IsVarArg, in lowerCall()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/AVR/
H A DAVRMachineFunctionInfo.h51 CallingConv::ID CallConv = F.getCallingConv(); in AVRMachineFunctionInfo() local
54 CallConv == CallingConv::AVR_INTR || F.hasFnAttribute("interrupt"); in AVRMachineFunctionInfo()
56 CallConv == CallingConv::AVR_SIGNAL || F.hasFnAttribute("signal"); in AVRMachineFunctionInfo()
H A DAVRISelLowering.h171 bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
176 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
180 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
188 CallingConv::ID CallConv, bool isVarArg,
/openbsd/gnu/llvm/llvm/lib/Target/M68k/GISel/
H A DM68kCallLowering.cpp182 splitToValueTypes(OrigArg, OutArgs, DL, Info.CallConv); in lowerCall()
186 splitToValueTypes(Info.OrigRet, InArgs, DL, Info.CallConv); in lowerCall()
197 .addRegMask(TRI->getCallPreservedMask(MF, Info.CallConv)); in lowerCall()
199 CCAssignFn *AssignFn = TLI.getCCAssignFn(Info.CallConv, false, Info.IsVarArg); in lowerCall()
203 Info.CallConv, Info.IsVarArg)) in lowerCall()
215 TLI.getCCAssignFn(Info.CallConv, true, Info.IsVarArg); in lowerCall()
220 Info.CallConv, Info.IsVarArg)) in lowerCall()
/openbsd/gnu/llvm/llvm/lib/Target/XCore/
H A DXCoreISelLowering.h143 SDValue LowerCCCArguments(SDValue Chain, CallingConv::ID CallConv,
149 CallingConv::ID CallConv, bool isVarArg,
208 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
217 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
223 CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp105 CallingConv::ID CallConv = CB.getCallingConv(); in lowerCall() local
110 getReturnInfo(CallConv, RetTy, CB.getAttributes(), SplitArgs, DL); in lowerCall()
175 Info.CallConv = CallConv; in lowerCall()
253 CallingConv::ID CallConv, in splitToValueTypes() argument
276 OrigArg.Ty, CallConv, false, DL); in splitToValueTypes()
566 CallingConv::ID CallConv, bool IsVarArg, in determineAndHandleAssignments() argument
592 const CallingConv::ID CallConv = CCInfo.getCallingConv(); in determineAssignments() local
603 TLI->getNumRegistersForCallingConv(Ctx, CallConv, CurVT); in determineAssignments()
975 CallingConv::ID CallConv = F.getCallingConv(); in checkReturnTypeForCallConv() local
980 return canLowerReturn(MF, CallConv, SplitArgs, F.isVarArg()); in checkReturnTypeForCallConv()
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/BPF/
H A DBPFISelLowering.h81 CallingConv::ID CallConv, bool IsVarArg,
94 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
100 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool IsVarArg,
H A DBPFISelLowering.cpp301 SDValue Chain, CallingConv::ID CallConv, bool IsVarArg, in LowerFormalArguments() argument
304 switch (CallConv) { in LowerFormalArguments()
317 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments()
378 CallingConv::ID CallConv = CLI.CallConv; in LowerCall() local
385 switch (CallConv) { in LowerCall()
395 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall()
494 return LowerCallResult(Chain, InFlag, CallConv, IsVarArg, Ins, CLI.DL, DAG, in LowerCall()
499 BPFTargetLowering::LowerReturn(SDValue Chain, CallingConv::ID CallConv, in LowerReturn() argument
511 CCState CCInfo(CallConv, IsVarArg, MF, RVLocs, *DAG.getContext()); in LowerReturn()
547 SDValue Chain, SDValue InFlag, CallingConv::ID CallConv, bool IsVarArg, in LowerCallResult() argument
[all …]
/openbsd/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUCallLowering.cpp279 CallingConv::ID CallConv, in canLowerReturn() argument
283 if (AMDGPU::isEntryFunctionCC(CallConv)) in canLowerReturn()
288 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, in canLowerReturn()
990 CallingConv::ID CalleeCC = Info.CallConv; in doCallerAndCalleePassArgsTheSameWay()
1036 CallingConv::ID CalleeCC = Info.CallConv; in areCalleeOutgoingArgsTailCallable()
1099 CallingConv::ID CalleeCC = Info.CallConv; in isEligibleForTailCallOptimization()
1178 CallingConv::ID CalleeCC = Info.CallConv; in lowerTailCall()
1251 if (Info.CallConv != CallingConv::AMDGPU_Gfx) { in lowerTailCall()
1319 splitToValueTypes(OrigArg, OutArgs, DL, Info.CallConv); in lowerCall()
1343 getAssignFnsForCC(Info.CallConv, TLI); in lowerCall()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/GlobalISel/
H A DCallLowering.h104 CallingConv::ID CallConv = CallingConv::C; member
376 const DataLayout &DL, CallingConv::ID CallConv,
401 CallingConv::ID CallConv, bool IsVarArg,
480 void getReturnInfo(CallingConv::ID CallConv, Type *RetTy, AttributeList Attrs,
492 virtual bool canLowerReturn(MachineFunction &MF, CallingConv::ID CallConv, in canLowerReturn() argument
/openbsd/gnu/llvm/llvm/lib/Target/ARM/
H A DARMCallLowering.cpp491 MIB.addRegMask(TRI->getCallPreservedMask(MF, Info.CallConv)); in lowerCall()
501 splitToValueTypes(Arg, ArgInfos, DL, Info.CallConv); in lowerCall()
504 auto ArgAssignFn = TLI.CCAssignFnForCall(Info.CallConv, Info.IsVarArg); in lowerCall()
508 MIRBuilder, Info.CallConv, Info.IsVarArg)) in lowerCall()
519 splitToValueTypes(Info.OrigRet, ArgInfos, DL, Info.CallConv); in lowerCall()
520 auto RetAssignFn = TLI.CCAssignFnForReturn(Info.CallConv, Info.IsVarArg); in lowerCall()
524 MIRBuilder, Info.CallConv, in lowerCall()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DFastISel.h85 CallingConv::ID CallConv = CallingConv::C; member
117 CallConv = Call.getCallingConv(); in setCallee()
141 CallConv = Call.getCallingConv();
155 CallConv = CC;
171 CallConv = CC;
/openbsd/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYISelLowering.cpp324 SDValue Chain, CallingConv::ID CallConv, bool IsVarArg, in LowerFormalArguments() argument
328 switch (CallConv) { in LowerFormalArguments()
343 CCState CCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerFormalArguments()
424 CallingConv::ID CallConv, MachineFunction &MF, bool IsVarArg, in CanLowerReturn() argument
427 CCState CCInfo(CallConv, IsVarArg, MF, CSKYLocs, Context); in CanLowerReturn()
432 CSKYTargetLowering::LowerReturn(SDValue Chain, CallingConv::ID CallConv, in LowerReturn() argument
441 CCState CCInfo(CallConv, IsVarArg, DAG.getMachineFunction(), CSKYLocs, in LowerReturn()
443 CCInfo.AnalyzeReturn(Outs, CCAssignFnForReturn(CallConv, IsVarArg)); in LowerReturn()
511 CallingConv::ID CallConv = CLI.CallConv; in LowerCall() local
520 CCState ArgCCInfo(CallConv, IsVarArg, MF, ArgLocs, *DAG.getContext()); in LowerCall()
[all …]
H A DCSKYISelLowering.h55 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
61 bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
66 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool IsVarArg,
/openbsd/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.h95 bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
99 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
103 SDValue LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv,
/openbsd/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeRecord.h150 ProcedureRecord(TypeIndex ReturnType, CallingConvention CallConv, in ProcedureRecord() argument
154 CallConv(CallConv), Options(Options), ParameterCount(ParameterCount), in ProcedureRecord()
158 CallingConvention getCallConv() const { return CallConv; } in getCallConv()
164 CallingConvention CallConv = CallingConvention::NearC; variable
177 TypeIndex ThisType, CallingConvention CallConv, in MemberFunctionRecord() argument
181 ClassType(ClassType), ThisType(ThisType), CallConv(CallConv), in MemberFunctionRecord()
189 CallingConvention getCallConv() const { return CallConv; } in getCallConv()
198 CallingConvention CallConv = CallingConvention::NearC; variable
/openbsd/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h1116 Type *Ty, CallingConv::ID CallConv, bool isVarArg, in functionArgumentNeedsConsecutiveRegisters() argument
1173 const CallingConv::ID CallConv; member
1183 : CallConv(CC), IsTailCall(IsTailCall), IsVarArg(IsVarArg), in CallFlags()
1332 CallingConv::ID CallConv, bool isVarArg,
1346 LowerFormalArguments(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
1354 bool CanLowerReturn(CallingConv::ID CallConv, MachineFunction &MF,
1359 SDValue LowerReturn(SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
1369 SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
1373 SDValue Chain, CallingConv::ID CallConv, bool isVarArg,
1377 SDValue Chain, CallingConv::ID CallConv, bool isVarArg,

1234