Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrAtomics.td148 // i64 (and (i64 (anyext (i32 (atomic_load_zext_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_azext_8 node:$addr)))>;
168 PatFrag<(ops node:$addr), (anyext (i32 (atomic_load_azext_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.h160 KnownBits anyext(unsigned BitWidth) const { in anyext() function
181 return anyext(BitWidth); in anyextOrTrunc()
H A DTargetOpcodes.def53 /// anyext operations on target architectures which support it.
383 /// Generic load (including anyext load)
392 /// Generic indexed load (including anyext load)
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kInstrData.td695 // i16 <- anyext i8
696 def: Pat<(i16 (anyext i8:$src)),
705 // i32 <- anyext i8
706 def: Pat<(i32 (anyext i8:$src)), (MOVZXd32d8 MxDRD8:$src)>;
711 // i32 <- anyext i16
712 def: Pat<(i32 (anyext i16:$src)), (MOVZXd32d16 MxDRD16:$src)>;
H A DM68kInstrControl.td370 def : Pat<(i16 (anyext (i8 (MxSetCC_C MxCONDcs, CCR)))), (SETCS_C16d)>;
371 def : Pat<(i32 (anyext (i8 (MxSetCC_C MxCONDcs, CCR)))), (SETCS_C32d)>;
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonPatterns.td287 def Aext64: PatFrag<(ops node:$Rs), (i64 (anyext node:$Rs))>;
291 def azext: PatFrags<(ops node:$Rs), [(zext node:$Rs), (anyext node:$Rs)]>;
292 def asext: PatFrags<(ops node:$Rs), [(sext node:$Rs), (anyext node:$Rs)]>;
3101 /*anyext*/ L4_add_memopb_io>;
3107 /*anyext*/ L4_add_memoph_io>;
3116 /*anyext*/ L4_sub_memopb_io>;
3122 /*anyext*/ L4_sub_memoph_io>;
3131 /*anyext*/ L4_and_memopb_io>;
3137 /*anyext*/ L4_and_memoph_io>;
3146 /*anyext*/ L4_or_memopb_io>;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrVSX.td2252 (i64 (anyext (i32 (vector_extract v16i8:$A, 0)))), i8));
2254 (i64 (anyext (i32 (vector_extract v16i8:$A, 8)))), i8));
2256 (i64 (anyext (i32 (vector_extract v16i8:$A, 7)))), i8));
2258 (i64 (anyext (i32 (vector_extract v16i8:$A, 15)))), i8));
2274 (i64 (anyext (i32 (vector_extract v8i16:$A, 0)))), i16));
2276 (i64 (anyext (i32 (vector_extract v8i16:$A, 4)))), i16));
2278 (i64 (anyext (i32 (vector_extract v8i16:$A, 3)))), i16));
2280 (i64 (anyext (i32 (vector_extract v8i16:$A, 7)))), i16));
4810 def : Pat<(i64 (anyext (i32 (vector_extract v16i8:$S, i64:$Idx)))),
4813 def : Pat<(i64 (anyext (i32 (vector_extract v8i16:$S, i64:$Idx)))),
[all …]
H A DPPCInstrInfo.td3542 def : Pat<(i32 (anyext i1:$in)),
3544 def : Pat<(i64 (anyext i1:$in)),
3651 def : Pat<(i32 (anyext pattern)),
3654 def : Pat<(i64 (anyext pattern)),
3675 def : Pat<(i32 (anyext (i1 (pfrag i32:$s1, cc)))),
3677 def : Pat<(i64 (anyext (i1 (pfrag i64:$s1, cc)))),
3679 def : Pat<(i64 (anyext (i1 (pfrag i32:$s1, cc)))),
3681 def : Pat<(i32 (anyext (i1 (pfrag i64:$s1, cc)))),
3781 def : Pat<(i32 (anyext (i1 (pfrag i32:$s1, i32:$sa, cc)))),
3783 def : Pat<(i64 (anyext (i1 (pfrag i64:$s1, i32:$sa, cc)))),
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCombine.td137 // (shift x, (zext amt)) -> (shift x, (and (anyext amt), mask)
H A DVOP1Instructions.td1535 (i32 (anyext i16:$src)),
1540 (i64 (anyext i16:$src)),
1560 (i32 (UniformUnaryFrag<anyext> i16:$src)),
1565 (i32 (DivergentUnaryFrag<anyext> i16:$src)),
1570 (i64 (UniformUnaryFrag<anyext> i16:$src)),
1577 (i64 (DivergentUnaryFrag<anyext> i16:$src)),
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrCompiler.td1434 // anyext. Define these to do an explicit zero-extend to
1436 def : Pat<(i16 (anyext GR8 :$src)), (EXTRACT_SUBREG
1438 def : Pat<(i32 (anyext GR8 :$src)), (MOVZX32rr8 GR8 :$src)>;
1441 def : Pat<(i32 (anyext GR16:$src)),
1444 def : Pat<(i64 (anyext GR8 :$src)),
1446 def : Pat<(i64 (anyext GR16:$src)),
1448 def : Pat<(i64 (anyext GR32:$src)),
1457 def : Pat<(i64 (and (anyext def32:$src), 0x00000000FFFFFFFF)),
1766 def : Pat<(i8 (trunc (srl_su (i32 (anyext GR16:$src)), (i8 8)))),
1778 def : Pat<(i32 (anyext (srl_su GR16:$src, (i8 8)))),
[all …]
H A DX86InstrFragments.td516 // It's always safe to treat a anyext i16 load as a i32 load if the i16 is
704 // If this is an anyext of the remainder of an 8-bit sdivrem, use a MOVSX
708 def anyext_sdiv : PatFrag<(ops node:$lhs), (anyext node:$lhs),[{
/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/RISCV/
H A DRISCVGISel.td142 def : Pat<(anyext (i32 GPR:$src)), (COPY GPR:$src)>;
H A DRISCVInstrInfoVSDPatterns.td947 defm : VPatWidenOrDisjoint_VV_VX<anyext, "PseudoVWADDU">;
988 defm : VPatExtendSDNode_V<[zext, anyext], "PseudoVZEXT", "VF2",
992 defm : VPatExtendSDNode_V<[zext, anyext], "PseudoVZEXT", "VF4",
996 defm : VPatExtendSDNode_V<[zext, anyext], "PseudoVZEXT", "VF8",
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.td2194 // anyext i1
2195 def : Pat<(i16 (anyext i1:$a)), (SELP_b16ii -1, 0, $a)>;
2196 def : Pat<(i32 (anyext i1:$a)), (SELP_b32ii -1, 0, $a)>;
2197 def : Pat<(i64 (anyext i1:$a)), (SELP_b64ii -1, 0, $a)>;
2207 // anyext i16
2208 def : Pat<(i32 (anyext i16:$a)), (CVT_u32_u16 $a, CvtNONE)>;
2209 def : Pat<(i64 (anyext i16:$a)), (CVT_u64_u16 $a, CvtNONE)>;
2217 // anyext i32
2218 def : Pat<(i64 (anyext i32:$a)), (CVT_u64_u32 $a, CvtNONE)>;
/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.cpp435 LOI->Known = LOI->Known.anyext(BitWidth); in GetLiveOutRegInfo()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZInstrVector.td1921 def : Pat<(i128 (or (zext GR64:$x), (shl (anyext GR64:$y), (i32 64)))),
1926 def : Pat<(i128 (anyext GR32:$x)), (VLVGP32 GR32:$x, GR32:$x)>;
1927 def : Pat<(i128 (anyext GR64:$x)), (VLVGP GR64:$x, GR64:$x)>;
1980 def : Pat<(i128 (zext8 (anyext GR32:$x))),
1982 def : Pat<(i128 (zext16 (anyext GR32:$x))),
2040 def : Pat<(i128 (sext_inreg (anyext GR32:$x), i8)),
2043 def : Pat<(i128 (sext_inreg (anyext GR32:$x), i16)),
2054 def : Pat<(i128 (sext_inreg (anyext GR32:$x), i8)),
2059 def : Pat<(i128 (sext_inreg (anyext GR32:$x), i16)),
H A DSystemZOperators.td568 def sext8dbl : PatFrag<(ops node:$src), (sext8 (anyext node:$src))>;
569 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/CodeGen/GlobalISel/
H A DGISelValueTracking.cpp441 Known = Known.anyext(BitWidth); in computeKnownBitsImpl()
449 Known = KnownRange.anyext(Known.getBitWidth()); in computeKnownBitsImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFInstrInfo.td1245 // For i32 -> i64 anyext, we don't care about the high bits.
1246 def : Pat<(i64 (anyext GPR32:$src)),
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.td910 // anyext
911 def : Pat<(i16 (anyext GR8:$src)),

12