Lines Matching defs:TargetLoweringBase
1 //===- TargetLoweringBase.cpp - Implement the TargetLoweringBase class ----===//
9 // This implements the TargetLoweringBase class.
611 TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm)
648 void TargetLoweringBase::initActions() {
861 MVT TargetLoweringBase::getScalarShiftAmountTy(const DataLayout &DL,
866 EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy,
881 bool TargetLoweringBase::canOpTrap(unsigned Op, EVT VT) const {
894 bool TargetLoweringBase::isFreeAddrSpaceCast(unsigned SrcAS,
899 unsigned TargetLoweringBase::getBitWidthForCttzElements(
917 void TargetLoweringBase::setJumpIsExpensive(bool isExpensive) {
923 TargetLoweringBase::LegalizeKind
924 TargetLoweringBase::getTypeConversion(LLVMContext &Context, EVT VT) const {
1066 TargetLoweringBase *TLI) {
1120 bool TargetLoweringBase::isLegalRC(const TargetRegisterInfo &TRI,
1131 TargetLoweringBase::emitPatchPoint(MachineInstr &InitialMI,
1224 TargetLoweringBase::findRepresentativeClass(const TargetRegisterInfo *TRI,
1251 void TargetLoweringBase::computeRegisterProperties(
1499 EVT TargetLoweringBase::getSetCCResultType(const DataLayout &DL, LLVMContext &,
1505 MVT::SimpleValueType TargetLoweringBase::getCmpLibcallReturnType() const {
1517 unsigned TargetLoweringBase::getVectorTypeBreakdown(LLVMContext &Context,
1607 bool TargetLoweringBase::isSuitableForJumpTable(const SwitchInst *SI,
1629 MVT TargetLoweringBase::getPreferredSwitchConditionType(LLVMContext &Context,
1691 uint64_t TargetLoweringBase::getByValTypeAlignment(Type *Ty,
1696 bool TargetLoweringBase::allowsMemoryAccessForAlignment(
1716 bool TargetLoweringBase::allowsMemoryAccessForAlignment(
1723 bool TargetLoweringBase::allowsMemoryAccess(LLVMContext &Context,
1732 bool TargetLoweringBase::allowsMemoryAccess(LLVMContext &Context,
1740 bool TargetLoweringBase::allowsMemoryAccess(LLVMContext &Context,
1753 int TargetLoweringBase::InstructionOpcodeToISD(unsigned Opcode) const {
1833 TargetLoweringBase::getDefaultSafeStackPointerLocation(IRBuilderBase &IRB,
1866 TargetLoweringBase::getSafeStackPointerLocation(IRBuilderBase &IRB) const {
1885 bool TargetLoweringBase::isLegalAddressingMode(const DataLayout &DL,
1930 Value *TargetLoweringBase::getIRStackGuard(IRBuilderBase &IRB) const {
1944 void TargetLoweringBase::insertSSPDeclarations(Module &M) const {
1963 Value *TargetLoweringBase::getSDagStackGuard(const Module &M) const {
1967 Function *TargetLoweringBase::getSSPStackGuardCheck(const Module &M) const {
1971 unsigned TargetLoweringBase::getMinimumJumpTableEntries() const {
1975 void TargetLoweringBase::setMinimumJumpTableEntries(unsigned Val) {
1979 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const {
1983 unsigned TargetLoweringBase::getMaximumJumpTableSize() const {
1987 void TargetLoweringBase::setMaximumJumpTableSize(unsigned Val) {
1991 bool TargetLoweringBase::isJumpTableRelative() const {
1995 Align TargetLoweringBase::getPrefLoopAlignment(MachineLoop *ML) const {
2001 unsigned TargetLoweringBase::getMaxPermittedBytesForAlignment(
2068 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2087 return TargetLoweringBase::ReciprocalEstimate::Enabled;
2091 return TargetLoweringBase::ReciprocalEstimate::Disabled;
2095 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2116 return IsDisabled ? TargetLoweringBase::ReciprocalEstimate::Disabled
2117 : TargetLoweringBase::ReciprocalEstimate::Enabled;
2120 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2128 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2141 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2169 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2172 int TargetLoweringBase::getRecipEstimateSqrtEnabled(EVT VT,
2177 int TargetLoweringBase::getRecipEstimateDivEnabled(EVT VT,
2182 int TargetLoweringBase::getSqrtRefinementSteps(EVT VT,
2187 int TargetLoweringBase::getDivRefinementSteps(EVT VT,
2192 bool TargetLoweringBase::isLoadBitCastBeneficial(
2220 void TargetLoweringBase::finalizeLowering(MachineFunction &MF) const {
2224 MachineMemOperand::Flags TargetLoweringBase::getLoadMemOperandFlags(
2247 TargetLoweringBase::getStoreMemOperandFlags(const StoreInst &SI,
2263 TargetLoweringBase::getAtomicMemOperandFlags(const Instruction &AI,
2281 Instruction *TargetLoweringBase::emitLeadingFence(IRBuilderBase &Builder,
2290 Instruction *TargetLoweringBase::emitTrailingFence(IRBuilderBase &Builder,
2303 bool TargetLoweringBase::shouldLocalize(const MachineInstr &MI,