| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/ |
| H A D | LanaiAsmParser.cpp | 213 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Imm.Value); in isBrImm() 230 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value)) { in isHiImm16() 252 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isHiImm16And() 313 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isLoImm16And() 326 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImmShift() 368 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isImm10() 379 const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Value); in isCondCode() 393 else if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(Expr)) in addExpr() 466 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addLoImm16Operands() 490 if (const MCConstantExpr *ConstExpr = dyn_cast<MCConstantExpr>(getImm())) in addLoImm16AndOperands() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/ |
| H A D | X86Operand.h | 232 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti16i8() 246 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti32i8() 260 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i8() 274 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmSExti64i32() 287 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmUnsignedi4() 296 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmUnsignedi8() 437 cast<MCConstantExpr>(getMemDisp())->getValue() == 0; in isSrcIdx() 457 cast<MCConstantExpr>(getMemDisp())->getValue() == 0; in isDstIdx() 563 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr() 640 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemDisp())) in addAbsMemOperands() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/ |
| H A D | ARMAsmParser.cpp | 2618 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addModImmNotOperands() 2625 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addModImmNegOperands() 2632 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addThumbModImmNeg8_255Operands() 2639 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addThumbModImmNeg1_7Operands() 2662 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addFBits16Operands() 2668 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addFBits32Operands() 2674 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addFPImmOperands() 2683 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm8s4Operands() 2691 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm7s4Operands() 2697 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addImm7Shift0Operands() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/ |
| H A D | AVRAsmPrinter.cpp | 294 MCConstantExpr::create(SubTM->getRegTmpIndex(), MMI->getContext())); in emitStartOfAsmFile() 298 MCConstantExpr::create(SubTM->getRegZeroIndex(), MMI->getContext())); in emitStartOfAsmFile() 302 MCConstantExpr::create(SubTM->getIORegSREG(), MMI->getContext())); in emitStartOfAsmFile() 307 MCConstantExpr::create(SubTM->getIORegSPH(), MMI->getContext())); in emitStartOfAsmFile() 311 MCConstantExpr::create(SubTM->getIORegSPL(), MMI->getContext())); in emitStartOfAsmFile() 316 MCConstantExpr::create(SubTM->getIORegEIND(), MMI->getContext())); in emitStartOfAsmFile() 321 MCConstantExpr::create(SubTM->getIORegRAMPZ(), MMI->getContext())); in emitStartOfAsmFile()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonAsmPrinter.cpp | 256 int32_t V = cast<MCConstantExpr>(HE->getExpr())->getValue(); in ScaleVectorOffset() 290 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() 297 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() 304 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() 311 const MCConstantExpr *Zero = MCConstantExpr::create(0, OutContext); in HexagonProcessInstruction() 318 const MCConstantExpr *C255 = MCConstantExpr::create(255, OutContext); in HexagonProcessInstruction() 443 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction() 479 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction() 506 const MCExpr *One = MCConstantExpr::create(1, OutContext); in HexagonProcessInstruction() 525 const MCExpr *MOne = MCConstantExpr::create(-1, OutContext); in HexagonProcessInstruction() [all …]
|
| H A D | HexagonMCInstLower.cpp | 88 ME = MCBinaryExpr::createAdd(ME, MCConstantExpr::create(MO.getOffset(), MC), in GetSymbolRef() 146 MCConstantExpr::create(*Val.bitcastToAPInt().getRawData(), in HexagonLowerToMC() 155 MCConstantExpr::create(MO.getImm(), AP.OutContext), AP.OutContext); in HexagonLowerToMC()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 782 const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(getImm()); in isUImm6() 1143 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(E)) { in isMOVZMovAlias() 1959 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addUImm6Operands() 1966 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addImmScaledOperands() 1979 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmOperands() 1988 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addLogicalImmNotOperands() 1996 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addSIMDImmType10Operands() 2203 const MCConstantExpr *CE = cast<MCConstantExpr>(getImm()); in addMOVNMovAliasOperands() 2210 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationEvenOperands() 2216 const MCConstantExpr *MCE = cast<MCConstantExpr>(getImm()); in addComplexRotationOddOperands() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86TargetObjectFile.cpp | 28 const MCExpr *Four = MCConstantExpr::create(4, getContext()); in getTTypeGlobalReference() 51 const MCExpr *Off = MCConstantExpr::create(FinalOff, getContext()); in getIndirectSymViaGOTPCRel() 66 const MCExpr *Off = MCConstantExpr::create(FinalOffset, getContext()); in getIndirectSymViaGOTPCRel()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCDisassembler/ |
| H A D | MCExternalSymbolizer.cpp | 92 Add = MCConstantExpr::create((int)SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand() 103 Sub = MCConstantExpr::create((int)SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand() 109 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand() 131 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/ |
| H A D | AArch64ExternalSymbolizer.cpp | 180 Add = MCConstantExpr::create(SymbolicOp.AddSymbol.Value, Ctx); in tryAddingSymbolicOperand() 191 Sub = MCConstantExpr::create(SymbolicOp.SubtractSymbol.Value, Ctx); in tryAddingSymbolicOperand() 197 Off = MCConstantExpr::create(SymbolicOp.Value, Ctx); in tryAddingSymbolicOperand() 219 Expr = MCConstantExpr::create(0, Ctx); in tryAddingSymbolicOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCExpr.cpp | 46 auto Value = cast<MCConstantExpr>(*this).getValue(); in print() 47 auto PrintInHex = cast<MCConstantExpr>(*this).useHexFormat(); in print() 48 auto SizeInBytes = cast<MCConstantExpr>(*this).getSizeInBytes(); in print() 118 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print() 129 if (const MCConstantExpr *RHSC = dyn_cast<MCConstantExpr>(BE.getRHS())) { in print() 160 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print() 194 const MCConstantExpr *MCConstantExpr::create(int64_t Value, MCContext &Ctx, in create() 197 return new (Ctx) MCConstantExpr(Value, PrintInHex, SizeInBytes); in create() 579 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) { in evaluateAsAbsolute() 852 Res = MCValue::get(cast<MCConstantExpr>(this)->getValue()); in evaluateAsRelocatableImpl()
|
| H A D | ConstantPools.cpp | 41 const MCConstantExpr *C = dyn_cast<MCConstantExpr>(Value); in addEntry()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/ |
| H A D | XtensaAsmParser.cpp | 83 if (auto *CE = dyn_cast<MCConstantExpr>(Expr)) { in inRange() 146 ((cast<MCConstantExpr>(getImm())->getValue() & 0xFF) == 0); in isImm8_sh8() 155 ((cast<MCConstantExpr>(getImm())->getValue() & 0x3) == 0); in isOffset4m32() 162 ((cast<MCConstantExpr>(getImm())->getValue() & 0x1) == 0); in isOffset8m16() 167 ((cast<MCConstantExpr>(getImm())->getValue() & 0x3) == 0); in isOffset8m32() 185 if (auto *CE = dyn_cast<MCConstantExpr>(getImm())) { in isB4const() 215 if (auto *CE = dyn_cast<MCConstantExpr>(getImm())) { in isB4constu() 308 if (auto *CE = dyn_cast<MCConstantExpr>(Expr)) { in addExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/MCTargetDesc/ |
| H A D | XCoreInstPrinter.cpp | 58 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(BE->getRHS()); in printExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/ |
| H A D | VEAsmParser.cpp | 236 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isZero() 247 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm0to2() 258 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm1() 269 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm2() 280 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm3() 291 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm4() 302 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm6() 313 if (const auto *ConstExpr = dyn_cast<MCConstantExpr>(Imm.Val)) { in isUImm7() 516 else if (const auto *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr() 682 const auto *ConstExpr = dyn_cast<MCConstantExpr>(Op.getImm()); in MorphToMISCReg() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 397 MCConstantExpr::create(Extended, Context), Context); in addSignedImmOperands() 541 MCConstantExpr::create(Value, getContext()), getContext()))); in canonicalizeImmediates() 690 MCConstantExpr::create(8192 + Res, getContext()), getContext()); in ParseDirectiveSubsection() 709 auto *MCE = cast<MCConstantExpr>(Value); in ParseDirectiveFalign() 1188 Expr, MCConstantExpr::create(16, Context), Context); in parseInstruction() 1191 Expr, MCConstantExpr::create(0xffff, Context), Context); in parseInstruction() 1575 MCConstantExpr::create(s8, Context), Context))); // upper 32 in processInstruction() 1577 MCConstantExpr::create(Lo_32(Value), Context), Context); in processInstruction() 1584 MCConstantExpr::create(0, Context), Context))); // upper 32 in processInstruction() 1702 MCConstantExpr::create(Value * -1, Context), Context)); in processInstruction() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/XCore/ |
| H A D | XCoreMCInstLower.cpp | 72 const MCConstantExpr *OffsetExpr = MCConstantExpr::create(Offset, *Ctx); in LowerSymbolOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARC/ |
| H A D | ARCMCInstLower.cpp | 71 const MCConstantExpr *OffsetExpr = MCConstantExpr::create(Offset, *Ctx); in LowerSymbolOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
| H A D | WinException.cpp | 306 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef() 315 return MCConstantExpr::create(0, Asm->OutContext); in create32bitRef() 326 MCConstantExpr::create(1, Asm->OutContext), in getLabelPlusOne() 340 MCConstantExpr::create(1, Asm->OutContext), in getOffsetPlusOne() 578 MCConstantExpr::create(FuncInfo.SEHSetFrameOffset, Ctx); in emitCSpecificHandlerTable() 589 const MCExpr *EntrySize = MCConstantExpr::create(16, Ctx); in emitCSpecificHandlerTable() 644 ExceptOrNull = MCConstantExpr::create(0, Ctx); in emitSEHActionsForRange() 649 : MCConstantExpr::create(1, Ctx); in emitSEHActionsForRange() 861 FrameAllocOffsetRef = MCConstantExpr::create(Offset, Asm->OutContext); in emitCXXFrameHandler3Table() 863 FrameAllocOffsetRef = MCConstantExpr::create(0, Asm->OutContext); in emitCXXFrameHandler3Table() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYTargetStreamer.cpp | 49 const MCConstantExpr *C = dyn_cast<MCConstantExpr>(Value); in addEntry()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/ |
| H A D | SparcAsmParser.cpp | 292 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) in isCallTarget() 302 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) in isShiftAmtImm5() 312 if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Imm.Val)) in isShiftAmtImm6() 420 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr() 629 ValExpr = MCConstantExpr::create(ImmValue, getContext()); in expandSET() 688 const MCExpr *ValExpr = IsImm ? MCConstantExpr::create(ImmValue, getContext()) in expandSETX() 951 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr); in parseShiftAmtImm() 1079 EVal = MCConstantExpr::create(ImmVal, getContext()); in parseMembarTag() 1214 SparcOperand::CreateImm(MCConstantExpr::create(0, getContext()), in parseOperand()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsMCCodeEmitter.cpp | 237 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue() 259 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValue1SImm16() 282 MO.getExpr(), MCConstantExpr::create(-2, Ctx), Ctx); in getBranchTargetOpValueMMR6() 305 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTargetOpValueLsl2MMR6() 391 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValue() 413 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget21OpValueMM() 435 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget26OpValue() 457 MO.getExpr(), MCConstantExpr::create(-4, Ctx), Ctx); in getBranchTarget26OpValueMM() 588 return cast<MCConstantExpr>(Expr)->getValue(); in getExprOpValue()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/ |
| H A D | AVRAsmParser.cpp | 146 else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr)) in addExpr() 173 const auto *CE = cast<MCConstantExpr>(getImm()); in addImmCom8Operands() 180 const auto *CE = dyn_cast<MCConstantExpr>(getImm()); in isImmCom8() 747 if (MCConstantExpr const *Const = dyn_cast<MCConstantExpr>(Op.getImm())) { in validateTargetOperandClass()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARC/MCTargetDesc/ |
| H A D | ARCInstPrinter.cpp | 112 if (const auto *CE = dyn_cast<MCConstantExpr>(Expr)) { in printExpr() 120 const auto *CE = dyn_cast<MCConstantExpr>(BE->getRHS()); in printExpr()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetObjectFile.cpp | 56 MCConstantExpr::create(0x8000, getContext()), in getDebugThreadLocalSymbol()
|