13 #ifndef LLVM_LIB_TARGET_X86_X86INTRINSICSINFO_H 14 #define LLVM_LIB_TARGET_X86_X86INTRINSICSINFO_H 18 #include "llvm/IR/IntrinsicsX86.h" 24 GATHER,
SCATTER,
PREFETCH,
RDSEED,
RDRAND,
RDPMC,
RDTSC,
XTEST,
XGETBV,
ADX,
FPCLASSS,
60 #define X86_INTRINSIC_DATA(id, type, op0, op1) \ 61 { Intrinsic::x86_##id, type, op0, op1 } 111 X86::VGATHERPF0DPDm, X86::VGATHERPF1DPDm),
113 X86::VGATHERPF0DPSm, X86::VGATHERPF1DPSm),
115 X86::VGATHERPF0QPDm, X86::VGATHERPF1QPDm),
117 X86::VGATHERPF0QPSm, X86::VGATHERPF1QPSm),
295 X86::VSCATTERPF1DPDm),
297 X86::VSCATTERPF1DPSm),
299 X86::VSCATTERPF1QPDm),
301 X86::VSCATTERPF1QPSm),
330 if (Data !=
std::end(IntrinsicsWithChain) && Data->
Id == IntNo)
1154 if (Data !=
std::end(IntrinsicsWithoutChain) && Data->
Id == IntNo)
1161 std::end(IntrinsicsWithoutChain)) &&
1162 std::is_sorted(
std::begin(IntrinsicsWithChain),
1164 "Intrinsic data tables should be sorted by Intrinsic ID");
1166 std::end(IntrinsicsWithoutChain)) ==
1167 std::end(IntrinsicsWithoutChain)) &&
1168 (std::adjacent_find(
std::begin(IntrinsicsWithChain),
1171 "Intrinsic data tables should have unique entries");
bool operator<(const IntrinsicData &RHS) const
auto lower_bound(R &&Range, T &&Value) -> decltype(adl_begin(Range))
Provide wrappers to std::lower_bound which take ranges instead of having to pass begin/end explicitly...
const_iterator end(StringRef path)
Get end iterator over path.
Vector comparison generating mask bits for fp and integer signed and unsigned data types...
const_iterator begin(StringRef path, Style style=Style::native)
Get begin iterator over path.
This class represents lattice values for constants.
Compute Double Block Packed Sum-Absolute-Differences.
SSE4A Extraction and Insertion.
Dynamic (non-constant condition) vector blend where only the sign bits of the condition elements are ...
Integer horizontal add/sub.
X86 FP SETCC, similar to above, but with output as an i1 mask and and a version with SAE...
[SU]INT_TO_FP - These operators convert integers (whose interpreted sign depends on the first letter)...
static const IntrinsicData IntrinsicsWithChain[]
Floating point horizontal add/sub.
static const IntrinsicData * getIntrinsicWithChain(unsigned IntNo)
static const IntrinsicData IntrinsicsWithoutChain[]
Simple binary floating point operators.
Insert any element of a 4 x float vector into any element of a destination 4 x floatvector.
X = FP_EXTEND(Y) - Extend a smaller FP type into a larger FP type.
Floating point max and min.
friend bool operator<(const IntrinsicData &LHS, unsigned Id)
Floating point reciprocal-sqrt and reciprocal approximation.
static void verifyIntrinsicTables()
bool operator==(const IntrinsicData &RHS) const
#define X86_INTRINSIC_DATA(id, type, op0, op1)
Combined add and sub on an FP vector.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
FMA - Perform a * b + c with no intermediate rounding step.
static const IntrinsicData * getIntrinsicWithoutChain(unsigned IntNo)
Compute Sum of Absolute Differences.
TRUNCATE - Completely drop the high bits.
Scalar intrinsic floating point max and min.
Shuffle 16 8-bit values within a vector.
MULHU/MULHS - Multiply high - Multiply two integers of type iN, producing an unsigned/signed value of...