Home
last modified time | relevance | path

Searched refs:anyext (Results 1 – 25 of 48) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrAtomics.td148 // i64 (and (i64 (anyext (i32 (atomic_load_8)))), 255)
162 // match bare subword loads (for 32-bit results) and anyext loads (for 64-bit
166 PatFrag<(ops node:$addr), (anyext (i32 (atomic_load_8 node:$addr)))>;
168 PatFrag<(ops node:$addr), (anyext (i32 (atomic_load_16 node:$addr)))>;
381 // load patterns above. We match subword RMWs (for 32-bit) and anyext RMWs (for
389 (anyext (i32 (kind node:$addr, (i32 (trunc (i64 node:$val))))))>;
493 // additional nodes such as anyext or assertzext depending on operand types.
511 // We match subword RMWs (for 32-bit) and anyext RMWs (for 64-bit) and select a
520 (anyext (i32 (assertzext (i32
H A DWebAssemblyInstrConv.td54 def : Pat<(i64 (anyext I32:$src)), (I64_EXTEND_U_I32 I32:$src)>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DKnownBits.h156 KnownBits anyext(unsigned BitWidth) const { in anyext() function
177 return anyext(BitWidth); in anyextOrTrunc()
H A DTargetOpcodes.def53 /// anyext operations on target architectures which support it.
369 /// Generic load (including anyext load)
378 /// Generic indexed load (including anyext load)
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrData.td633 // i16 <- anyext i8
634 def: Pat<(i16 (anyext i8:$src)),
643 // i32 <- anyext i8
644 def: Pat<(i32 (anyext i8:$src)), (MOVZXd32d8 MxDRD8:$src)>;
649 // i32 <- anyext i16
650 def: Pat<(i32 (anyext i16:$src)), (MOVZXd32d16 MxDRD16:$src)>;
H A DM68kInstrControl.td357 def : Pat<(i16 (anyext (i8 (MxSetCC_C MxCONDcs, CCR)))), (SETCS_C16d)>;
358 def : Pat<(i32 (anyext (i8 (MxSetCC_C MxCONDcs, CCR)))), (SETCS_C32d)>;
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonPatterns.td279 def Aext64: PatFrag<(ops node:$Rs), (i64 (anyext node:$Rs))>;
283 def azext: PatFrags<(ops node:$Rs), [(zext node:$Rs), (anyext node:$Rs)]>;
284 def asext: PatFrags<(ops node:$Rs), [(sext node:$Rs), (anyext node:$Rs)]>;
3068 /*anyext*/ L4_add_memopb_io>;
3074 /*anyext*/ L4_add_memoph_io>;
3083 /*anyext*/ L4_sub_memopb_io>;
3089 /*anyext*/ L4_sub_memoph_io>;
3098 /*anyext*/ L4_and_memopb_io>;
3104 /*anyext*/ L4_and_memoph_io>;
3113 /*anyext*/ L4_or_memopb_io>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrVSX.td2254 (i64 (anyext (i32 (vector_extract v16i8:$A, 0)))), i8));
2256 (i64 (anyext (i32 (vector_extract v16i8:$A, 8)))), i8));
2258 (i64 (anyext (i32 (vector_extract v16i8:$A, 7)))), i8));
2260 (i64 (anyext (i32 (vector_extract v16i8:$A, 15)))), i8));
2276 (i64 (anyext (i32 (vector_extract v8i16:$A, 0)))), i16));
2278 (i64 (anyext (i32 (vector_extract v8i16:$A, 4)))), i16));
2280 (i64 (anyext (i32 (vector_extract v8i16:$A, 3)))), i16));
2282 (i64 (anyext (i32 (vector_extract v8i16:$A, 7)))), i16));
4804 def : Pat<(i64 (anyext (i32 (vector_extract v16i8:$S, i64:$Idx)))),
4807 def : Pat<(i64 (anyext (i32 (vector_extract v8i16:$S, i64:$Idx)))),
[all …]
H A DPPCInstrInfo.td3502 def : Pat<(i32 (anyext i1:$in)),
3504 def : Pat<(i64 (anyext i1:$in)),
3611 def : Pat<(i32 (anyext pattern)),
3614 def : Pat<(i64 (anyext pattern)),
3635 def : Pat<(i32 (anyext (i1 (pfrag i32:$s1, cc)))),
3637 def : Pat<(i64 (anyext (i1 (pfrag i64:$s1, cc)))),
3639 def : Pat<(i64 (anyext (i1 (pfrag i32:$s1, cc)))),
3641 def : Pat<(i32 (anyext (i1 (pfrag i64:$s1, cc)))),
3741 def : Pat<(i32 (anyext (i1 (pfrag i32:$s1, i32:$sa, cc)))),
3743 def : Pat<(i64 (anyext (i1 (pfrag i64:$s1, i32:$sa, cc)))),
[all …]
H A DPPCInstrP10.td1962 def : Pat<(i32 (anyext pattern)),
1964 def : Pat<(i64 (anyext pattern)),
2022 def : Pat<(i32 (anyext i1:$in)),
2024 def : Pat<(i64 (anyext i1:$in)),
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp405 Known = Known.anyext(BitWidth); in computeKnownBitsImpl()
413 Known = KnownRange.anyext(Known.getBitWidth()); in computeKnownBitsImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrCompiler.td1413 // anyext. Define these to do an explicit zero-extend to
1415 def : Pat<(i16 (anyext GR8 :$src)), (EXTRACT_SUBREG
1417 def : Pat<(i32 (anyext GR8 :$src)), (MOVZX32rr8 GR8 :$src)>;
1420 def : Pat<(i32 (anyext GR16:$src)),
1423 def : Pat<(i64 (anyext GR8 :$src)),
1425 def : Pat<(i64 (anyext GR16:$src)),
1427 def : Pat<(i64 (anyext GR32:$src)),
1436 def : Pat<(i64 (and (anyext def32:$src), 0x00000000FFFFFFFF)),
1745 def : Pat<(i8 (trunc (srl_su (i32 (anyext GR16:$src)), (i8 8)))),
1757 def : Pat<(i32 (anyext (srl_su GR16:$src, (i8 8)))),
[all …]
H A DX86InstrFragments.td508 // It's always safe to treat a anyext i16 load as a i32 load if the i16 is
678 // If this is an anyext of the remainder of an 8-bit sdivrem, use a MOVSX
682 def anyext_sdiv : PatFrag<(ops node:$lhs), (anyext node:$lhs),[{
H A DX86InstrMMX.td533 (i32 (anyext (loadi16 addr:$src2))),
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrInfo.td1717 def : Pat<(i64 (anyext i32:$sy)), (i2l $sy)>;
1806 def : Pat<(i64 (sext_inreg (i64 (anyext (from ADDRrri:$addr))), TY)),
1808 def : Pat<(i64 (sext_inreg (i64 (anyext (from ADDRrii:$addr))), TY)),
1810 def : Pat<(i64 (sext_inreg (i64 (anyext (from ADDRzri:$addr))), TY)),
1812 def : Pat<(i64 (sext_inreg (i64 (anyext (from ADDRzii:$addr))), TY)),
1836 def : Pat<(i64 (and (anyext (from ADDRrri:$addr)), VAL)),
1838 def : Pat<(i64 (and (anyext (from ADDRrii:$addr)), VAL)),
1840 def : Pat<(i64 (and (anyext (from ADDRzri:$addr)), VAL)),
1842 def : Pat<(i64 (and (anyext (from ADDRzii:$addr)), VAL)),
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcInstr64Bit.td20 // This give us free trunc and anyext.
21 def : Pat<(i64 (anyext i32:$val)), (COPY_TO_REGCLASS $val, I64Regs)>;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFunctionLoweringInfo.cpp430 LOI->Known = LOI->Known.anyext(BitWidth); in GetLiveOutRegInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrVector.td1553 def : Pat<(i128 (or (zext GR64:$x), (shl (anyext GR64:$y), (i32 64)))),
1558 def : Pat<(i128 (anyext GR32:$x)), (VLVGP32 GR32:$x, GR32:$x)>;
1559 def : Pat<(i128 (anyext GR64:$x)), (VLVGP GR64:$x, GR64:$x)>;
1612 def : Pat<(i128 (zext8 (anyext GR32:$x))),
1614 def : Pat<(i128 (zext16 (anyext GR32:$x))),
1648 def : Pat<(i128 (sext_inreg (anyext GR32:$x), i8)),
1653 def : Pat<(i128 (sext_inreg (anyext GR32:$x), i16)),
H A DSystemZOperators.td533 def sext8dbl : PatFrag<(ops node:$src), (sext8 (anyext node:$src))>;
534 def sext16dbl : PatFrag<(ops node:$src), (sext16 (anyext node:$src))>;
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DSelectionDAGCompat.td49 def : GINodeEquiv<G_ANYEXT, anyext>;
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZb.td792 def : Pat<(and (anyext (or (shl GPR:$rs2, (XLenVT 8)),
828 def : Pat<(i64 (and (anyext (i32 (shiftop<srl> GPR:$rs1, (i64 GPR:$rs2)))), 1)),
H A DRISCVInstrInfoVSDPatterns.td989 defm : VPatExtendSDNode_V<[zext, anyext], "PseudoVZEXT", "VF2",
993 defm : VPatExtendSDNode_V<[zext, anyext], "PseudoVZEXT", "VF4",
997 defm : VPatExtendSDNode_V<[zext, anyext], "PseudoVZEXT", "VF8",
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.td3465 // anyext i1
3466 def : Pat<(i16 (anyext Int1Regs:$a)),
3468 def : Pat<(i32 (anyext Int1Regs:$a)),
3470 def : Pat<(i64 (anyext Int1Regs:$a)),
3485 // anyext i16
3486 def : Pat<(i32 (anyext Int16Regs:$a)),
3488 def : Pat<(i64 (anyext Int16Regs:$a)),
3499 // anyext i32
3500 def : Pat<(i64 (anyext Int32Regs:$a)),
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFInstrInfo.td1099 // For i32 -> i64 anyext, we don't care about the high bits.
1100 def : Pat<(i64 (anyext GPR32:$src)),
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.td960 // anyext
961 def : Pat<(i16 (anyext GR8:$src)),

12