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

Declarations

include/llvm/MC/MCExpr.h
  146   static const MCConstantExpr *create(int64_t Value, MCContext &Ctx,

References

lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  635                              MCConstantExpr::create(Size, OutContext));
  980                              MCConstantExpr::create(FrameOffset, OutContext));
 1350       OutStreamer->emitELFSize(Name, MCConstantExpr::create(Size, OutContext));
 2137         Expr, MCConstantExpr::create(Offset, OutContext), OutContext);
 2169     return MCConstantExpr::create(0, Ctx);
 2172     return MCConstantExpr::create(CI->getZExtValue(), Ctx);
 2213     return MCBinaryExpr::createAdd(Base, MCConstantExpr::create(Offset, Ctx),
 2259     const MCExpr *MaskExpr = MCConstantExpr::create(~0ULL >> (64-InBits), Ctx);
 2281               RelocExpr, MCConstantExpr::create(Addend, Ctx), Ctx);
lib/CodeGen/AsmPrinter/WinException.cpp
  300     return MCConstantExpr::create(0, Asm->OutContext);
  309     return MCConstantExpr::create(0, Asm->OutContext);
  318                                  MCConstantExpr::create(1, Asm->OutContext),
  332                                  MCConstantExpr::create(1, Asm->OutContext),
  568         MCConstantExpr::create(FuncInfo.SEHSetFrameOffset, Ctx);
  579   const MCExpr *EntrySize = MCConstantExpr::create(16, Ctx);
  634       ExceptOrNull = MCConstantExpr::create(0, Ctx);
  639                                    : MCConstantExpr::create(1, Ctx);
  841           FrameAllocOffsetRef = MCConstantExpr::create(Offset, Asm->OutContext);
  843           FrameAllocOffsetRef = MCConstantExpr::create(0, Asm->OutContext);
  960                                    MCConstantExpr::create(Offset, Ctx));
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  382   const MCExpr *E = MCConstantExpr::create(Size, getContext());
 1186     MCBinaryExpr::createAdd(BSymExpr, MCConstantExpr::create(Offset, Ctx), Ctx);
lib/MC/MCAsmStreamer.cpp
  964   EmitValue(MCConstantExpr::create(Value, getContext()), Size);
  968   EmitValue(MCConstantExpr::create(Value, getContext(), true), Size);
lib/MC/MCCodeView.cpp
  213                       MCConstantExpr::create(CurrentOffset, Ctx));
  653           MCBinaryExpr::createAdd(SRE, MCConstantExpr::create(Bias, Ctx), Ctx);
lib/MC/MCContext.cpp
  274   Streamer.EmitAssignment(Symbol, MCConstantExpr::create(Val, *this));
lib/MC/MCDisassembler/MCExternalSymbolizer.cpp
   96       Add = MCConstantExpr::create((int)SymbolicOp.AddSymbol.Value, Ctx);
  107       Sub = MCConstantExpr::create((int)SymbolicOp.SubtractSymbol.Value, Ctx);
  113     Off = MCConstantExpr::create(SymbolicOp.Value, Ctx);
  135       Expr = MCConstantExpr::create(0, Ctx);
lib/MC/MCDwarf.cpp
  127     MCConstantExpr::create(IntVal, MCOS.getContext());
  140   const MCExpr *RHS = MCConstantExpr::create(IntVal, Ctx);
lib/MC/MCELFStreamer.cpp
  322       ->setSize(MCConstantExpr::create(Size, getContext()));
lib/MC/MCParser/AsmParser.cpp
 1189     Res = MCConstantExpr::create(IntVal, getContext());
 1220     Res = MCConstantExpr::create(IntVal, getContext());
 1444     Res = MCConstantExpr::create(Value, getContext());
lib/MC/MCStreamer.cpp
  204   emitFill(*MCConstantExpr::create(NumBytes, getContext()), FillValue);
lib/MC/MCWinCOFFStreamer.cpp
  237         MCE, MCConstantExpr::create(Offset, getContext()), getContext());
  256         MCE, MCConstantExpr::create(Offset, getContext()), getContext());
lib/Target/AArch64/AArch64AsmPrinter.cpp
  740         Value, MCConstantExpr::create(2, OutContext), OutContext);
