Searched refs:isSafeTruncation (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/ |
H A D | AMDGPUAsmParser.cpp | 1991 static bool isSafeTruncation(int64_t Val, unsigned Size) { in isSafeTruncation() function 2076 if (!isSafeTruncation(Imm.Val, type.getScalarSizeInBits())) { in isInlinableImm() 2113 return isSafeTruncation(Imm.Val, Size); in isLiteralImm() 2361 if (isSafeTruncation(Val, 32) && in addLiteralImmOperand() 2394 if (isSafeTruncation(Val, 16) && in addLiteralImmOperand() 2409 if (isSafeTruncation(Val, 16) && in addLiteralImmOperand() 2425 if (isSafeTruncation(Val, 16) && in addLiteralImmOperand() 2439 assert(isSafeTruncation(Val, 16)); in addLiteralImmOperand() 2446 assert(isSafeTruncation(Val, 16)); in addLiteralImmOperand() 2456 assert(isSafeTruncation(Val, 16)); in addLiteralImmOperand()
|