| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MipsSEISelDAGToDAG.cpp | 1161 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1170 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1171 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() 1193 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1194 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() 1242 const unsigned Lo = SplatValue.getLoBits(16).getZExtValue(); in trySelect() 1243 const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue(); in trySelect() 1244 const unsigned Higher = SplatValue.lshr(32).getLoBits(16).getZExtValue(); in trySelect() 1245 const unsigned Highest = SplatValue.lshr(48).getLoBits(16).getZExtValue(); in trySelect()
|
| H A D | MipsInstructionSelector.cpp | 151 .addImm(Imm.getLoBits(16).getLimitedValue()); in materialize32BitImm() 155 if (Imm.getLoBits(16).isZero()) { in materialize32BitImm() 164 .addImm(Imm.getLoBits(16).getLimitedValue()); in materialize32BitImm() 172 .addImm(Imm.getLoBits(16).getLimitedValue()); in materialize32BitImm() 614 if (!materialize32BitImm(GPRRegLow, APImm.getLoBits(32).trunc(32), B)) in select()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 496 Bottom0.getLoBits(TrailBitsKnown0) * Bottom1.getLoBits(TrailBitsKnown1); in mul() 500 Res.Zero |= (~BottomKnown).getLoBits(ResultBitsKnown); in mul() 501 Res.One = BottomKnown.getLoBits(ResultBitsKnown); in mul()
|
| H A D | APInt.cpp | 605 APInt APInt::getLoBits(unsigned numBits) const { in getLoBits() function in APInt
|
| /llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/Mips/ |
| H A D | Target.cpp | 118 const uint16_t LoBits = Value.getLoBits(16).getZExtValue(); in loadImmediate()
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenExtract.cpp | 207 if (!M.getLoBits(U).isMask(W)) in INITIALIZE_PASS_DEPENDENCY()
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/ |
| H A D | CSKYInstrInfoF1.td | 62 …"return CurDAG->getTargetConstant(N->getValueAPF().bitcastToAPInt().lshr("#shift#").getLoBits("#wi… 65 …"return CurDAG->getTargetConstant(N->getValueAPF().bitcastToAPInt().lshr("#shift#").getLoBits("#wi…
|
| /llvm-project-15.0.7/llvm/unittests/ADT/ |
| H A D | APIntTest.cpp | 2382 TEST(APIntTest, getLoBits) { in TEST() argument 2385 EXPECT_EQ(0xa, i32.getLoBits(4)); in TEST() 2388 EXPECT_EQ(0xa, i128.getLoBits(4)); in TEST() 3080 EXPECT_EQ(0U, ZW.getLoBits(0).getBitWidth()); in TEST()
|
| H A D | APFloatTest.cpp | 3335 EXPECT_EQ(Payload, QuietPayload.bitcastToAPInt().getLoBits(51)); in TEST() 3575 EXPECT_EQ(Payload, Frac.bitcastToAPInt().getLoBits(51)); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/X86/ |
| H A D | X86InstCombineIntrinsic.cpp | 874 Index = Index.zextOrTrunc(32).getLoBits(2); in simplifyX86vpermilvar() 1993 LaneElts = LaneElts.getLoBits(InnerVWidthPerLane); in simplifyDemandedVectorEltsIntrinsic()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 530 APInt getLoBits(unsigned numBits) const;
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/AsmParser/ |
| H A D | AMDGPUAsmParser.cpp | 1961 static_cast<int16_t>(Literal.getLoBits(16).getSExtValue()), in isInlinableImm() 1966 static_cast<int32_t>(Literal.getLoBits(32).getZExtValue()), in isInlinableImm() 2122 if (Literal.getLoBits(32) != 0) { in addLiteralImmOperand() 2258 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(32).getZExtValue())); in addLiteralImmOperand() 2262 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(16).getZExtValue())); in addLiteralImmOperand() 2277 Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue())); in addKImmFPOperands()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 1406 Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16, in WriteConstantInternal() 1411 Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16, in WriteConstantInternal() 1417 Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16, in WriteConstantInternal()
|
| /llvm-project-15.0.7/llvm/lib/Target/NVPTX/ |
| H A D | NVPTXAsmPrinter.cpp | 1894 uint8_t Byte = Val.getLoBits(8).getZExtValue(); in bufferAggregateConstant()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIFoldOperands.cpp | 930 Imm = Imm.getLoBits(32); in foldOperand()
|
| H A D | SIInstrInfo.cpp | 1864 APInt Lo(32, Imm.getLoBits(32).getZExtValue()); in expandPostRAPseudo() 1928 APInt Lo(32, Imm.getLoBits(32).getZExtValue()); in expandPostRAPseudo() 2204 MovDPP.addImm(Imm.getLoBits(32).getZExtValue()); in expandMovDPP64()
|
| H A D | AMDGPUInstructionSelector.cpp | 264 return MachineOperand::CreateImm(Imm.getLoBits(32).getSExtValue()); in getSubOperand64()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.cpp | 10725 if (Bits.getHiBits(64) == Bits.getLoBits(64)) { in tryAdvSIMDModImm64() 10747 if (Bits.getHiBits(64) == Bits.getLoBits(64)) { in tryAdvSIMDModImm32() 10795 if (Bits.getHiBits(64) == Bits.getLoBits(64)) { in tryAdvSIMDModImm16() 10834 if (Bits.getHiBits(64) == Bits.getLoBits(64)) { in tryAdvSIMDModImm321s() 10865 if (Bits.getHiBits(64) == Bits.getLoBits(64)) { in tryAdvSIMDModImm8() 10886 if (Bits.getHiBits(64) == Bits.getLoBits(64)) { in tryAdvSIMDModImmFP()
|
| /llvm-project-15.0.7/llvm/lib/MC/MCParser/ |
| H A D | AsmParser.cpp | 3223 lo = IntValue.getLoBits(64).getZExtValue(); in parseHexOcta()
|
| H A D | MasmParser.cpp | 3822 lo = IntValue.getLoBits(64).getZExtValue(); in parseHexOcta()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | TargetLowering.cpp | 2185 APInt InputDemandedBits = DemandedBits.getLoBits(ExVTBits); in SimplifyDemandedBits() 2217 APInt MaskLo = DemandedBits.getLoBits(HalfBitWidth).trunc(HalfBitWidth); in SimplifyDemandedBits()
|
| H A D | DAGCombiner.cpp | 7392 return Width.getLoBits(MaskLoBits) == 0; in matchRotateSub()
|
| /llvm-project-15.0.7/clang/lib/Serialization/ |
| H A D | ASTWriter.cpp | 1589 static_cast<uint32_t>(CH.getLoBits(32).getZExtValue()); in WriteInputFiles()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 7899 Result = Result.getLoBits(ArgBits); in SemaBuiltinConstantArgShiftedByte() 7929 Result = Result.getLoBits(ArgBits); in SemaBuiltinConstantArgShiftedByteOrXXFF()
|