lib/Target/AArch64/AArch64MCInstLower.cpp
  110         Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx);
  182         Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx);
  231         Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx);
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
 2867   const MCExpr *Expr = MCConstantExpr::create(Op1, getContext());
 2875   Expr = MCConstantExpr::create(Op2, getContext());
 3534             MCConstantExpr::create(MCE->getValue(), getContext()), S, getLoc(),
 3695                      MCConstantExpr::create(Imm, Ctx), S, E, Ctx));
 4519         const MCExpr *NewOp3 = MCConstantExpr::create(NewOp3Val, getContext());
 4520         const MCExpr *NewOp4 = MCConstantExpr::create(NewOp4Val, getContext());
 4570         const MCExpr *ImmRExpr = MCConstantExpr::create(ImmR, getContext());
 4571         const MCExpr *ImmSExpr = MCConstantExpr::create(ImmS, getContext());
 4627               MCConstantExpr::create(NewOp3Val, getContext());
 4629               MCConstantExpr::create(NewOp4Val, getContext());
 4685               MCConstantExpr::create(NewOp4Val, getContext());
 5751       AArch64Operand::CreateImm(MCConstantExpr::create(Pattern, getContext()),
lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp
  178       Add = MCConstantExpr::create(SymbolicOp.AddSymbol.Value, Ctx);
  189       Sub = MCConstantExpr::create(SymbolicOp.SubtractSymbol.Value, Ctx);
  195     Off = MCConstantExpr::create(SymbolicOp.Value, Ctx);
  217       Expr = MCConstantExpr::create(0, Ctx);
lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
  116   const MCConstantExpr *One = MCConstantExpr::create(4, Ctx);
  158                                      MCConstantExpr::create(Offset, Ctx), Ctx);
  244       return MCConstantExpr::create(AT.getNullPointerValue(DstAddr),
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
  963         Sym->setVariableValue(MCConstantExpr::create(SgprIndexUnusedMin, *Ctx));
  973         Sym->setVariableValue(MCConstantExpr::create(VgprIndexUnusedMin, *Ctx));
 1126         Sym->setVariableValue(MCConstantExpr::create(ISA.Major, Ctx));
 1128         Sym->setVariableValue(MCConstantExpr::create(ISA.Minor, Ctx));
 1130         Sym->setVariableValue(MCConstantExpr::create(ISA.Stepping, Ctx));
 1134         Sym->setVariableValue(MCConstantExpr::create(ISA.Major, Ctx));
 1136         Sym->setVariableValue(MCConstantExpr::create(ISA.Minor, Ctx));
 1138         Sym->setVariableValue(MCConstantExpr::create(ISA.Stepping, Ctx));
 2284   Sym->setVariableValue(MCConstantExpr::create(0, getContext()));
 2311     Sym->setVariableValue(MCConstantExpr::create(NewMax + 1, getContext()));
lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
  428   EmitNote(Vendor, MCConstantExpr::create(Blob.size(), getContext()), Type,
  458   EmitNote(ElfNote::NoteNameV2, MCConstantExpr::create(8, getContext()),
  478   EmitNote(ElfNote::NoteNameV2, MCConstantExpr::create(DescSZ, getContext()),
  526   SymbolELF->setSize(MCConstantExpr::create(Size, getContext()));
  632       MCConstantExpr::create(sizeof(KernelDescriptor), Context));
lib/Target/ARC/ARCMCInstLower.cpp
   71   const MCConstantExpr *OffsetExpr = MCConstantExpr::create(Offset, *Ctx);
lib/Target/ARM/ARMAsmPrinter.cpp
  921                               MCConstantExpr::create(ACPV->getPCAdjustment(),
  975       Expr = MCBinaryExpr::createAdd(Expr, MCConstantExpr::create(1,OutContext),
 1049         MCConstantExpr::create(4, OutContext), OutContext);
 1051     Expr = MCBinaryExpr::createDiv(Expr, MCConstantExpr::create(2, OutContext),
 1411                                       MCConstantExpr::create(PCAdj, OutContext),
 1444                                       MCConstantExpr::create(PCAdj, OutContext),
lib/Target/ARM/ARMMCInstLower.cpp
   65                                    MCConstantExpr::create(MO.getOffset(),
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 5112   Operands.push_back(ARMOperand::CreateImm(MCConstantExpr::create(Val,
 5517       ARMOperand::CreateImm(MCConstantExpr::create(Val, getContext()), S, E));
 5764       CE = MCConstantExpr::create(std::numeric_limits<int32_t>::min(),
 5955           MCConstantExpr::create(IntVal, getContext()),
 5972         MCConstantExpr::create(Val, getContext()), S,
 6062           ImmVal = MCConstantExpr::create(std::numeric_limits<int32_t>::min(),
 6892           MCConstantExpr::create(ProcessorIMod, getContext()),
 8309       const MCExpr *Const8 = MCConstantExpr::create(8, getContext());
lib/Target/AVR/AVRMCInstLower.cpp
   36         Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx);
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
  399         MCConstantExpr::create(Extended, Context), Context);
  538           MCConstantExpr::create(Value, getContext()), getContext())));
  686         MCConstantExpr::create(8192 + Res, getContext()), getContext());
 1180               Expr, MCConstantExpr::create(16, Context), Context);
 1183               Expr, MCConstantExpr::create(0xffff, Context), Context);
 1346                                 MCConstantExpr::create(1, Context), Context),
 1370                                   MCConstantExpr::create(1, Context), Context),
 1551         HexagonMCExpr::create(MCConstantExpr::create(sVal, Context), Context)));
 1566           MCConstantExpr::create(s8, Context), Context))); // upper 32
 1568           MCConstantExpr::create(Lo_32(Value), Context), Context);
 1575           MCConstantExpr::create(0, Context), Context))); // upper 32
 1623                                 MCConstantExpr::create(1, Context), Context),
 1643                                 MCConstantExpr::create(2, Context), Context),
 1663                                 MCConstantExpr::create(3, Context), Context),
 1693           MCConstantExpr::create(Value * -1, Context), Context));
 1720                                   MCConstantExpr::create(1, Context), Context),
 1758                                   MCConstantExpr::create(1, Context), Context),
 1870                                   MCConstantExpr::create(1, Context), Context),
 1902                                   MCConstantExpr::create(1, Context), Context),
 1916         HexagonMCExpr::create(MCConstantExpr::create(-1, Context), Context)));
 1980         MCOperand::createExpr(MCConstantExpr::create(255, Context)));
lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp
  282               MCOperand::createExpr(MCConstantExpr::create(-1, Context)));
  286               MCOperand::createExpr(MCConstantExpr::create(-1, Context)));
  452               MCOperand::createExpr(MCConstantExpr::create(-1, getContext())));
lib/Target/Hexagon/HexagonAsmPrinter.cpp
  258     auto *NewCE = MCConstantExpr::create(V / int32_t(VectorSize), Ctx);
  291     const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext);
  298     const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext);
  305     const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext);
  312     const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext);
  319     const MCConstantExpr *C255 = MCConstantExpr::create(255, OutContext);
  442     const MCExpr *One = MCConstantExpr::create(1, OutContext);
  478     const MCExpr *One = MCConstantExpr::create(1, OutContext);
  505     const MCExpr *One = MCConstantExpr::create(1, OutContext);
  524       const MCExpr *MOne = MCConstantExpr::create(-1, OutContext);
  528       const MCExpr *Zero = MCConstantExpr::create(0, OutContext);
lib/Target/Hexagon/HexagonMCInstLower.cpp
   88     ME = MCBinaryExpr::createAdd(ME, MCConstantExpr::create(MO.getOffset(), MC),
  134           MCConstantExpr::create(*Val.bitcastToAPInt().getRawData(),
  143           MCConstantExpr::create(MO.getImm(), AP.OutContext), AP.OutContext);
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
  707     const MCExpr *C = MCConstantExpr::create(State.Addend, MCT);
lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp
  136   ELFSymbol->setSize(MCConstantExpr::create(Size, getContext()));
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
   83   MI.addOperand(MCOperand::createExpr(MCConstantExpr::create(Value, Context)));
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
  956           MCConstantExpr::create(OffsetValue, getContext());
 1059           MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc));
 1088           MCConstantExpr::create(CondCode, getContext()), NameLoc, NameLoc));
 1181                         MCConstantExpr::create(LPCC::ICC_T, getContext()),
 1216                         MCConstantExpr::create(LPCC::ICC_T, getContext()),
lib/Target/Lanai/LanaiMCInstLower.cpp
   88         Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx);
lib/Target/MSP430/AsmParser/MSP430AsmParser.cpp
  342     const MCExpr *CCode = MCConstantExpr::create(CondCode, getContext());
  502             MCConstantExpr::create(0, getContext()), StartLoc, EndLoc));
lib/Target/MSP430/MSP430MCInstLower.cpp
  107                                    MCConstantExpr::create(MO.getOffset(), Ctx),
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
 2922                      MCOperand::createExpr(MCConstantExpr::create(
 2948         LoExpr = MCConstantExpr::create(Res.getConstant(), getContext());
 2980           LoExpr = MCConstantExpr::create(Res.getConstant(), getContext());
 6219     IdVal = MCConstantExpr::create(0, getContext());
 6231       IdVal = MCConstantExpr::create(Imm, getContext());
 6453       MCConstantExpr::create(0 - Val, getContext()), S, E, *this));
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
  248       MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
  270       MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
  293       MO.getExpr(), MCConstantExpr::create(-2, Ctx), Ctx);
  316       MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
  402       MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
  424       MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
  446       MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
  468       MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx);
