mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
* Doxygenify comments
* Tabs-to-spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14549 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5706f25694
commit
992dce13ec
@ -47,15 +47,16 @@ class TargetMachine {
|
|||||||
void operator=(const TargetMachine&); // DO NOT IMPLEMENT
|
void operator=(const TargetMachine&); // DO NOT IMPLEMENT
|
||||||
protected: // Can only create subclasses...
|
protected: // Can only create subclasses...
|
||||||
TargetMachine(const std::string &name, IntrinsicLowering *IL,
|
TargetMachine(const std::string &name, IntrinsicLowering *IL,
|
||||||
bool LittleEndian = false,
|
bool LittleEndian = false,
|
||||||
unsigned char PtrSize = 8, unsigned char PtrAl = 8,
|
unsigned char PtrSize = 8, unsigned char PtrAl = 8,
|
||||||
unsigned char DoubleAl = 8, unsigned char FloatAl = 4,
|
unsigned char DoubleAl = 8, unsigned char FloatAl = 4,
|
||||||
unsigned char LongAl = 8, unsigned char IntAl = 4,
|
unsigned char LongAl = 8, unsigned char IntAl = 4,
|
||||||
unsigned char ShortAl = 2, unsigned char ByteAl = 1);
|
unsigned char ShortAl = 2, unsigned char ByteAl = 1);
|
||||||
|
|
||||||
// This constructor is used for targets that support arbitrary TargetData
|
/// This constructor is used for targets that support arbitrary TargetData
|
||||||
// layouts, like the C backend. It initializes the TargetData to match that
|
/// layouts, like the C backend. It initializes the TargetData to match that
|
||||||
// of the specified module.
|
/// of the specified module.
|
||||||
|
///
|
||||||
TargetMachine(const std::string &name, IntrinsicLowering *IL,
|
TargetMachine(const std::string &name, IntrinsicLowering *IL,
|
||||||
const Module &M);
|
const Module &M);
|
||||||
public:
|
public:
|
||||||
@ -63,9 +64,10 @@ public:
|
|||||||
|
|
||||||
const std::string &getName() const { return Name; }
|
const std::string &getName() const { return Name; }
|
||||||
|
|
||||||
// getIntrinsicLowering - This method returns a reference to an
|
/// getIntrinsicLowering - This method returns a reference to an
|
||||||
// IntrinsicLowering instance which should be used by the code generator to
|
/// IntrinsicLowering instance which should be used by the code generator to
|
||||||
// lower unknown intrinsic functions to the equivalent LLVM expansion.
|
/// lower unknown intrinsic functions to the equivalent LLVM expansion.
|
||||||
|
///
|
||||||
IntrinsicLowering &getIntrinsicLowering() const { return *IL; }
|
IntrinsicLowering &getIntrinsicLowering() const { return *IL; }
|
||||||
|
|
||||||
// Interfaces to the major aspects of target machine information:
|
// Interfaces to the major aspects of target machine information:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user