#include "clang/Basic/TargetInfo.h"
Definition at line 791 of file TargetInfo.h.
◆ anonymous enum
Enumerator |
---|
CI_None | |
CI_AllowsMemory | |
CI_AllowsRegister | |
CI_ReadWrite | |
CI_HasMatchingInput | |
CI_ImmediateConstant | |
CI_EarlyClobber | |
Definition at line 792 of file TargetInfo.h.
◆ ConstraintInfo()
clang::TargetInfo::ConstraintInfo::ConstraintInfo |
( |
StringRef |
ConstraintStr, |
|
|
StringRef |
Name |
|
) |
| |
|
inline |
◆ allowsMemory()
bool clang::TargetInfo::ConstraintInfo::allowsMemory |
( |
| ) |
const |
|
inline |
◆ allowsRegister()
bool clang::TargetInfo::ConstraintInfo::allowsRegister |
( |
| ) |
const |
|
inline |
◆ earlyClobber()
bool clang::TargetInfo::ConstraintInfo::earlyClobber |
( |
| ) |
|
|
inline |
◆ getConstraintStr()
const std::string& clang::TargetInfo::ConstraintInfo::getConstraintStr |
( |
| ) |
const |
|
inline |
◆ getName()
const std::string& clang::TargetInfo::ConstraintInfo::getName |
( |
| ) |
const |
|
inline |
◆ getTiedOperand()
unsigned clang::TargetInfo::ConstraintInfo::getTiedOperand |
( |
| ) |
const |
|
inline |
◆ hasMatchingInput()
bool clang::TargetInfo::ConstraintInfo::hasMatchingInput |
( |
| ) |
const |
|
inline |
Return true if this output operand has a matching (tied) input operand.
Definition at line 827 of file TargetInfo.h.
◆ hasTiedOperand()
bool clang::TargetInfo::ConstraintInfo::hasTiedOperand |
( |
| ) |
const |
|
inline |
Return true if this input operand is a matching constraint that ties it to an output operand.
If this returns true then getTiedOperand will indicate which output operand this is tied to.
Definition at line 834 of file TargetInfo.h.
◆ isReadWrite()
bool clang::TargetInfo::ConstraintInfo::isReadWrite |
( |
| ) |
const |
|
inline |
◆ isValidAsmImmediate()
bool clang::TargetInfo::ConstraintInfo::isValidAsmImmediate |
( |
const llvm::APInt & |
Value | ) |
const |
|
inline |
◆ requiresImmediateConstant()
bool clang::TargetInfo::ConstraintInfo::requiresImmediateConstant |
( |
| ) |
const |
|
inline |
◆ setAllowsMemory()
void clang::TargetInfo::ConstraintInfo::setAllowsMemory |
( |
| ) |
|
|
inline |
◆ setAllowsRegister()
void clang::TargetInfo::ConstraintInfo::setAllowsRegister |
( |
| ) |
|
|
inline |
◆ setEarlyClobber()
void clang::TargetInfo::ConstraintInfo::setEarlyClobber |
( |
| ) |
|
|
inline |
◆ setHasMatchingInput()
void clang::TargetInfo::ConstraintInfo::setHasMatchingInput |
( |
| ) |
|
|
inline |
◆ setIsReadWrite()
void clang::TargetInfo::ConstraintInfo::setIsReadWrite |
( |
| ) |
|
|
inline |
◆ setRequiresImmediate() [1/4]
void clang::TargetInfo::ConstraintInfo::setRequiresImmediate |
( |
int |
Min, |
|
|
int |
Max |
|
) |
| |
|
inline |
◆ setRequiresImmediate() [2/4]
void clang::TargetInfo::ConstraintInfo::setRequiresImmediate |
( |
llvm::ArrayRef< int > |
Exacts | ) |
|
|
inline |
◆ setRequiresImmediate() [3/4]
void clang::TargetInfo::ConstraintInfo::setRequiresImmediate |
( |
int |
Exact | ) |
|
|
inline |
◆ setRequiresImmediate() [4/4]
void clang::TargetInfo::ConstraintInfo::setRequiresImmediate |
( |
| ) |
|
|
inline |
◆ setTiedOperand()
void clang::TargetInfo::ConstraintInfo::setTiedOperand |
( |
unsigned |
N, |
|
|
ConstraintInfo & |
Output |
|
) |
| |
|
inline |
Indicate that this is an input operand that is tied to the specified output operand.
Copy over the various constraint information from the output.
Definition at line 877 of file TargetInfo.h.
References Flags, and setHasMatchingInput().
◆ ConstraintStr
std::string clang::TargetInfo::ConstraintInfo::ConstraintStr |
◆ Flags
unsigned clang::TargetInfo::ConstraintInfo::Flags |
◆ ImmRange
struct { ... } clang::TargetInfo::ConstraintInfo::ImmRange |
◆ ImmSet
llvm::SmallSet<int, 4> clang::TargetInfo::ConstraintInfo::ImmSet |
◆ Max
int clang::TargetInfo::ConstraintInfo::Max |
◆ Min
int clang::TargetInfo::ConstraintInfo::Min |
◆ Name
std::string clang::TargetInfo::ConstraintInfo::Name |
◆ TiedOperand
int clang::TargetInfo::ConstraintInfo::TiedOperand |
The documentation for this struct was generated from the following file: