Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/lib/Target/X86/X86Subtarget.h
Show First 20 Lines • Show All 364 Lines • ▼ Show 20 Lines | protected: | ||||
bool HasCLWB; | bool HasCLWB; | ||||
/// Processor supports Write Back No Invalidate instruction | /// Processor supports Write Back No Invalidate instruction | ||||
bool HasWBNOINVD; | bool HasWBNOINVD; | ||||
/// Processor support RDPID instruction | /// Processor support RDPID instruction | ||||
bool HasRDPID; | bool HasRDPID; | ||||
/// Processor supports WaitPKG instructions | |||||
bool HasWAITPKG; | |||||
/// Use a retpoline thunk rather than indirect calls to block speculative | /// Use a retpoline thunk rather than indirect calls to block speculative | ||||
/// execution. | /// execution. | ||||
bool UseRetpoline; | bool UseRetpoline; | ||||
/// When using a retpoline thunk, call an externally provided thunk rather | /// When using a retpoline thunk, call an externally provided thunk rather | ||||
/// than emitting one inside the compiler. | /// than emitting one inside the compiler. | ||||
bool UseRetpolineExternalThunk; | bool UseRetpolineExternalThunk; | ||||
▲ Show 20 Lines • Show All 242 Lines • ▼ Show 20 Lines | public: | ||||
bool hasBITALG() const { return HasBITALG; } | bool hasBITALG() const { return HasBITALG; } | ||||
bool hasMPX() const { return HasMPX; } | bool hasMPX() const { return HasMPX; } | ||||
bool hasSHSTK() const { return HasSHSTK; } | bool hasSHSTK() const { return HasSHSTK; } | ||||
bool hasIBT() const { return HasIBT; } | bool hasIBT() const { return HasIBT; } | ||||
bool hasCLFLUSHOPT() const { return HasCLFLUSHOPT; } | bool hasCLFLUSHOPT() const { return HasCLFLUSHOPT; } | ||||
bool hasCLWB() const { return HasCLWB; } | bool hasCLWB() const { return HasCLWB; } | ||||
bool hasWBNOINVD() const { return HasWBNOINVD; } | bool hasWBNOINVD() const { return HasWBNOINVD; } | ||||
bool hasRDPID() const { return HasRDPID; } | bool hasRDPID() const { return HasRDPID; } | ||||
bool hasWAITPKG() const { return HasWAITPKG; } | |||||
bool useRetpoline() const { return UseRetpoline; } | bool useRetpoline() const { return UseRetpoline; } | ||||
bool useRetpolineExternalThunk() const { return UseRetpolineExternalThunk; } | bool useRetpolineExternalThunk() const { return UseRetpolineExternalThunk; } | ||||
unsigned getPreferVectorWidth() const { return PreferVectorWidth; } | unsigned getPreferVectorWidth() const { return PreferVectorWidth; } | ||||
unsigned getRequiredVectorWidth() const { return RequiredVectorWidth; } | unsigned getRequiredVectorWidth() const { return RequiredVectorWidth; } | ||||
// Helper functions to determine when we should allow widening to 512-bit | // Helper functions to determine when we should allow widening to 512-bit | ||||
// during codegen. | // during codegen. | ||||
▲ Show 20 Lines • Show All 167 Lines • Show Last 20 Lines |