| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NativeSymbolEnumerator.cpp | 83 assert(Record.Value.isSignedIntN(BT.getLength() * 8)); in getValue()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelDAGToDAG.cpp | 562 if (( Signed && ImmValue.isSignedIntN(ImmBitSize)) || in selectVSplatCommon() 1132 if (SplatValue.isSignedIntN(10)) { in trySelect() 1137 } else if (SplatValue.isSignedIntN(16) && in trySelect() 1167 } else if (SplatValue.isSignedIntN(32) && SplatBitSize == 32) { in trySelect() 1188 } else if (SplatValue.isSignedIntN(32) && SplatBitSize == 64 && in trySelect() 1216 } else if (SplatValue.isSignedIntN(64)) { in trySelect()
|
| H A D | MipsInstructionSelector.cpp | 161 if (Imm.isSignedIntN(16)) { in materialize32BitImm() 457 if (OffsetValue.isSignedIntN(16)) { in select()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APSInt.h | 94 return isSigned() ? isSignedIntN(64) : isIntN(63); in isRepresentableByInt64()
|
| H A D | APInt.h | 427 bool isSignedIntN(unsigned N) const { return getSignificantBits() <= N; } in isSignedIntN() function
|
| /openbsd-src/gnu/llvm/lldb/source/Utility/ |
| H A D | Scalar.cpp | 658 fits = integer.isSignedIntN(byte_size * 8); in SetValueFromCString()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 1082 return Value.isSignedIntN(32) && ImmSet.contains(Value.getZExtValue()); in isValidAsmImmediate()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonConstPropagation.cpp | 2896 if (!constToInt(L.Value, A) || !A.isSignedIntN(64)) in rewriteHexConstDefs() 2916 if (A.isSignedIntN(8)) { in rewriteHexConstDefs() 3018 if (!constToInt(LI.Value, A) || !A.isSignedIntN(8)) in rewriteHexConstUses()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 1330 if (ConstInt.isSignedIntN(16) && ConstInt.srem(4) != 0) in runOnLoop()
|
| H A D | PPCInstrInfo.cpp | 4584 if (III.SignedImm && !ActualValue.isSignedIntN(III.ImmWidth)) in isImmElgibleForForwarding() 5084 if (!ActualValue.isSignedIntN(III.ImmWidth)) in transformToImmFormFedByLI()
|
| H A D | PPCISelLowering.cpp | 16923 if (!ConstNode->getAPIntValue().isSignedIntN(64)) in decomposeMulByConstant() 17843 if (ConstImm.isSignedIntN(32)) { // Flag to handle 32-bit constants. in computeFlagsForAddressComputation() 17848 if (ConstImm.isSignedIntN(34)) // Flag to handle 34-bit constants. in computeFlagsForAddressComputation() 17862 if (ConstImm.isSignedIntN(16)) { in computeFlagsForAddressComputation() 17867 if (ConstImm.isSignedIntN(34)) in computeFlagsForAddressComputation()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/ |
| H A D | RISCVISelLowering.cpp | 1225 return !Mask->getValue().isSignedIntN(12) && Mask->getValue().isPowerOf2(); in isMaskAndCmp0FoldingBeneficial() 8476 if (!ImmValMinus1.isSignedIntN(12)) in combineSubOfBoolean() 10737 if (ShrunkMask.isSignedIntN(12)) in targetShrinkDemandedConstant() 10770 else if (!C->isOpaque() && MinSignedBits <= 32 && !ShrunkMask.isSignedIntN(32)) in targetShrinkDemandedConstant() 14041 if (Subtarget.hasStdExtZba() && !Imm.isSignedIntN(12) && in decomposeMulByConstant() 14051 if (!Imm.isSignedIntN(12) && Imm.countTrailingZeros() < 12) { in decomposeMulByConstant() 14079 if (C1.isSignedIntN(12) && !(C1 * C2).isSignedIntN(12)) in isMulAddWithConstProfitable()
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | CodeGenPrepare.cpp | 4001 !isIVIncrement(ScaleReg, &LI) && CI->getValue().isSignedIntN(64)) { in matchScaledValue() 4062 if (Offset.isSignedIntN(64)) { in matchScaledValue() 4868 if (CI->getValue().isSignedIntN(64)) { in matchAddr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86ISelDAGToDAG.cpp | 666 if (Imm->getAPIntValue().isSignedIntN(8)) in IsProfitableToFold() 691 (-Imm->getAPIntValue()).isSignedIntN(8)) in IsProfitableToFold() 695 (-Imm->getAPIntValue()).isSignedIntN(8) && in IsProfitableToFold()
|
| H A D | X86TargetTransformInfo.cpp | 5649 if ((Idx == 1) && Imm.getBitWidth() <= 64 && Imm.isSignedIntN(32)) in getIntImmCostIntrin() 5653 if ((Idx < 2) || (Imm.getBitWidth() <= 64 && Imm.isSignedIntN(64))) in getIntImmCostIntrin() 5658 if ((Idx < 4) || (Imm.getBitWidth() <= 64 && Imm.isSignedIntN(64))) in getIntImmCostIntrin()
|
| H A D | X86ISelLowering.cpp | 24208 if ((COp0 && !COp0->getAPIntValue().isSignedIntN(8)) || in EmitCmp() 24209 (COp1 && !COp1->getAPIntValue().isSignedIntN(8))) { in EmitCmp() 25339 if (Op1ValPlusOne.isSignedIntN(32) && in LowerSETCC() 25340 (!Op1Val.isSignedIntN(8) || Op1ValPlusOne.isSignedIntN(8))) { in LowerSETCC() 48125 if (Val.isSignedIntN(DstBitsPerElt)) in combineVectorPack() 54414 if (Mask.isSignedIntN(32)) { in combineCMP() 54923 (V.getConstantOperandAPInt(0).isSignedIntN(32) && in pushAddIntoCmovOfConsts() 54924 V.getConstantOperandAPInt(1).isSignedIntN(32)); in pushAddIntoCmovOfConsts()
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | APInt.cpp | 938 if (isSignedIntN(width)) in truncSSat()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/M68k/ |
| H A D | M68kISelLowering.cpp | 1764 if (!Mask.isSignedIntN(32)) // Avoid large immediates. in EmitTest()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXInstrInfo.td | 833 return v.isSignedIntN(32); 843 return v.isSignedIntN(16);
|
| H A D | NVPTXISelLowering.cpp | 4940 return Val.isSignedIntN(OptSize); in AreMulWideOperandsDemotable()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 4956 if (!IsXReg && !(Simm.isIntN(32) || Simm.isSignedIntN(32))) in parseOperand()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 9474 return Signed ? Result->isSignedIntN(Bits) : Result->isIntN(Bits); in fitsInto()
|