Home
last modified time | relevance | path

Searched refs:addExpr (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp256 .addExpr(Lower.getExpr(MI->getOperand(0), in emitInstruction()
278 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_PLT)); in emitInstruction()
386 .addExpr(getTLSGetOffset(MF->getContext())) in emitInstruction()
393 .addExpr(getTLSGetOffset(MF->getContext())) in emitInstruction()
400 .addExpr(getGlobalOffsetTable(MF->getContext())); in emitInstruction()
549 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
564 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
602 MCInstBuilder(SystemZ::EXRL).addReg(LenMinus1Reg).addExpr(Dot)); in emitInstruction()
637 MCInstBuilder(SystemZ::BRCLAsm).addImm(0).addExpr(Dot), STI); in EmitNop()
664 MCInstBuilder(SystemZ::BRASL).addReg(SystemZ::R0D).addExpr(Op), in LowerFENTRY_CALL()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp548 .addExpr(SymVar)); in LowerPATCHPOINT()
636 .addExpr(TlsRef) in EmitTlsCall()
637 .addExpr(SymVar)); in EmitTlsCall()
1139 .addExpr(SymGotTprel)); in emitInstruction()
1198 .addExpr(SymGotTlsL)); in emitInstruction()
1202 .addExpr(SymGotTlsHA)); in emitInstruction()
1238 .addExpr(SymGotTlsGD)); in emitInstruction()
1289 .addExpr(SymGotTlsLD)); in emitInstruction()
1319 .addExpr(SymDtprel)); in emitInstruction()
1353 .addExpr(SymDtprel)); in emitInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/M68k/AsmParser/
H A DM68kAsmParser.cpp155 static void addExpr(MCInst &Inst, const MCExpr *Expr);
290 void M68kOperand::addExpr(MCInst &Inst, const MCExpr *Expr) { in addExpr() function in M68kOperand
343 M68kOperand::addExpr(Inst, Expr); in addImmOperands()
396 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addAddrOperands()
414 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addARIDOperands()
425 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addARIIOperands()
454 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addPCDOperands()
464 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addPCIOperands()
/llvm-project-15.0.7/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp391 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
409 addExpr(Inst, getImm()); in addImmOperands()
414 addExpr(Inst, getImm()); in addBrTargetOperands()
419 addExpr(Inst, getImm()); in addCallTargetOperands()
424 addExpr(Inst, getImm()); in addCondCodeOperands()
430 addExpr(Inst, Expr); in addMemImmOperands()
437 addExpr(Inst, Expr); in addMemRegImmOperands()
458 addExpr(Inst, getImm()); in addImmShiftOperands()
463 addExpr(Inst, getImm()); in addImm10Operands()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp145 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anon4f8b82ce0111::SystemZOperand
305 addExpr(Inst, getImm()); in addImmOperands()
311 addExpr(Inst, Mem.Disp); in addBDAddrOperands()
317 addExpr(Inst, Mem.Disp); in addBDXAddrOperands()
324 addExpr(Inst, Mem.Disp); in addBDLAddrOperands()
325 addExpr(Inst, Mem.Length.Imm); in addBDLAddrOperands()
331 addExpr(Inst, Mem.Disp); in addBDRAddrOperands()
338 addExpr(Inst, Mem.Disp); in addBDVAddrOperands()
344 addExpr(Inst, ImmTLS.Imm); in addImmTLSOperands()
346 addExpr(Inst, ImmTLS.Sym); in addImmTLSOperands()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp341 .addExpr(MCSymbolRefExpr::create(Sym, OutContext))); in LowerHWASAN_CHECK_MEMACCESS()
416 .addExpr(MCSymbolRefExpr::create(HandleMismatchOrPartialSym, in emitHwasanMemaccessSymbols()
441 .addExpr(MCSymbolRefExpr::create(ReturnSym, OutContext)), in emitHwasanMemaccessSymbols()
456 .addExpr(MCSymbolRefExpr::create(HandleMismatchSym, OutContext)), in emitHwasanMemaccessSymbols()
481 .addExpr(MCSymbolRefExpr::create(HandleMismatchSym, OutContext)), in emitHwasanMemaccessSymbols()
505 .addExpr(MCSymbolRefExpr::create(ReturnSym, OutContext)), in emitHwasanMemaccessSymbols()
544 MCInstBuilder(AArch64::B).addExpr(HwasanTagMismatchRef), *STI); in emitHwasanMemaccessSymbols()
552 .addExpr(AArch64MCExpr::create( in emitHwasanMemaccessSymbols()
560 .addExpr(AArch64MCExpr::create( in emitHwasanMemaccessSymbols()
913 .addExpr(LabelExpr)); in LowerJumpTableDest()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCInstBuilder.h55 MCInstBuilder &addExpr(const MCExpr *Val) { in addExpr() function
/llvm-project-15.0.7/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp473 addExpr(Inst, Expr); in addImmOperands()
512 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anone15613a60211::VEOperand
527 addExpr(Inst, getMemOffset()); in addMEMrriOperands()
534 addExpr(Inst, getMemIndex()); in addMEMriiOperands()
535 addExpr(Inst, getMemOffset()); in addMEMriiOperands()
543 addExpr(Inst, getMemOffset()); in addMEMzriOperands()
550 addExpr(Inst, getMemIndex()); in addMEMziiOperands()
551 addExpr(Inst, getMemOffset()); in addMEMziiOperands()
558 addExpr(Inst, getMemOffset()); in addMEMriOperands()
565 addExpr(Inst, getMemOffset()); in addMEMziOperands()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp387 addExpr(Inst, Expr); in addImmOperands()
392 addExpr(Inst, getImm()); in addShiftAmtImm5Operands()
396 addExpr(Inst, getImm()); in addShiftAmtImm6Operands()
399 void addExpr(MCInst &Inst, const MCExpr *Expr) const{ in addExpr() function in __anon07e578c20211::SparcOperand
424 addExpr(Inst, Expr); in addMEMriOperands()
430 addExpr(Inst, Expr); in addMembarTagOperands()
435 addExpr(Inst, getImm()); in addCallTargetOperands()
440 addExpr(Inst, getImm()); in addTailRelocSymOperands()
/llvm-project-15.0.7/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h527 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
559 addExpr(Inst, getImm()); in addAVX512RCOperands()
564 addExpr(Inst, getImm()); in addImmOperands()
599 addExpr(Inst, getMemDisp()); in addMemOperands()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp1047 .addExpr(MBBSymbolExpr) in emitJumpTableInsts()
1381 .addExpr(MCSymbolRefExpr::create(CPISymbol, OutContext)) in emitInstruction()
1397 .addExpr(MCSymbolRefExpr::create(JTIPICSymbol, OutContext)) in emitInstruction()
1448 .addExpr(MCSymbolRefExpr::create(TRegSym, OutContext))); in emitInstruction()
1487 .addExpr(GVSymExpr) in emitInstruction()
1568 auto MCInst = MCInstBuilder(Opc).addExpr(BranchLabel); in emitInstruction()
1589 MCInst.addExpr(BranchTarget); in emitInstruction()
1597 MCInst.addExpr(ElseLabel); in emitInstruction()
1989 .addExpr(SymbolExpr) in emitInstruction()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp1037 .addExpr(Sym) in LowerTlsAddr()
1053 .addExpr(Expr) in LowerTlsAddr()
1058 .addExpr(MCSymbolRefExpr::create(TlsGetAddr, in LowerTlsAddr()
1068 .addExpr(Sym) in LowerTlsAddr()
1076 .addExpr(Sym) in LowerTlsAddr()
1088 .addExpr(Expr) in LowerTlsAddr()
1093 .addExpr(MCSymbolRefExpr::create(TlsGetAddr, in LowerTlsAddr()
1336 .addExpr(Op)); in LowerFENTRY_CALL()
1368 .addExpr(MCSymbolRefExpr::create( in LowerASAN_CHECK_MEMACCESS()
2527 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in emitInstruction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp141 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anonc58108e20111::AVROperand
156 addExpr(Inst, Expr); in addImmOperands()
165 addExpr(Inst, getImm()); in addMemriOperands()
/llvm-project-15.0.7/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp179 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
196 addExpr(Inst, getImm()); in addImmOperands()
/llvm-project-15.0.7/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp234 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anon1ba74a0a0111::LoongArchOperand
248 addExpr(Inst, getImm()); in addImmOperands()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h342 void addExpr(DIELoc &Die, dwarf::Form Form, const MCExpr *Expr);
H A DDwarfCompileUnit.cpp292 addExpr(*Loc, FormAndOp.Form, in addLocationAttribute()
313 addExpr(*Loc, FormAndOp.Form, in addLocationAttribute()
1537 void DwarfCompileUnit::addExpr(DIELoc &Die, dwarf::Form Form, in addExpr() function in DwarfCompileUnit
/llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCCodeEmitter.cpp129 TmpInst = MCInstBuilder(RISCV::AUIPC).addReg(Ra).addExpr(CallExpr); in expandFunctionCall()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp890 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
910 addExpr(Inst, getImm()); in addImmOperands()
2354 Out, MCInstBuilder(RISCV::AUIPC).addOperand(TmpReg).addExpr(SymbolHi)); in emitAuipcInstPair()
2363 .addExpr(RefToLinkTmpLabel)); in emitAuipcInstPair()
2655 .addExpr(Op1.getExpr())); in processInstruction()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp1554 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anone48315620111::AArch64Operand
1685 addExpr(Inst, getImm()); in addImmOperands()
1695 addExpr(Inst, getShiftedImmVal()); in addImmWithOptionalShiftOperands()
1698 addExpr(Inst, getImm()); in addImmWithOptionalShiftOperands()
1722 addExpr(Inst, getImm()); in addAdrpLabelOperands()
1788 addExpr(Inst, getImm()); in addBranchTarget26Operands()
1802 addExpr(Inst, getImm()); in addPCRelLabel19Operands()
1816 addExpr(Inst, getImm()); in addBranchTarget14Operands()
1941 addExpr(Inst, getImm()); in addMOVZMovAliasOperands()
/llvm-project-15.0.7/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp551 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
567 addExpr(Inst, getImm()); in addImmOperands()
/llvm-project-15.0.7/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp2475 addExpr(Inst, getImm()); in addARMBranchTargetOperands()
2480 addExpr(Inst, getImm()); in addThumbBranchTargetOperands()
2669 addExpr(Inst, getImm()); in addImmOperands()
3125 addExpr(Inst, Memory.OffsetImm); in addMemImm8s4OffsetOperands()
3140 addExpr(Inst, Memory.OffsetImm); in addMemImm7s4OffsetOperands()
3158 addExpr(Inst, Memory.OffsetImm); in addMemImmOffsetOperands()
3171 addExpr(Inst, getImm()); in addMemUImm12OffsetOperands()
3178 addExpr(Inst, Memory.OffsetImm); in addMemUImm12OffsetOperands()
3185 addExpr(Inst, getImm()); in addMemImm12OffsetOperands()
3192 addExpr(Inst, Memory.OffsetImm); in addMemImm12OffsetOperands()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsAsmPrinter.cpp1217 .addExpr(TargetExpr)); in EmitSled()
/llvm-project-15.0.7/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp1048 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anon03c4d4620211::MipsOperand
1222 addExpr(Inst, getImm()); in addSImmOperands()
1231 addExpr(Inst, getImm()); in addUImmOperands()
1250 addExpr(Inst, Expr); in addImmOperands()
1261 addExpr(Inst, Expr); in addMemOperands()
1270 addExpr(Inst, Expr); in addMicroMipsMemOperands()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp7487 BinaryOperator *addExpr = BinaryOperator::Create( in RewriteObjCIvarRefExpr() local
7494 addExpr); in RewriteObjCIvarRefExpr()

12