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

Declarations

include/llvm/ADT/APInt.h
  576   APInt getHiBits(unsigned numBits) const;

References

lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 3144     Known.Zero = Known.Zero.getHiBits(Known.getBitWidth() - Index * EltBitWidth);
 3145     Known.One = Known.One.getHiBits(Known.getBitWidth() - Index * EltBitWidth);
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 1603     APInt MaskHi = DemandedBits.getHiBits(HalfBitWidth).trunc(HalfBitWidth);
lib/IR/AsmWriter.cpp
 1355       Out << format_hex_no_prefix(API.getHiBits(16).getZExtValue(), 4,
 1364       Out << format_hex_no_prefix(API.getHiBits(64).getZExtValue(), 16,
 1370       Out << format_hex_no_prefix(API.getHiBits(64).getZExtValue(), 16,
lib/MC/MCParser/AsmParser.cpp
 3081     hi = IntValue.getHiBits(IntValue.getBitWidth() - 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
  245     return MachineOperand::CreateImm(Imm.getHiBits(32).getSExtValue());
lib/Target/AMDGPU/SIFoldOperands.cpp
  857       Imm = Imm.getHiBits(32);
lib/Target/AMDGPU/SIInstrInfo.cpp
 1432         .addImm(Imm.getHiBits(32).getZExtValue())
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
  589                      .bitcastToAPInt().getHiBits(32).getLimitedValue());
lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp
  259                                      .getHiBits(32)
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
  756         .bitcastToAPInt().getHiBits(32).getLimitedValue());
lib/Target/Mips/MipsInstructionSelector.cpp
  133   if (Imm.getHiBits(16).isNullValue()) {
  141                              .addImm(Imm.getHiBits(16).getLimitedValue());
  153                           .addImm(Imm.getHiBits(16).getLimitedValue());
  497       if (!materialize32BitImm(GPRRegHigh, APImm.getHiBits(32).trunc(32), B))
tools/clang/lib/Serialization/ASTWriter.cpp
 1840         static_cast<uint32_t>(CH.getHiBits(32).getZExtValue());
unittests/ADT/APIntTest.cpp
 2234   EXPECT_EQ(0xc, i32.getHiBits(4));
 2237   EXPECT_EQ(0xc, i128.getHiBits(4));
 2617         EXPECT_TRUE(D.getHiBits(Bits).isNullValue() != Overflow);