24 #define DEBUG_TYPE "aarch64-subtarget"
26 #define GET_SUBTARGETINFO_CTOR
27 #define GET_SUBTARGETINFO_TARGET_DESC
28 #include "AArch64GenSubtargetInfo.inc"
35 AArch64Subtarget::initializeSubtargetDependencies(
StringRef FS) {
46 const std::string &FS,
51 IsLittle(LittleEndian), CPUString(CPU), TargetTriple(TT), FrameLowering(),
52 InstrInfo(initializeSubtargetDependencies(FS)), TSInfo(),
111 unsigned NumRegionInstrs)
const {
122 std::unique_ptr<PBQPRAConstraint>
127 return llvm::make_unique<A57ChainingConstraint>();
const_iterator end(StringRef path)
Get end iterator over path.
Reloc::Model getRelocationModel() const
Returns the code generation relocation model.
const_iterator begin(StringRef path)
Get begin iterator over path.
bool hasDefaultVisibility() const
bool isStrongDefinitionForLinker() const
Returns true if this global's definition will be the one chosen by the linker.
MO_CONSTPOOL - This flag indicates that a symbol operand represents the address of a constant pool en...
MO_GOT - This flag indicates that a symbol operand represents the address of the GOT entry for the sy...
bool enableEarlyIfConversion() const override
initializer< Ty > init(const Ty &Val)
CodeModel::Model getCodeModel() const
Returns the code model.
bool isTargetMachO() const
unsigned char ClassifyGlobalReference(const GlobalValue *GV, const TargetMachine &TM) const
ClassifyGlobalReference - Find the target operand flags that describe how a global value should be re...
Triple - Helper class for working with autoconf configuration names.
bool hasExternalWeakLinkage() const
void ParseSubtargetFeatures(StringRef CPU, StringRef FS)
ParseSubtargetFeatures - Parses features string setting specified subtarget options.
std::string CPUString
CPUString - String name of used CPU.
const char * getBZeroEntry() const
This function returns the name of a function which has an interface like the non-standard bzero funct...
bool isTargetDarwin() const
void overrideSchedPolicy(MachineSchedPolicy &Policy, MachineInstr *begin, MachineInstr *end, unsigned NumRegionInstrs) const override
Define a generic scheduling policy for targets that don't provide their own MachineSchedStrategy.
Representation of each machine instruction.
std::unique_ptr< PBQPRAConstraint > getCustomPBQPConstraints() const override
AArch64Subtarget(const Triple &TT, const std::string &CPU, const std::string &FS, const TargetMachine &TM, bool LittleEndian)
This constructor initializes the data members to match that of the specified triple.
bool hasLocalLinkage() const
Primary interface to the complete machine description for the target machine.
StringRef - Represent a constant reference to a string, i.e.
static cl::opt< bool > EnableEarlyIfConvert("aarch64-early-ifcvt", cl::desc("Enable the early if ""converter pass"), cl::init(true), cl::Hidden)