LLVM API Documentation
#include <TargetLowering.h>
This structure contains all information that is necessary for lowering calls. It is passed to TLI::LowerCallTo when the SelectionDAG builder needs to lower a call, and targets will see this struct in their LowerCall implementation.
Definition at line 2176 of file TargetLowering.h.
llvm::TargetLowering::CallLoweringInfo::CallLoweringInfo | ( | SelectionDAG & | DAG | ) | [inline] |
Definition at line 2201 of file TargetLowering.h.
ArgListTy& llvm::TargetLowering::CallLoweringInfo::getArgs | ( | ) | [inline] |
Definition at line 2287 of file TargetLowering.h.
References Args.
Referenced by llvm::NVPTXTargetLowering::LowerCall(), and llvm::TargetLowering::LowerCallTo().
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setCallee | ( | CallingConv::ID | CC, |
Type * | ResultType, | ||
SDValue | Target, | ||
ArgListTy && | ArgsList, | ||
unsigned | FixedArgs = -1 |
||
) | [inline] |
Definition at line 2217 of file TargetLowering.h.
References Args, CallConv, Callee, NumFixedArgs, and RetTy.
Referenced by llvm::XCoreSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::AArch64SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::ARMSelectionDAGInfo::EmitTargetCodeForMemset(), llvm::SelectionDAG::getMemcpy(), llvm::SelectionDAG::getMemmove(), llvm::SelectionDAG::getMemset(), llvm::SelectionDAGBuilder::LowerCallOperands(), llvm::SelectionDAGBuilder::LowerCallTo(), llvm::SparcTargetLowering::LowerF128Compare(), and llvm::SparcTargetLowering::LowerF128Op().
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setCallee | ( | Type * | ResultType, |
FunctionType * | FTy, | ||
SDValue | Target, | ||
ArgListTy && | ArgsList, | ||
ImmutableCallSite & | Call | ||
) | [inline] |
Definition at line 2229 of file TargetLowering.h.
References Args, llvm::Call, CallConv, Callee, CS, llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::doesNotReturn(), DoesNotReturn, llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::getCallingConv(), llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::getInstruction(), llvm::FunctionType::getNumParams(), llvm::Attribute::InReg, IsInReg, IsReturnValueUsed, llvm::FunctionType::isVarArg(), IsVarArg, NumFixedArgs, llvm::CallSiteBase< FunTy, ValTy, UserTy, InstrTy, CallTy, InvokeTy, IterTy >::paramHasAttr(), RetSExt, RetTy, RetZExt, llvm::Attribute::SExt, llvm::Value::use_empty(), and llvm::Attribute::ZExt.
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setChain | ( | SDValue | InChain | ) | [inline] |
Definition at line 2212 of file TargetLowering.h.
References Chain.
Referenced by llvm::XCoreSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::AArch64SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::ARMSelectionDAGInfo::EmitTargetCodeForMemset(), llvm::SelectionDAG::getMemcpy(), llvm::SelectionDAG::getMemmove(), llvm::SelectionDAG::getMemset(), llvm::SelectionDAGBuilder::LowerCallOperands(), llvm::SelectionDAGBuilder::LowerCallTo(), llvm::SparcTargetLowering::LowerF128Compare(), llvm::SparcTargetLowering::LowerF128Op(), LowerFSINCOS(), and llvm::TargetLowering::makeLibCall().
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setDebugLoc | ( | SDLoc | dl | ) | [inline] |
Definition at line 2207 of file TargetLowering.h.
References DL.
Referenced by llvm::XCoreSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::AArch64SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::X86SelectionDAGInfo::EmitTargetCodeForMemset(), llvm::ARMSelectionDAGInfo::EmitTargetCodeForMemset(), llvm::SelectionDAG::getMemcpy(), llvm::SelectionDAG::getMemmove(), llvm::SelectionDAG::getMemset(), llvm::SelectionDAGBuilder::LowerCallOperands(), llvm::SelectionDAGBuilder::LowerCallTo(), llvm::SparcTargetLowering::LowerF128Compare(), llvm::SparcTargetLowering::LowerF128Op(), LowerFSINCOS(), and llvm::TargetLowering::makeLibCall().
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setDiscardResult | ( | bool | Value = true | ) | [inline] |
Definition at line 2272 of file TargetLowering.h.
References IsReturnValueUsed.
Referenced by llvm::TargetLowering::makeLibCall().
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setInRegister | ( | bool | Value = true | ) | [inline] |
Definition at line 2252 of file TargetLowering.h.
References IsInReg.
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setNoReturn | ( | bool | Value = true | ) | [inline] |
Definition at line 2257 of file TargetLowering.h.
References DoesNotReturn.
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setSExtResult | ( | bool | Value = true | ) | [inline] |
Definition at line 2277 of file TargetLowering.h.
References RetSExt.
Referenced by llvm::TargetLowering::makeLibCall().
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setTailCall | ( | bool | Value = true | ) | [inline] |
Definition at line 2267 of file TargetLowering.h.
References IsTailCall.
Referenced by llvm::SelectionDAGBuilder::LowerCallTo().
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setVarArg | ( | bool | Value = true | ) | [inline] |
Definition at line 2262 of file TargetLowering.h.
References IsVarArg.
CallLoweringInfo& llvm::TargetLowering::CallLoweringInfo::setZExtResult | ( | bool | Value = true | ) | [inline] |
Definition at line 2282 of file TargetLowering.h.
References RetZExt.
Referenced by llvm::TargetLowering::makeLibCall().
Definition at line 2193 of file TargetLowering.h.
Referenced by getArgs(), and setCallee().
Definition at line 2191 of file TargetLowering.h.
Referenced by llvm::MipsTargetLowering::getOpndList(), llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::TargetLowering::LowerCallTo(), and setCallee().
Definition at line 2192 of file TargetLowering.h.
Referenced by llvm::MipsTargetLowering::getOpndList(), llvm::HexagonTargetLowering::LowerCall(), llvm::AMDGPUTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), and setCallee().
Definition at line 2177 of file TargetLowering.h.
Referenced by llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::TargetLowering::LowerCallTo(), and setChain().
Definition at line 2196 of file TargetLowering.h.
Referenced by llvm::NVPTXTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::TargetLowering::LowerCallTo(), and setCallee().
Definition at line 2194 of file TargetLowering.h.
Referenced by llvm::MipsTargetLowering::getOpndList(), llvm::HexagonTargetLowering::LowerCall(), llvm::AMDGPUTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), and llvm::TargetLowering::LowerCallTo().
Definition at line 2195 of file TargetLowering.h.
Referenced by llvm::MipsTargetLowering::getOpndList(), llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::TargetLowering::LowerCallTo(), and setDebugLoc().
Definition at line 2183 of file TargetLowering.h.
Referenced by setCallee(), and setNoReturn().
Definition at line 2199 of file TargetLowering.h.
Referenced by llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), and llvm::TargetLowering::LowerCallTo().
Definition at line 2182 of file TargetLowering.h.
Referenced by getReturnAttrs(), llvm::TargetLowering::LowerCallTo(), setCallee(), and setInRegister().
Definition at line 2184 of file TargetLowering.h.
Referenced by llvm::TargetLowering::LowerCallTo(), setCallee(), and setDiscardResult().
Definition at line 2188 of file TargetLowering.h.
Referenced by llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::TargetLowering::LowerCallTo(), and setTailCall().
Definition at line 2181 of file TargetLowering.h.
Referenced by llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), llvm::TargetLowering::LowerCallTo(), setCallee(), and setVarArg().
Definition at line 2190 of file TargetLowering.h.
Referenced by llvm::TargetLowering::LowerCallTo(), and setCallee().
Definition at line 2197 of file TargetLowering.h.
Referenced by llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), and llvm::TargetLowering::LowerCallTo().
Definition at line 2198 of file TargetLowering.h.
Referenced by llvm::HexagonTargetLowering::LowerCall(), llvm::SystemZTargetLowering::LowerCall(), llvm::NVPTXTargetLowering::LowerCall(), llvm::SparcTargetLowering::LowerCall_32(), llvm::SparcTargetLowering::LowerCall_64(), and llvm::TargetLowering::LowerCallTo().
Definition at line 2179 of file TargetLowering.h.
Referenced by getReturnAttrs(), llvm::TargetLowering::LowerCallTo(), setCallee(), and setSExtResult().
Definition at line 2178 of file TargetLowering.h.
Referenced by getReturnAttrs(), llvm::NVPTXTargetLowering::LowerCall(), llvm::TargetLowering::LowerCallTo(), and setCallee().
Definition at line 2180 of file TargetLowering.h.
Referenced by getReturnAttrs(), llvm::TargetLowering::LowerCallTo(), setCallee(), and setZExtResult().