lib/Target/Mips/MipsMCInstLower.cpp
  167     Expr = MCBinaryExpr::createAdd(Expr, MCConstantExpr::create(Offset, *Ctx),
lib/Target/Mips/MipsTargetObjectFile.cpp
  193       Expr, MCConstantExpr::create(0x8000, getContext()), getContext());
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1975     return MCConstantExpr::create(0, Ctx);
 1978     return MCConstantExpr::create(CI->getZExtValue(), Ctx);
 2041     return MCBinaryExpr::createAdd(Base, MCConstantExpr::create(Offset, Ctx),
 2084     const MCExpr *MaskExpr = MCConstantExpr::create(~0ULL >> (64-InBits), Ctx);
lib/Target/PowerPC/PPCAsmPrinter.cpp
  503         TlsRef, MCConstantExpr::create(32768, OutContext), OutContext);
  593                               MCConstantExpr::create(4, OutContext),
  854                                     MCConstantExpr::create(MO.getOffset(),
 1350                             MCConstantExpr::create(0x8000, OutContext),
lib/Target/PowerPC/PPCMCInstLower.cpp
  122         MCBinaryExpr::createAdd(Expr, MCConstantExpr::create(32768, Ctx), Ctx);
  126                                    MCConstantExpr::create(MO.getOffset(), Ctx),
lib/Target/PowerPC/PPCTargetObjectFile.cpp
   55                                  MCConstantExpr::create(0x8000, getContext()),
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
 1321         RISCVOperand::createImm(MCConstantExpr::create(ImmVal, getContext()),
lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp
  350   const MCExpr *Dummy = MCConstantExpr::create(0, Ctx);
lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
  162     const MCConstantExpr *Dummy = MCConstantExpr::create(0, Ctx);
  361     const MCConstantExpr *Dummy = MCConstantExpr::create(0, Ctx);
lib/Target/RISCV/RISCVMCInstLower.cpp
   82         ME, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx);
lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
  533     ValExpr = MCConstantExpr::create(ImmValue, getContext());
  795   EVal = MCConstantExpr::create(ImmVal, getContext());
lib/Target/Sparc/SparcAsmPrinter.cpp
  196       MCOperand imm = MCOperand::createExpr(MCConstantExpr::create(12,
  208       MCOperand imm = MCOperand::createExpr(MCConstantExpr::create(32,
lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp
  277     Expr = MCConstantExpr::create(MO.getImm() + Offset, Ctx);
  285       const MCExpr *OffsetExpr = MCConstantExpr::create(Offset, Ctx);
lib/Target/SystemZ/SystemZAsmPrinter.cpp
  483     const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext);
  496     const MCConstantExpr *ConstExpr = MCConstantExpr::create(2, OutContext);
lib/Target/SystemZ/SystemZMCInstLower.cpp
   73       const MCExpr *OffsetExpr = MCConstantExpr::create(Offset, Ctx);
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  140                                  MCConstantExpr::create(Size, OutContext));
lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
  160         Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx);
lib/Target/X86/AsmParser/X86AsmParser.cpp
 1220   const MCExpr *Disp = MCConstantExpr::create(0, getContext());
 1229   const MCExpr *Disp = MCConstantExpr::create(0, getContext());
 1696       MCConstantExpr::create(rndMode, Parser.getContext());
 1899   const MCExpr *ImmDisp = MCConstantExpr::create(Imm, getContext());
 2219       Disp = MCConstantExpr::create(0, Parser.getContext());
 2622     const MCExpr *ImmOp = MCConstantExpr::create(ComparisonPredicate,
 2663     const MCExpr *ImmOp = MCConstantExpr::create(ComparisonPredicate,
lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp
  118   const MCExpr *Four = MCConstantExpr::create(4, Context);
lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
  312     Expr = MCConstantExpr::create(DispOp.getImm(), Ctx);
  368     Expr = MCBinaryExpr::createAdd(Expr, MCConstantExpr::create(ImmOffset, Ctx),
lib/Target/X86/X86AsmPrinter.cpp
  622         S, MCConstantExpr::create(Feat00Flags, MMI->getContext()));
lib/Target/X86/X86MCInstLower.cpp
  286         Expr, MCConstantExpr::create(MO.getOffset(), Ctx), Ctx);
lib/Target/X86/X86TargetObjectFile.cpp
   35     const MCExpr *Four = MCConstantExpr::create(4, getContext());
   58   const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext());
lib/Target/XCore/XCoreAsmPrinter.cpp
   98                                 MCConstantExpr::create(ATy->getNumElements(),
  154     OutStreamer->emitELFSize(GVSym, MCConstantExpr::create(Size, OutContext));
lib/Target/XCore/XCoreMCInstLower.cpp
   72   const MCConstantExpr *OffsetExpr =  MCConstantExpr::create(Offset, *Ctx);