Lines Matching defs:TargetLoweringBase
1 //===- TargetLoweringBase.cpp - Implement the TargetLoweringBase class ----===//
9 // This implements the TargetLoweringBase class.
620 TargetLoweringBase::TargetLoweringBase(const TargetMachine &tm)
657 void TargetLoweringBase::initActions() {
885 MVT TargetLoweringBase::getScalarShiftAmountTy(const DataLayout &DL,
890 EVT TargetLoweringBase::getShiftAmountTy(EVT LHSTy,
905 bool TargetLoweringBase::canOpTrap(unsigned Op, EVT VT) const {
918 bool TargetLoweringBase::isFreeAddrSpaceCast(unsigned SrcAS,
923 unsigned TargetLoweringBase::getBitWidthForCttzElements(
941 void TargetLoweringBase::setJumpIsExpensive(bool isExpensive) {
947 TargetLoweringBase::LegalizeKind
948 TargetLoweringBase::getTypeConversion(LLVMContext &Context, EVT VT) const {
1090 TargetLoweringBase *TLI) {
1144 bool TargetLoweringBase::isLegalRC(const TargetRegisterInfo &TRI,
1155 TargetLoweringBase::emitPatchPoint(MachineInstr &InitialMI,
1248 TargetLoweringBase::findRepresentativeClass(const TargetRegisterInfo *TRI,
1275 void TargetLoweringBase::computeRegisterProperties(
1523 EVT TargetLoweringBase::getSetCCResultType(const DataLayout &DL, LLVMContext &,
1529 MVT::SimpleValueType TargetLoweringBase::getCmpLibcallReturnType() const {
1541 unsigned TargetLoweringBase::getVectorTypeBreakdown(LLVMContext &Context,
1631 bool TargetLoweringBase::isSuitableForJumpTable(const SwitchInst *SI,
1652 MVT TargetLoweringBase::getPreferredSwitchConditionType(LLVMContext &Context,
1703 Align TargetLoweringBase::getByValTypeAlignment(Type *Ty,
1708 bool TargetLoweringBase::allowsMemoryAccessForAlignment(
1728 bool TargetLoweringBase::allowsMemoryAccessForAlignment(
1735 bool TargetLoweringBase::allowsMemoryAccess(LLVMContext &Context,
1744 bool TargetLoweringBase::allowsMemoryAccess(LLVMContext &Context,
1752 bool TargetLoweringBase::allowsMemoryAccess(LLVMContext &Context,
1765 int TargetLoweringBase::InstructionOpcodeToISD(unsigned Opcode) const {
1844 int TargetLoweringBase::IntrinsicIDToISD(Intrinsic::ID ID) const {
1856 TargetLoweringBase::getDefaultSafeStackPointerLocation(IRBuilderBase &IRB,
1892 TargetLoweringBase::getSafeStackPointerLocation(IRBuilderBase &IRB) const {
1911 bool TargetLoweringBase::isLegalAddressingMode(const DataLayout &DL,
1956 Value *TargetLoweringBase::getIRStackGuard(IRBuilderBase &IRB) const {
1970 void TargetLoweringBase::insertSSPDeclarations(Module &M) const {
1989 Value *TargetLoweringBase::getSDagStackGuard(const Module &M) const {
1993 Function *TargetLoweringBase::getSSPStackGuardCheck(const Module &M) const {
1997 unsigned TargetLoweringBase::getMinimumJumpTableEntries() const {
2001 void TargetLoweringBase::setMinimumJumpTableEntries(unsigned Val) {
2005 unsigned TargetLoweringBase::getMinimumJumpTableDensity(bool OptForSize) const {
2009 unsigned TargetLoweringBase::getMaximumJumpTableSize() const {
2013 void TargetLoweringBase::setMaximumJumpTableSize(unsigned Val) {
2017 bool TargetLoweringBase::isJumpTableRelative() const {
2021 Align TargetLoweringBase::getPrefLoopAlignment(MachineLoop *ML) const {
2027 unsigned TargetLoweringBase::getMaxPermittedBytesForAlignment(
2094 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2113 return TargetLoweringBase::ReciprocalEstimate::Enabled;
2117 return TargetLoweringBase::ReciprocalEstimate::Disabled;
2121 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2142 return IsDisabled ? TargetLoweringBase::ReciprocalEstimate::Disabled
2143 : TargetLoweringBase::ReciprocalEstimate::Enabled;
2146 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2154 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2167 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2195 return TargetLoweringBase::ReciprocalEstimate::Unspecified;
2198 int TargetLoweringBase::getRecipEstimateSqrtEnabled(EVT VT,
2203 int TargetLoweringBase::getRecipEstimateDivEnabled(EVT VT,
2208 int TargetLoweringBase::getSqrtRefinementSteps(EVT VT,
2213 int TargetLoweringBase::getDivRefinementSteps(EVT VT,
2218 bool TargetLoweringBase::isLoadBitCastBeneficial(
2246 void TargetLoweringBase::finalizeLowering(MachineFunction &MF) const {
2250 MachineMemOperand::Flags TargetLoweringBase::getLoadMemOperandFlags(
2273 TargetLoweringBase::getStoreMemOperandFlags(const StoreInst &SI,
2289 TargetLoweringBase::getAtomicMemOperandFlags(const Instruction &AI,
2307 Instruction *TargetLoweringBase::emitLeadingFence(IRBuilderBase &Builder,
2316 Instruction *TargetLoweringBase::emitTrailingFence(IRBuilderBase &Builder,
2329 bool TargetLoweringBase::shouldLocalize(const MachineInstr &MI,