LLVM API Documentation
Define some predicates that are used for node matching. More...
Define some predicates that are used for node matching.
anonymous enum |
Definition at line 61 of file X86Disassembler.cpp.
anonymous enum |
Definition at line 32 of file X86BaseInfo.h.
enum llvm::X86::CondCode |
COND_A | |
COND_AE | |
COND_B | |
COND_BE | |
COND_E | |
COND_G | |
COND_GE | |
COND_L | |
COND_LE | |
COND_NE | |
COND_NO | |
COND_NP | |
COND_NS | |
COND_O | |
COND_P | |
COND_S | |
LAST_VALID_COND | |
COND_NE_OR_P | |
COND_NP_OR_E | |
COND_INVALID |
Definition at line 32 of file X86InstrInfo.h.
enum llvm::X86::Fixups |
reloc_riprel_4byte | |
reloc_riprel_4byte_movq_load | |
reloc_signed_4byte | |
reloc_global_offset_table | |
reloc_global_offset_table8 | |
LastTargetFixupKind | |
NumTargetFixupKinds |
Definition at line 17 of file X86FixupKinds.h.
RelocationType - An enum for the x86 relocation codes. Note that the terminology here doesn't follow x86 convention - word means 32-bit and dword means 64-bit. The relocations will be treated by JIT or ObjectCode emitters, this is transparent to the x86 code emitter but JIT and ObjectCode will treat them differently
Definition at line 26 of file X86Relocations.h.
AVX512 static rounding constants. These need to match the values in avx512fintrin.h.
Definition at line 523 of file X86ISelLowering.h.
FastISel * llvm::X86::createFastISel | ( | FunctionLoweringInfo & | funcInfo, |
const TargetLibraryInfo * | libInfo | ||
) |
Definition at line 3347 of file X86FastISel.cpp.
unsigned llvm::X86::getCMovFromCond | ( | CondCode | CC, |
unsigned | RegBytes, | ||
bool | HasMemoryOperand = false |
||
) |
Return a cmov opcode for the given condition, register size in bytes, and operand type.
getCMovFromCond - Return a cmov opcode for the given condition, register size in bytes, and operand type.
Definition at line 2712 of file X86InstrInfo.cpp.
References llvm_unreachable.
Definition at line 2619 of file X86InstrInfo.cpp.
References COND_A, COND_AE, COND_B, COND_BE, MSP430CC::COND_E, COND_G, MSP430CC::COND_GE, MSP430CC::COND_L, COND_LE, MSP430CC::COND_NE, COND_NO, COND_NP, COND_NS, COND_O, COND_P, COND_S, and llvm_unreachable.
getCondFromCmovOpc - return condition code of a CMov opcode.
Definition at line 2565 of file X86InstrInfo.cpp.
References COND_A, COND_AE, COND_B, COND_BE, MSP430CC::COND_E, COND_G, MSP430CC::COND_GE, MSP430CC::COND_INVALID, MSP430CC::COND_L, COND_LE, MSP430CC::COND_NE, COND_NO, COND_NP, COND_NS, COND_O, COND_P, and COND_S.
getExtractVEXTRACT128Immediate - Return the appropriate immediate to extract the specified EXTRACT_SUBVECTOR index with VEXTRACTF128, VEXTRACTI128 instructions.
getExtractVEXTRACT128Immediate - Return the appropriate immediate to extract the specified EXTRACT_SUBVECTOR index with VEXTRACTF128 and VINSERTI128 instructions.
Definition at line 4901 of file X86ISelLowering.cpp.
References getExtractVEXTRACTImmediate().
getExtractVEXTRACT256Immediate - Return the appropriate immediate to extract the specified EXTRACT_SUBVECTOR index with VEXTRACTF64X4, VEXTRACTI64x4 instructions.
getExtractVEXTRACT256Immediate - Return the appropriate immediate to extract the specified EXTRACT_SUBVECTOR index with VEXTRACTF64x4 and VINSERTI64x4 instructions.
Definition at line 4908 of file X86ISelLowering.cpp.
References getExtractVEXTRACTImmediate().
getInsertVINSERT128Immediate - Return the appropriate immediate to insert at the specified INSERT_SUBVECTOR index with VINSERTF128, VINSERT128 instructions.
getInsertVINSERT128Immediate - Return the appropriate immediate to insert at the specified INSERT_SUBVECTOR index with VINSERTF128 and VINSERTI128 instructions.
Definition at line 4915 of file X86ISelLowering.cpp.
References getInsertVINSERTImmediate().
getInsertVINSERT256Immediate - Return the appropriate immediate to insert at the specified INSERT_SUBVECTOR index with VINSERTF64x4, VINSERTI64x4 instructions.
getInsertVINSERT256Immediate - Return the appropriate immediate to insert at the specified INSERT_SUBVECTOR index with VINSERTF46x4 and VINSERTI64x4 instructions.
Definition at line 4922 of file X86ISelLowering.cpp.
References getInsertVINSERTImmediate().
GetOppositeBranchCondition - Return the inverse of the specified cond, e.g. turning COND_E to COND_NE.
GetOppositeBranchCondition - Return the inverse of the specified condition, e.g. turning COND_E to COND_NE.
Definition at line 2643 of file X86InstrInfo.cpp.
References COND_A, COND_AE, COND_B, COND_BE, MSP430CC::COND_E, COND_G, MSP430CC::COND_GE, MSP430CC::COND_L, COND_LE, MSP430CC::COND_NE, COND_NO, COND_NP, COND_NS, COND_O, COND_P, COND_S, and llvm_unreachable.
unsigned llvm::X86::getSETFromCond | ( | CondCode | CC, |
bool | HasMemoryOperand = false |
||
) |
Return a set opcode for the given condition and whether it has a memory operand.
getSETFromCond - Return a set opcode for the given condition and whether it has memory operand.
Definition at line 2686 of file X86InstrInfo.cpp.
References LAST_VALID_COND.
bool llvm::X86::isCalleePop | ( | CallingConv::ID | CallingConv, |
bool | is64Bit, | ||
bool | IsVarArg, | ||
bool | TailCallOpt | ||
) |
isCalleePop - Determines whether the callee is required to pop its own arguments. Callee pop is necessary to support tail calls.
Definition at line 3673 of file X86ISelLowering.cpp.
References llvm::CallingConv::Fast, llvm::CallingConv::GHC, llvm::CallingConv::HiPE, llvm::CallingConv::X86_FastCall, llvm::CallingConv::X86_StdCall, and llvm::CallingConv::X86_ThisCall.
bool llvm::X86::isOffsetSuitableForCodeModel | ( | int64_t | Offset, |
CodeModel::Model | M, | ||
bool | hasSymbolicDisplacement = true |
||
) |
isOffsetSuitableForCodeModel - Returns true of the given offset can be fit into displacement field of the instruction.
Definition at line 3641 of file X86ISelLowering.cpp.
References llvm::isInt< 32 >(), llvm::CodeModel::Kernel, and llvm::CodeModel::Small.
isVEXTRACT128Index - Return true if the specified EXTRACT_SUBVECTOR operand specifies a vector extract that is suitable for input to VEXTRACTF128, VEXTRACTI128 instructions.
Definition at line 4741 of file X86ISelLowering.cpp.
References isVEXTRACTIndex().
isVEXTRACT256Index - Return true if the specified EXTRACT_SUBVECTOR operand specifies a vector extract that is suitable for input to VEXTRACTF64X4, VEXTRACTI64X4 instructions.
Definition at line 4745 of file X86ISelLowering.cpp.
References isVEXTRACTIndex().
isVINSERT128Index - Return true if the specified INSERT_SUBVECTOR operand specifies a subvector insert that is suitable for input to VINSERTF128, VINSERTI128 instructions.
Definition at line 4733 of file X86ISelLowering.cpp.
References isVINSERTIndex().
isVINSERT256Index - Return true if the specified INSERT_SUBVECTOR operand specifies a subvector insert that is suitable for input to VINSERTF64X4, VINSERTI64X4 instructions.
Definition at line 4737 of file X86ISelLowering.cpp.
References isVINSERTIndex().
bool llvm::X86::isZeroNode | ( | SDValue | Elt | ) |
isZeroNode - Returns true if Elt is a constant zero or a floating point constant +0.0.
Definition at line 4934 of file X86ISelLowering.cpp.
References isZero().
Referenced by getAtomicLoadArithTargetConstant(), getNumOfConsecutiveZeros(), isZeroShuffle(), LowerBuildVectorv4x32(), lowerIntegerElementInsertionVectorShuffle(), lowerV4F32VectorShuffle(), OptimizeConditionalInDecrement(), and PerformADCCombine().