reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ADT/APInt.h
  584   APInt getLoBits(unsigned numBits) const;

References

lib/Analysis/ValueTracking.cpp
  419   APInt BottomKnown = Bottom0.getLoBits(TrailBitsKnown0) *
  420                       Bottom1.getLoBits(TrailBitsKnown1);
  424   Known.Zero |= (~BottomKnown).getLoBits(ResultBitsKnown);
  425   Known.One |= BottomKnown.getLoBits(ResultBitsKnown);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 6103     return Width.getLoBits(MaskLoBits) == 0;
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1570     APInt InputDemandedBits = DemandedBits.getLoBits(ExVTBits);
 1602     APInt MaskLo = DemandedBits.getLoBits(HalfBitWidth).trunc(HalfBitWidth);
lib/IR/AsmWriter.cpp
 1357       Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16,
 1362       Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16,
 1368       Out << format_hex_no_prefix(API.getLoBits(64).getZExtValue(), 16,
lib/MC/MCParser/AsmParser.cpp
 3082     lo = IntValue.getLoBits(64).getZExtValue();
lib/Target/AArch64/AArch64ISelLowering.cpp
 7136   if (Bits.getHiBits(64) == Bits.getLoBits(64)) {
 7158   if (Bits.getHiBits(64) == Bits.getLoBits(64)) {
 7206   if (Bits.getHiBits(64) == Bits.getLoBits(64)) {
 7245   if (Bits.getHiBits(64) == Bits.getLoBits(64)) {
 7276   if (Bits.getHiBits(64) == Bits.getLoBits(64)) {
 7297   if (Bits.getHiBits(64) == Bits.getLoBits(64)) {
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  243     return MachineOperand::CreateImm(Imm.getLoBits(32).getSExtValue());
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 1580       static_cast<int16_t>(Literal.getLoBits(16).getSExtValue()),
 1585     static_cast<int32_t>(Literal.getLoBits(32).getZExtValue()),
 1729         if (Literal.getLoBits(32) != 0) {
 1852     Inst.addOperand(MCOperand::createImm(Literal.getLoBits(Bitwidth).getZExtValue()));
lib/Target/AMDGPU/SIFoldOperands.cpp
  854       Imm = Imm.getLoBits(32);
lib/Target/AMDGPU/SIInstrInfo.cpp
 1429         .addImm(Imm.getLoBits(32).getZExtValue())
 1592         MovDPP.addImm(Imm.getLoBits(32).getZExtValue());
lib/Target/Hexagon/HexagonGenExtract.cpp
  205     if (!M.getLoBits(U).isMask(W))
lib/Target/Mips/MipsInstructionSelector.cpp
  135                              .addImm(Imm.getLoBits(16).getLimitedValue());
  139   if (Imm.getLoBits(16).isNullValue()) {
  147                              .addImm(Imm.getLoBits(16).getLimitedValue());
  155                           .addImm(Imm.getLoBits(16).getLimitedValue());
  499       if (!materialize32BitImm(GPRRegLow, APImm.getLoBits(32).trunc(32), B))
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
 1053       const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
 1062       const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
 1063       const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue();
 1084       const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
 1085       const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue();
 1133       const unsigned Lo = SplatValue.getLoBits(16).getZExtValue();
 1134       const unsigned Hi = SplatValue.lshr(16).getLoBits(16).getZExtValue();
 1135       const unsigned Higher = SplatValue.lshr(32).getLoBits(16).getZExtValue();
 1136       const unsigned Highest = SplatValue.lshr(48).getLoBits(16).getZExtValue();
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1866       uint16_t float16 = API.getLoBits(16).getZExtValue();
 1923       uint8_t Byte = Val.getLoBits(8).getZExtValue();
lib/Target/X86/X86ISelLowering.cpp
10474         Val = Val.getLoBits(ScalarSizeInBits);
10480         Val = Val.getLoBits(ScalarSizeInBits);
lib/Transforms/InstCombine/InstCombineCalls.cpp
  990     Index = Index.zextOrTrunc(32).getLoBits(2);
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
 1654           LaneElts = LaneElts.getLoBits(InnerVWidthPerLane);
tools/clang/lib/Serialization/ASTWriter.cpp
 1838         static_cast<uint32_t>(CH.getLoBits(32).getZExtValue());
unittests/ADT/APFloatTest.cpp
 3041   EXPECT_EQ(Payload, QuietPayload.bitcastToAPInt().getLoBits(51));
 3281   EXPECT_EQ(Payload, Frac.bitcastToAPInt().getLoBits(51));
unittests/ADT/APIntTest.cpp
 2225   EXPECT_EQ(0xa, i32.getLoBits(4));
 2228   EXPECT_EQ(0xa, i128.getLoBits(4));