Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZAsmPrinter.cpp307 .addExpr(Lower.getExpr(MI->getOperand(0), in emitInstruction()
366 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_PLT)); in emitInstruction()
377 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_PLT)); in emitInstruction()
384 .addExpr(Lower.getExpr(MI->getOperand(2), MCSymbolRefExpr::VK_PLT)); in emitInstruction()
474 .addExpr(getTLSGetOffset(MF->getContext())) in emitInstruction()
475 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_TLSGD)); in emitInstruction()
481 .addExpr(getTLSGetOffset(MF->getContext())) in emitInstruction()
482 .addExpr(Lower.getExpr(MI->getOperand(0), MCSymbolRefExpr::VK_TLSLDM)); in emitInstruction()
488 .addExpr(getGlobalOffsetTable(MF->getContext())); in emitInstruction()
632 .addExpr(MCBinaryExpr::createAdd(Expr, ConstExpr, OutContext)); in emitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCAsmPrinter.cpp636 .addExpr(SymVar)); in LowerPATCHPOINT()
683 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BLA).addExpr(TlsRef)); in EmitAIXTlsCallHelper()
746 .addExpr(TlsRef) in EmitTlsCall()
747 .addExpr(SymVar)); in EmitTlsCall()
953 EmitToStreamer(*OutStreamer, MCInstBuilder(PPC::BL).addExpr(OffsExpr)); in emitInstruction()
969 .addExpr(MCSymbolRefExpr::create(PICBase, OutContext))); in emitInstruction()
998 MCInstBuilder(PPC::ADDIS).addReg(PICR).addReg(PICR).addExpr(DeltaHi)); in emitInstruction()
1003 MCInstBuilder(PPC::ADDI).addReg(PICR).addReg(PICR).addExpr(DeltaLo)); in emitInstruction()
1356 .addExpr(SymGotTprel)); in emitInstruction()
1386 .addExpr(MCSymbolRefExpr::create(NextInstr, OutContext))); in emitInstruction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp395 addExpr(Inst, Expr); in addImmOperands()
400 addExpr(Inst, getImm()); in addShiftAmtImm5Operands()
404 addExpr(Inst, getImm()); in addShiftAmtImm6Operands()
407 void addExpr(MCInst &Inst, const MCExpr *Expr) const{ in addExpr() function in __anonebada3920211::SparcOperand
432 addExpr(Inst, Expr); in addMEMriOperands()
448 addExpr(Inst, Expr); in addMembarTagOperands()
453 addExpr(Inst, getImm()); in addCallTargetOperands()
458 addExpr(Inst, getImm()); in addTailRelocSymOperands()
741 .addExpr(ValExpr)); in expandSETX()
751 .addExpr(adjustPICRelocation(SparcMCExpr::VK_Sparc_HI, ValExpr))); in expandSETX()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/AsmParser/
H A DLanaiAsmParser.cpp389 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
407 addExpr(Inst, getImm()); in addImmOperands()
412 addExpr(Inst, getImm()); in addBrTargetOperands()
417 addExpr(Inst, getImm()); in addCallTargetOperands()
422 addExpr(Inst, getImm()); in addCondCodeOperands()
428 addExpr(Inst, Expr); in addMemImmOperands()
435 addExpr(Inst, Expr); in addMemRegImmOperands()
456 addExpr(Inst, getImm()); in addImmShiftOperands()
461 addExpr(Inst, getImm()); in addImm10Operands()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/AsmParser/
H A DM68kAsmParser.cpp152 static void addExpr(MCInst &Inst, const MCExpr *Expr);
301 void M68kOperand::addExpr(MCInst &Inst, const MCExpr *Expr) { in addExpr() function in M68kOperand
354 M68kOperand::addExpr(Inst, Expr); in addImmOperands()
423 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addAddrOperands()
441 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addARIDOperands()
452 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addARIIOperands()
481 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addPCDOperands()
491 M68kOperand::addExpr(Inst, MemOp.OuterDisp); in addPCIOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MCInstLower.cpp579 .addExpr(Sym) in LowerTlsAddr()
586 .addExpr(Expr) in LowerTlsAddr()
597 .addExpr(Sym) in LowerTlsAddr()
613 .addExpr(Expr) in LowerTlsAddr()
618 .addExpr(MCSymbolRefExpr::create(TlsGetAddr, in LowerTlsAddr()
628 .addExpr(Sym) in LowerTlsAddr()
636 .addExpr(Sym) in LowerTlsAddr()
648 .addExpr(Expr) in LowerTlsAddr()
653 .addExpr(MCSymbolRefExpr::create(TlsGetAddr, in LowerTlsAddr()
895 .addExpr(Op)); in LowerFENTRY_CALL()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVAsmPrinter.cpp527 EmitToStreamer(*OutStreamer, MCInstBuilder(RISCV::PseudoCALL).addExpr(Expr)); in LowerHWASAN_CHECK_MEMACCESS()
607 .addExpr(MCSymbolRefExpr::create(Pass, OutContext))); in LowerKCFI_CHECK()
684 .addExpr(MCSymbolRefExpr::create(HandleMismatchOrPartialSym, in EmitHwasanMemaccessSymbols()
706 .addExpr(MCSymbolRefExpr::create(HandleMismatchSym, OutContext)), in EmitHwasanMemaccessSymbols()
723 .addExpr(MCSymbolRefExpr::create(HandleMismatchSym, OutContext)), in EmitHwasanMemaccessSymbols()
736 .addExpr(MCSymbolRefExpr::create(ReturnSym, OutContext)), in EmitHwasanMemaccessSymbols()
818 OutStreamer->emitInstruction(MCInstBuilder(RISCV::PseudoCALL).addExpr(Expr), in EmitHwasanMemaccessSymbols()
/freebsd/contrib/llvm-project/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 __anon944a62760211::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()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp146 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anonde0c959e0111::SystemZOperand
306 addExpr(Inst, getImm()); in addImmOperands()
312 addExpr(Inst, Mem.Disp); in addBDAddrOperands()
318 addExpr(Inst, Mem.Disp); in addBDXAddrOperands()
325 addExpr(Inst, Mem.Disp); in addBDLAddrOperands()
326 addExpr(Inst, Mem.Length.Imm); in addBDLAddrOperands()
332 addExpr(Inst, Mem.Disp); in addBDRAddrOperands()
339 addExpr(Inst, Mem.Disp); in addBDVAddrOperands()
345 addExpr(Inst, ImmTLS.Imm); in addImmTLSOperands()
347 addExpr(Inst, ImmTLS.Sym); in addImmTLSOperands()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstBuilder.h61 MCInstBuilder &addExpr(const MCExpr *Val) { in addExpr() function
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/AsmParser/
H A DLoongArchAsmParser.cpp580 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anon571544da0111::LoongArchOperand
594 addExpr(Inst, getImm()); in addImmOperands()
840 Out.emitInstruction(MCInstBuilder(Opc).addReg(DestReg).addExpr(LE), in emitLAInstSeq()
856 .addExpr(LE), in emitLAInstSeq()
861 MCInstBuilder(Opc).addReg(DestReg).addReg(DestReg).addExpr(LE), in emitLAInstSeq()
869 .addExpr(LE), in emitLAInstSeq()
874 MCInstBuilder(Opc).addReg(TmpReg).addReg(TmpReg).addExpr(LE), in emitLAInstSeq()
882 .addExpr(LE), in emitLAInstSeq()
895 .addExpr(LE), in emitLAInstSeq()
1325 MCInstBuilder(LoongArch::PCADDU18I).addReg(ScratchReg).addExpr(LE), in emitFuncCall36()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64AsmPrinter.cpp447 EmitToStreamer(O, MCInstBuilder(AArch64::BL).addExpr(Sym)); in LowerPATCHABLE_EVENT_CALL()
472 EmitToStreamer(O, MCInstBuilder(AArch64::BL).addExpr(Sym)); in LowerPATCHABLE_EVENT_CALL()
558 .addExpr(MCSymbolRefExpr::create(Pass, OutContext))); in LowerKCFI_CHECK()
617 .addExpr(MCSymbolRefExpr::create(Sym, OutContext))); in LowerHWASAN_CHECK_MEMACCESS()
715 .addExpr(MCSymbolRefExpr::create(HandleMismatchOrPartialSym, in emitHwasanMemaccessSymbols()
740 .addExpr(MCSymbolRefExpr::create(ReturnSym, OutContext)), in emitHwasanMemaccessSymbols()
755 .addExpr(MCSymbolRefExpr::create(HandleMismatchSym, OutContext)), in emitHwasanMemaccessSymbols()
780 .addExpr(MCSymbolRefExpr::create(HandleMismatchSym, OutContext)), in emitHwasanMemaccessSymbols()
804 .addExpr(MCSymbolRefExpr::create(ReturnSym, OutContext)), in emitHwasanMemaccessSymbols()
843 MCInstBuilder(AArch64::B).addExpr(HwasanTagMismatchRef), *STI); in emitHwasanMemaccessSymbols()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/AsmParser/
H A DX86Operand.h561 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
593 addExpr(Inst, getImm()); in addAVX512RCOperands()
598 addExpr(Inst, getImm()); in addImmOperands()
633 addExpr(Inst, getMemDisp()); in addMemOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchAsmPrinter.cpp184 .addExpr(MCSymbolRefExpr::create(EndOfSled, OutContext))); in emitSled()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp1062 .addExpr(MBBSymbolExpr) in emitJumpTableInsts()
1471 .addExpr(MCSymbolRefExpr::create(CPISymbol, OutContext)) in emitInstruction()
1487 .addExpr(MCSymbolRefExpr::create(JTIPICSymbol, OutContext)) in emitInstruction()
1538 .addExpr(MCSymbolRefExpr::create(TRegSym, OutContext))); in emitInstruction()
1577 .addExpr(GVSymExpr) in emitInstruction()
1658 auto MCInst = MCInstBuilder(Opc).addExpr(BranchLabel); in emitInstruction()
1679 MCInst.addExpr(BranchTarget); in emitInstruction()
1687 MCInst.addExpr(ElseLabel); in emitInstruction()
2079 .addExpr(SymbolExpr) in emitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/AsmParser/
H A DBPFAsmParser.cpp181 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
198 addExpr(Inst, getImm()); in addImmOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/AsmParser/
H A DAVRAsmParser.cpp142 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anon06c44bb20111::AVROperand
157 addExpr(Inst, Expr); in addImmOperands()
166 addExpr(Inst, getImm()); in addMemriOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/AsmParser/
H A DXtensaAsmParser.cpp317 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
341 addExpr(Inst, getImm()); in addImmOperands()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfCompileUnit.h372 void addExpr(DIELoc &Die, dwarf::Form Form, const MCExpr *Expr);
H A DDwarfCompileUnit.cpp317 addExpr(*Loc, FormAndOp.Form, in addLocationAttribute()
346 addExpr(*Loc, FormAndOp.Form, in addLocationAttribute()
1661 void DwarfCompileUnit::addExpr(DIELoc &Die, dwarf::Form Form, in addExpr() function in DwarfCompileUnit
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp1201 static void addExpr(MCInst &Inst, const MCExpr *Expr, bool IsRV64Imm) { in addExpr() function
1222 addExpr(Inst, getImm(), isRV64Imm()); in addImmOperands()
1228 addExpr(Inst, getImm(), isRV64Imm()); in addFPImmOperands()
3203 Out, MCInstBuilder(RISCV::AUIPC).addOperand(TmpReg).addExpr(SymbolHi)); in emitAuipcInstPair()
3212 .addExpr(RefToLinkTmpLabel)); in emitAuipcInstPair()
3603 .addExpr(Op1.getExpr())); in processInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVMCCodeEmitter.cpp150 TmpInst = MCInstBuilder(RISCV::AUIPC).addReg(Ra).addExpr(CallExpr); in expandFunctionCall()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp1734 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anon730428320111::AArch64Operand
1928 addExpr(Inst, getImm()); in addImmOperands()
1938 addExpr(Inst, getShiftedImmVal()); in addImmWithOptionalShiftOperands()
1941 addExpr(Inst, getImm()); in addImmWithOptionalShiftOperands()
1965 addExpr(Inst, getImm()); in addAdrpLabelOperands()
2037 addExpr(Inst, getImm()); in addBranchTarget26Operands()
2051 addExpr(Inst, getImm()); in addPAuthPCRelLabel16Operands()
2064 addExpr(Inst, getImm()); in addPCRelLabel19Operands()
2078 addExpr(Inst, getImm()); in addBranchTarget14Operands()
2224 addExpr(Inst, getImm()); in addMOVZMovAliasOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp553 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function
569 addExpr(Inst, getImm()); in addImmOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/AsmParser/
H A DARMAsmParser.cpp2512 void addExpr(MCInst &Inst, const MCExpr *Expr) const { in addExpr() function in __anon6be9c9a00111::ARMOperand
2524 addExpr(Inst, getImm()); in addARMBranchTargetOperands()
2529 addExpr(Inst, getImm()); in addThumbBranchTargetOperands()
2718 addExpr(Inst, getImm()); in addImmOperands()
3174 addExpr(Inst, Memory.OffsetImm); in addMemImm8s4OffsetOperands()
3189 addExpr(Inst, Memory.OffsetImm); in addMemImm7s4OffsetOperands()
3207 addExpr(Inst, Memory.OffsetImm); in addMemImmOffsetOperands()
3220 addExpr(Inst, getImm()); in addMemUImm12OffsetOperands()
3227 addExpr(Inst, Memory.OffsetImm); in addMemUImm12OffsetOperands()
3234 addExpr(Inst, getImm()); in addMemImm12OffsetOperands()
[all …]

12