Home
last modified time | relevance | path

Searched refs:HasInv2Pi (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h1421 bool isInlinableLiteral64(int64_t Literal, bool HasInv2Pi);
1424 bool isInlinableLiteral32(int32_t Literal, bool HasInv2Pi);
1427 bool isInlinableLiteralBF16(int16_t Literal, bool HasInv2Pi);
1430 bool isInlinableLiteralFP16(int16_t Literal, bool HasInv2Pi);
1433 bool isInlinableLiteralBF16(int16_t Literal, bool HasInv2Pi);
1436 bool isInlinableLiteralI16(int32_t Literal, bool HasInv2Pi);
H A DAMDGPUBaseInfo.cpp2551 bool isInlinableLiteral64(int64_t Literal, bool HasInv2Pi) { in isInlinableLiteral64() argument
2565 (Val == 0x3fc45f306dc9c882 && HasInv2Pi); in isInlinableLiteral64()
2568 bool isInlinableLiteral32(int32_t Literal, bool HasInv2Pi) { in isInlinableLiteral32() argument
2591 (Val == 0x3e22f983 && HasInv2Pi); in isInlinableLiteral32()
2594 bool isInlinableLiteralBF16(int16_t Literal, bool HasInv2Pi) { in isInlinableLiteralBF16() argument
2595 if (!HasInv2Pi) in isInlinableLiteralBF16()
2611 bool isInlinableLiteralI16(int32_t Literal, bool HasInv2Pi) { in isInlinableLiteralI16() argument
2612 return isInlinableLiteral32(Literal, HasInv2Pi); in isInlinableLiteralI16()
2615 bool isInlinableLiteralFP16(int16_t Literal, bool HasInv2Pi) { in isInlinableLiteralFP16() argument
2616 if (!HasInv2Pi) in isInlinableLiteralFP16()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1995 static bool isInlineableLiteralOp16(int64_t Val, MVT VT, bool HasInv2Pi) { in isInlineableLiteralOp16() argument
1997 return isInlinableLiteral32(Val, HasInv2Pi); in isInlineableLiteralOp16()
2000 return AMDGPU::isInlinableLiteralFP16(Val, HasInv2Pi); in isInlineableLiteralOp16()
2004 return AMDGPU::isInlinableLiteralBF16(Val, HasInv2Pi); in isInlineableLiteralOp16()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp15592 bool HasInv2Pi = Subtarget->hasInv2PiInlineImm(); in checkAsmConstraintValA() local
15599 return AMDGPU::isInlinableLiteralI16(Val, HasInv2Pi); in checkAsmConstraintValA()
15601 return AMDGPU::isInlinableLiteralFP16(Val, HasInv2Pi); in checkAsmConstraintValA()
15603 return AMDGPU::isInlinableLiteralBF16(Val, HasInv2Pi); in checkAsmConstraintValA()
15612 if ((Size == 32 && AMDGPU::isInlinableLiteral32(Val, HasInv2Pi)) || in checkAsmConstraintValA()
15613 (Size == 64 && AMDGPU::isInlinableLiteral64(Val, HasInv2Pi))) in checkAsmConstraintValA()
H A DSIInstrInfo.cpp4213 bool HasInv2Pi = ST.hasInv2PiInlineImm(); in isInlineConstant() local
4222 AMDGPU::isInlinableLiteralBF16(IntImmVal, HasInv2Pi); in isInlineConstant()
4225 AMDGPU::isInlinableLiteralFP16(IntImmVal, HasInv2Pi); in isInlineConstant()