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

References

lib/MC/ConstantPools.cpp
   44   auto Itr = C ? CachedEntries.find(C->getValue()) : CachedEntries.end();
   53     CachedEntries[C->getValue()] = SymRef;
lib/MC/MCCodeView.cpp
  558                                 ->getValue();
lib/MC/MCExpr.cpp
   47     auto Value = cast<MCConstantExpr>(*this).getValue();
  106         if (RHSC->getValue() < 0) {
  107           OS << RHSC->getValue();
  497     Res = CE->getValue();
  709     Res = MCValue::get(cast<MCConstantExpr>(this)->getValue());
lib/MC/MCParser/AsmParser.cpp
 3057       uint64_t IntValue = MCE->getValue();
 3547         int Value = MCE->getValue();
 3564         int Value = MCE->getValue();
 3784         IsStmt = MCE->getValue();
 4758     uint64_t IntValue = MCE->getValue();
 5694   uint64_t IntValue = MCE->getValue();
 5710   uint64_t IntValue = MCE->getValue();
lib/MC/MachObjectWriter.cpp
   93       return C->getValue();
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
  637     int64_t Val = MCE->getValue();
  670     int64_t Val = MCE->getValue();
  683     int64_t Val = MCE->getValue();
  732     int64_t Val = MCE->getValue();
  743     int64_t Val = MCE->getValue();
  757     int64_t Val = MCE->getValue();
  775         return std::make_pair(CE->getValue(), Width);
  779         int64_t Val = CE->getValue();
  898     return AArch64_AM::isAdvSIMDModImmType10(MCE->getValue());
  908     int64_t Val = MCE->getValue();
  974     uint64_t Value = CE->getValue();
  985     uint64_t Value = CE->getValue();
 1138     uint64_t Value = CE->getValue();
 1389       int64_t Val = CE->getValue();
 1405       int64_t Val = CE->getValue();
 1419       Inst.addOperand(MCOperand::createImm(CE->getValue()));
 1572       Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 12));
 1588     Inst.addOperand(MCOperand::createImm(MCE->getValue() / Scale));
 1594     Inst.addOperand(MCOperand::createImm(MCE->getValue()));
 1601     Inst.addOperand(MCOperand::createImm(MCE->getValue() / Scale));
 1608     typename std::make_unsigned<T>::type Val = MCE->getValue();
 1617     typename std::make_unsigned<T>::type Val = ~MCE->getValue();
 1625     uint64_t encoding = AArch64_AM::encodeAdvSIMDModImmType10(MCE->getValue());
 1640     Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2));
 1654     Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2));
 1668     Inst.addOperand(MCOperand::createImm(MCE->getValue() >> 2));
 1774     uint64_t Value = CE->getValue();
 1783     uint64_t Value = CE->getValue();
 1790     Inst.addOperand(MCOperand::createImm(MCE->getValue() / 90));
 1796     Inst.addOperand(MCOperand::createImm((MCE->getValue() - 90) / 180));
 2382     unsigned prfop = MCE->getValue();
 2389     auto PRFM = LookupByEncoding(MCE->getValue());
 2800       ShOp, MCE->getValue(), true, S, E, getContext()));
 2998     if (MCE->getValue() < 0 || MCE->getValue() > 15) {
 2998     if (MCE->getValue() < 0 || MCE->getValue() > 15) {
 3002     auto DB = AArch64DB::lookupDBByEncoding(MCE->getValue());
 3004         MCE->getValue(), DB ? DB->Name : "", ExprLoc, getContext()));
 3115     Operands.push_back(AArch64Operand::CreateVectorIndex(MCE->getValue(), SIdx,
 3457       cast<MCConstantExpr>(ImmVal)->getValue() != 0) {
 3534             MCConstantExpr::create(MCE->getValue(), getContext()), S, getLoc(),
 3686       uint64_t Imm = (cast<MCConstantExpr>(SubExprVal))->getValue();
 4507         uint64_t Op3Val = Op3CE->getValue();
 4541         uint64_t LSB = LSBCE->getValue();
 4542         uint64_t Width = WidthCE->getValue();
 4597           uint64_t Op3Val = Op3CE->getValue();
 4598           uint64_t Op4Val = Op4CE->getValue();
 4661           uint64_t Op3Val = Op3CE->getValue();
 4662           uint64_t Op4Val = Op4CE->getValue();
 4717           cast<MCConstantExpr>(Op3.getImm())->getValue() == 0) {
 5285     getTargetStreamer().emitInst(Value->getValue());
 5583   if (CE->getValue() == ExpectedVal)
 5738     Pattern = MCE->getValue();
lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp
  225     Imm = C->getValue();
  333         Imm = C->getValue();
lib/Target/ARC/MCTargetDesc/ARCInstPrinter.cpp
  113     OS.write_hex(CE->getValue());
  121     Offset = CE->getValue();
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
  973       return CE->getValue() % 4 == 0;
  982       return CE->getValue() % 2 == 0;
  993       int64_t Val = CE->getValue();
 1008       int64_t Val = CE->getValue();
 1023       int64_t Val = CE->getValue();
 1039       Val = CE->getValue();
 1044       Val = Memory.OffsetImm->getValue();
 1054     int Val = ARM_AM::getFP32Imm(APInt(32, CE->getValue()));
 1063     int64_t Value = CE->getValue();
 1072     int64_t Value = CE->getValue();
 1080     int64_t Value = CE->getValue();
 1117     int64_t Value = -CE->getValue();
 1130     if ((CE->getValue() >> 32) > 0) return false;
 1131     uint32_t Value = -static_cast<uint32_t>(CE->getValue());
 1157     int64_t Value = CE->getValue();
 1167     int64_t Value = CE->getValue();
 1193     return isExpImmValue<shift>(CE->getValue());
 1202     uint64_t OriginalValue = CE->getValue();
 1225     int64_t Value = CE->getValue();
 1243     int64_t Value = CE->getValue();
 1251     int64_t Value = CE->getValue();
 1260     int64_t Value = CE->getValue();
 1270     int64_t Value = CE->getValue();
 1334     int64_t Value = CE->getValue();
 1344     int64_t Value = CE->getValue();
 1352     int64_t Value = CE->getValue();
 1361     int32_t Value = -(int32_t)CE->getValue();
 1369     int32_t Value = -(int32_t)CE->getValue();
 1433     int64_t Val = Memory.OffsetImm->getValue();
 1518     int64_t Val = Memory.OffsetImm->getValue();
 1527     int64_t Val = CE->getValue();
 1545     int64_t Val = Memory.OffsetImm->getValue();
 1560     int64_t Val = CE->getValue();
 1577     int64_t Val = Memory.OffsetImm->getValue();
 1593     int64_t Val = Memory.OffsetImm->getValue();
 1647     int64_t Val = Memory.OffsetImm->getValue();
 1657     int64_t Val = Memory.OffsetImm->getValue();
 1667     int64_t Val = Memory.OffsetImm->getValue();
 1677     int64_t Val = Memory.OffsetImm->getValue();
 1691     int64_t Val = Memory.OffsetImm->getValue();
 1708     int64_t Val = Memory.OffsetImm->getValue();
 1717     int64_t Val = Memory.OffsetImm->getValue();
 1728     int64_t Val = Memory.OffsetImm->getValue();
 1743     int64_t Val = Memory.OffsetImm->getValue();
 1793     int64_t Val = Memory.OffsetImm->getValue();
 1811     int64_t Val = Memory.OffsetImm->getValue();
 1822     int64_t Val = Memory.OffsetImm->getValue();
 1832     int64_t Val = Memory.OffsetImm->getValue();
 1848     int64_t Val = Memory.OffsetImm->getValue();
 1863     int64_t Val = CE->getValue();
 1872     int64_t Val = CE->getValue();
 2107     int64_t Value = CE->getValue();
 2121     unsigned Value = CE->getValue();
 2131     unsigned Value = CE->getValue();
 2143     unsigned Value = CE->getValue();
 2153     unsigned Value = CE->getValue();
 2179     int64_t Value = CE->getValue();
 2235     return isValidNEONi32vmovImm(CE->getValue());
 2243     return isValidNEONi32vmovImm(~CE->getValue());
 2251     uint64_t Value = CE->getValue();
 2264     uint64_t Value = CE->getValue();
 2274     uint64_t Value = CE->getValue();
 2282     uint64_t Value = CE->getValue();
 2327       Inst.addOperand(MCOperand::createImm(CE->getValue()));
 2491     uint32_t Enc = ARM_AM::getSOImmVal(~CE->getValue());
 2498     uint32_t Enc = ARM_AM::getSOImmVal(-CE->getValue());
 2505     uint32_t Val = -CE->getValue();
 2512     uint32_t Val = -CE->getValue();
 2535     Inst.addOperand(MCOperand::createImm(16 - CE->getValue()));
 2541     Inst.addOperand(MCOperand::createImm(32 - CE->getValue()));
 2547     int Val = ARM_AM::getFP32Imm(APInt(32, CE->getValue()));
 2556     Inst.addOperand(MCOperand::createImm(CE->getValue()));
 2564     Inst.addOperand(MCOperand::createImm(CE->getValue()));
 2570     Inst.addOperand(MCOperand::createImm(CE->getValue()));
 2576     Inst.addOperand(MCOperand::createImm(CE->getValue()));
 2582     Inst.addOperand(MCOperand::createImm(CE->getValue()));
 2588     Inst.addOperand(MCOperand::createImm(CE->getValue()));
 2596     Inst.addOperand(MCOperand::createImm(CE->getValue() / 4));
 2604     Inst.addOperand(MCOperand::createImm(-(CE->getValue() / 4)));
 2612     Inst.addOperand(MCOperand::createImm(CE->getValue() / 4));
 2620     Inst.addOperand(MCOperand::createImm(CE->getValue() - 1));
 2628     Inst.addOperand(MCOperand::createImm(CE->getValue() - 1));
 2636     unsigned Imm = CE->getValue();
 2645     int Val = CE->getValue();
 2654     Inst.addOperand(MCOperand::createImm(~(uint32_t)CE->getValue()));
 2662     Inst.addOperand(MCOperand::createImm(-(uint32_t)CE->getValue()));
 2670     Inst.addOperand(MCOperand::createImm(-(uint32_t)CE->getValue()));
 2675       Inst.addOperand(MCOperand::createImm(CE->getValue() >> 2));
 2687         Inst.addOperand(MCOperand::createImm(CE->getValue()));
 2697     Inst.addOperand(MCOperand::createImm(Memory.OffsetImm->getValue()));
 2737     int32_t Imm = Memory.OffsetImm->getValue();
 2753     int Val = CE->getValue();
 2809     int32_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() : 0;
 2831     int32_t Val = CE->getValue();
 2853     int32_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() : 0;
 2882     int32_t Val = CE->getValue();
 2904     int32_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() / 4 : 0;
 2926     int32_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() / 2 : 0;
 2947     int64_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() : 0;
 2963     int64_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() : 0;
 2971     int32_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() / 4 : 0;
 2978     int64_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() : 0;
 2999     int64_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() : 0;
 3014     int64_t Val = Memory.OffsetImm ? Memory.OffsetImm->getValue() : 0;
 3064     int64_t Val = Memory.OffsetImm ? (Memory.OffsetImm->getValue() / 4) : 0;
 3071     int64_t Val = Memory.OffsetImm ? (Memory.OffsetImm->getValue() / 2) : 0;
 3078     int64_t Val = Memory.OffsetImm ? (Memory.OffsetImm->getValue()) : 0;
 3085     int64_t Val = Memory.OffsetImm ? (Memory.OffsetImm->getValue() / 4) : 0;
 3094     int Imm = CE->getValue();
 3105     int Imm = CE->getValue();
 3133     Inst.addOperand(MCOperand::createImm(CE->getValue()));
 3228     Inst.addOperand(MCOperand::createImm(CE->getValue() | 0xe00));
 3235     unsigned Value = CE->getValue();
 3244     unsigned Value = CE->getValue();
 3253     unsigned Value = CE->getValue();
 3262     unsigned Value = CE->getValue();
 3274     unsigned Value = CE->getValue();
 3301     unsigned Value = encodeNeonVMOVImmediate(CE->getValue());
 3319     uint64_t Value = CE->getValue();
 3330     unsigned Value = encodeNeonVMOVImmediate(~CE->getValue());
 3343     uint64_t Value = CE->getValue();
 3352     uint64_t Value = CE->getValue();
 3363     Inst.addOperand(MCOperand::createImm(CE->getValue() / 90));
 3369     Inst.addOperand(MCOperand::createImm((CE->getValue() - 90) / 180));
 3375     unsigned Imm = CE->getValue();
 4007       Imm = CE->getValue();
 4088     Operands.push_back(ARMOperand::CreateVectorIndex(MCE->getValue(),
 4224   if (!CE || CE->getValue() < 0 || CE->getValue() > 255) {
 4224   if (!CE || CE->getValue() < 0 || CE->getValue() > 255) {
 4228   int Val = CE->getValue();
 4477     int64_t Val = CE->getValue();
 4807     int Val = CE->getValue();
 4875     int Val = CE->getValue();
 5082   int Val = CE->getValue();
 5165   int64_t Val = CE->getValue();
 5227   int64_t Val = CE->getValue();
 5285     Imm1 = CE->getValue();
 5344     Imm2 = CE->getValue();
 5382   int64_t LSB = CE->getValue();
 5415   int64_t Width = CE->getValue();
 5512     int32_t Val = CE->getValue();
 5703     switch (CE->getValue()) {
 5762     int32_t Val = CE->getValue();
 5882     int64_t Imm = CE->getValue();
 6060         int32_t Val = CE->getValue();
 8366         (int64_t) (cast<MCConstantExpr>(SubExprVal))->getValue();
10828     Tag = CE->getValue();
10861     IntegerValue = CE->getValue();
11105     Offset = CE->getValue();
11145   getTargetStreamer().emitPad(CE->getValue());
11211       if (Value->getValue() > 0xffff)
11215       if (Value->getValue() > 0xffffffff)
11221       if (Value->getValue() < 0xe800)
11223       else if (Value->getValue() >= 0xe8000000)
11233     getTargetStreamer().emitInst(Value->getValue(), CurSuffix);
11311   if (CE->getValue() < 0 || CE->getValue() >= ARM::EHABI::NUM_PERSONALITY_INDEX)
11311   if (CE->getValue() < 0 || CE->getValue() >= ARM::EHABI::NUM_PERSONALITY_INDEX)
11315   getTargetStreamer().emitPersonalityIndex(CE->getValue());
11336   StackOffset = CE->getValue();
11353     const int64_t Opcode = OC->getValue();
11423     Offset = CE->getValue();
11814         if (CE->getValue() == 0)
11820         if (CE->getValue() == 8)
11826         if (CE->getValue() == 16)
lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp
 1212       const int64_t Value = MCE->getValue();
lib/Target/AVR/AsmParser/AVRAsmParser.cpp
  141       Inst.addOperand(MCOperand::createImm(CE->getValue()));
  168     Inst.addOperand(MCOperand::createImm(~(uint8_t)CE->getValue()));
  175     int64_t Value = CE->getValue();
  703       int64_t RegNum = Const->getValue();
lib/Target/BPF/AsmParser/BPFAsmParser.cpp
  134     return static_cast<const MCConstantExpr *>(Val)->getValue();
  180       Inst.addOperand(MCOperand::createImm(CE->getValue()));
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  706       uint64_t IntValue = MCE->getValue();
lib/Target/Hexagon/HexagonAsmPrinter.cpp
  257     int32_t V = cast<MCConstantExpr>(HE->getExpr())->getValue();
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
  216     int64_t Value = MCE->getValue();
  231       int64_t Value = ConstExpr->getValue();
  254       int64_t Value = ConstExpr->getValue();
  267       int64_t Value = ConstExpr->getValue();
  291       int64_t Value = ConstExpr->getValue();
  315       int64_t Value = ConstExpr->getValue();
  329     int64_t Value = ConstExpr->getValue();
  339       int64_t Value = ConstExpr->getValue();
  371     int64_t Value = ConstExpr->getValue();
  382     uint64_t Value = ConstExpr->getValue();
  395           MCOperand::createImm(static_cast<int32_t>(ConstExpr->getValue())));
  468           MCOperand::createImm(static_cast<int32_t>(ConstExpr->getValue())));
  491       Inst.addOperand(MCOperand::createImm(ConstExpr->getValue() & 0xffff));
  499       Inst.addOperand(MCOperand::createImm(ConstExpr->getValue() >> 16));
  522       Inst.addOperand(MCOperand::createImm(ConstExpr->getValue() >> 16));
  530       Inst.addOperand(MCOperand::createImm(ConstExpr->getValue() & 0x1fffff));
  846     int64_t Value = ConstExpr->getValue();
 1131         Modifies = LPAC::modifiesOp(ConstExpr->getValue());
lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
  137       Inst.addOperand(MCOperand::createImm(CE->getValue()));
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 1013       Inst.addOperand(MCOperand::createImm(CE->getValue()));
 1445     return static_cast<const MCConstantExpr *>(getMemOff())->getValue();
 6450   int64_t Val = MCE->getValue();
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
  599     return cast<MCConstantExpr>(Expr)->getValue();
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 2107     OS << cast<MCConstantExpr>(Expr).getValue();
 2146         if (RHSC->getValue() < 0) {
 2147           OS << RHSC->getValue();
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp
   45     int64_t Res = cast<MCConstantExpr>(E)->getValue();
  653       return CreateImm(CE->getValue(), S, E, IsPPC64);
 1657       uint64_t IntValue = MCE->getValue();
lib/Target/PowerPC/MCTargetDesc/PPCInstPrinter.cpp
  487     O << '+' << ConstExp->getValue();
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  270       Imm = CE->getValue();
 1048       int64_t Imm = CE->getValue();
 1472   Addend = AddendExpr->getValue();
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  349       Inst.addOperand(MCOperand::createImm(CE->getValue()));
lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp
   43     int64_t Value = CE->getValue();
  146       Inst.addOperand(MCOperand::createImm(CE->getValue()));
  784       int64_t Value = CE->getValue();
 1310     int64_t Value = CE->getValue();
lib/Target/X86/AsmParser/X86AsmParser.cpp
  605         return onInteger(CE->getValue(), ErrMsg);
 2315       isa<MCConstantExpr>(Disp) && cast<MCConstantExpr>(Disp)->getValue() == 0)
 2835           cast<MCConstantExpr>(Op1.getImm())->getValue() == 1)
 2840           cast<MCConstantExpr>(Op1.getImm())->getValue() == 1)
 2851         if (CE->getValue() == 3) {
 3408           (isIntN(Size, CE->getValue()) || isUIntN(Size, CE->getValue()))) {
 3408           (isIntN(Size, CE->getValue()) || isUIntN(Size, CE->getValue()))) {
lib/Target/X86/AsmParser/X86Operand.h
  102         if (auto Imm = cast<MCConstantExpr>(Val)->getValue())
  218     return isImmSExti16i8Value(CE->getValue());
  232     return isImmSExti32i8Value(CE->getValue());
  246     return isImmSExti64i8Value(CE->getValue());
  260     return isImmSExti64i32Value(CE->getValue());
  269     return isImmUnsignedi4Value(CE->getValue());
  278     return isImmUnsignedi8Value(CE->getValue());
  379       cast<MCConstantExpr>(getMemDisp())->getValue() == 0;
  399       cast<MCConstantExpr>(getMemDisp())->getValue() == 0;
  491       Inst.addOperand(MCOperand::createImm(CE->getValue()));
  556       Inst.addOperand(MCOperand::createImm(CE->getValue()));
  576       Inst.addOperand(MCOperand::createImm(CE->getValue()));
lib/Target/XCore/MCTargetDesc/XCoreInstPrinter.cpp
   58     Offset = CE->getValue();