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

References

lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2633   int64_t GOTPCRelCst = Offset + MV.getConstant();
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
 1159   Offset = -MV.getConstant();
lib/MC/ELFObjectWriter.cpp
 1451   uint64_t C = Target.getConstant();
lib/MC/MCAssembler.cpp
  251   Value = Target.getConstant();
  354     int64_t TargetLocation = Value.getConstant();
  743           MCValue::get(Target.getSymA(), nullptr, Target.getConstant());
lib/MC/MCExpr.cpp
  505   Res = Value.getConstant();
  623   int64_t LHS_Cst = LHS.getConstant();
  737         if (Res.getConstant() == 0 && (!A || !B))
  758       Res = MCValue::get(!Value.getConstant());
  767                          -(uint64_t)Value.getConstant());
  772       Res = MCValue::get(~Value.getConstant());
  817                                    -(uint64_t)RHSValue.getConstant(), Res);
  822                                    RHSValue.getConstant(), Res);
  829     int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant();
  829     int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant();
lib/MC/MCFragment.cpp
  107   uint64_t Offset = Target.getConstant();
lib/MC/MCMachOStreamer.cpp
  205       if (!Res.getSymB() && (SymA.getName() == "" || Res.getConstant() != 0))
lib/MC/MCValue.cpp
   20     OS << getConstant();
   36   if (getConstant())
   37     OS << " + " << getConstant();
lib/MC/MachObjectWriter.cpp
  108     uint64_t Address = Target.getConstant();
lib/MC/WasmObjectWriter.cpp
  435   uint64_t C = Target.getConstant();
lib/MC/WinCOFFObjectWriter.cpp
  743     FixedValue = (OffsetOfRelocation - OffsetOfB) + Target.getConstant();
  745     FixedValue = Target.getConstant();
lib/Target/AArch64/AArch64TargetObjectFile.cpp
   64   assert((Offset+MV.getConstant() == 0) &&
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 5503   Addend = Res.getConstant();
lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp
  108       MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp
  204   Value = Target.getConstant();
lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp
  840     Value = Target.getConstant();
lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp
  416   uint32_t Offset = Target.getConstant();
lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp
   64     Result = evaluateAsInt64(Value.getConstant());
   81     Result = MCValue::get(evaluateAsInt64(Value.getConstant()));
   92     Result = MCValue::get(Sym, Value.getSymB(), Value.getConstant());
lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.cpp
   56       MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 1312     return IsReloc && isShiftedInt<Bits, ShiftAmount>(Res.getConstant());
 1326     return IsReloc && isIntN(PtrBits, Res.getConstant());
 1367     return Success && isShiftedInt<Bits, ShiftLeftAmount>(Res.getConstant());
 2862         Res.getConstant() == 0 && !IsLocalSym) {
 2920       if (Res.getConstant() != 0)
 2923                          Res.getConstant(), getContext())),
 2944       if (Res.getConstant() != 0) {
 2948         LoExpr = MCConstantExpr::create(Res.getConstant(), getContext());
 2952         if (Res.getConstant() < -0x8000 || Res.getConstant() > 0x7fff) {
 2952         if (Res.getConstant() < -0x8000 || Res.getConstant() > 0x7fff) {
 2979         if (Res.getConstant() != 0)
 2980           LoExpr = MCConstantExpr::create(Res.getConstant(), getContext());
 3688       TOut.emitRRI(Inst.getOpcode(), DstReg, TmpReg, Res.getConstant(), IDLoc,
lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp
  144     Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(),
  159     int64_t AbsVal = Res.getConstant();
  214   Res = MCValue::get(Res.getSymA(), Res.getSymB(), Res.getConstant(), getKind());
lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp
   66   Res = evaluateAsInt64(Value.getConstant());
  107     int64_t Result = evaluateAsInt64(Value.getConstant());
  153     Res = MCValue::get(Sym, Value.getSymB(), Value.getConstant());
lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
  145                      Target.getConstant() + (Fixup->getOffset() - AUIPCOffset));
  284   Res = evaluateAsInt64(Value.getConstant());
lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp
  121   Value = Target.getConstant();
  306           switch (-(Target.getConstant() + (1LL << Log2Size))) {
  489                  Target.getConstant();
  537   uint32_t Offset = Target.getConstant();
lib/Target/X86/X86TargetObjectFile.cpp
   55   unsigned FinalOff = Offset+MV.getConstant()+4;