Home
last modified time | relevance | path

Searched defs:Asm (Results 1 – 25 of 115) sorted by relevance

12345

/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfStringPool.cpp20 DwarfStringPool::DwarfStringPool(BumpPtrAllocator &A, AsmPrinter &Asm, in DwarfStringPool()
26 DwarfStringPool::getEntryImpl(AsmPrinter &Asm, StringRef Str) { in getEntryImpl()
39 DwarfStringPool::EntryRef DwarfStringPool::getEntry(AsmPrinter &Asm, in getEntry()
45 DwarfStringPool::EntryRef DwarfStringPool::getIndexedEntry(AsmPrinter &Asm, in getIndexedEntry()
53 void DwarfStringPool::emitStringOffsetsTableHeader(AsmPrinter &Asm, in emitStringOffsetsTableHeader()
75 void DwarfStringPool::emit(AsmPrinter &Asm, MCSection *StrSection, in emit()
H A DAddressPool.cpp27 static const uint8_t AddrSize = Asm.MAI->getCodePointerSize(); in emitHeader() argument
43 emit(AsmPrinter & Asm,MCSection * AddrSection) emit() argument
[all...]
H A DDebugLocStream.cpp15 bool DebugLocStream::finalizeList(AsmPrinter &Asm) { in finalizeList()
H A DWinCFGuard.h25 AsmPrinter *Asm; variable
/llvm-project/llvm/include/llvm/MC/
H A DMCAsmBackend.h94 shouldForceRelocation(const MCAssembler & Asm,const MCFixup & Fixup,const MCValue & Target,const MCSubtargetInfo * STI) shouldForceRelocation() argument
111 shouldInsertFixupForCodeAlign(MCAssembler & Asm,MCAlignFragment & AF) shouldInsertFixupForCodeAlign() argument
116 evaluateTargetFixup(const MCAssembler & Asm,const MCFixup & Fixup,const MCFragment * DF,const MCValue & Target,const MCSubtargetInfo * STI,uint64_t & Value,bool & WasForced) evaluateTargetFixup() argument
124 handleAddSubRelocations(const MCAssembler & Asm,const MCFragment & F,const MCFixup & Fixup,const MCValue & Target,uint64_t & FixedValue) handleAddSubRelocations() argument
180 relaxDwarfLineAddr(const MCAssembler & Asm,MCDwarfLineAddrFragment & DF,bool & WasRelaxed) relaxDwarfLineAddr() argument
186 relaxDwarfCFA(const MCAssembler & Asm,MCDwarfCallFrameFragment & DF,bool & WasRelaxed) relaxDwarfCFA() argument
195 relaxLEB128(const MCAssembler & Asm,MCLEBFragment & LF,int64_t & Value) relaxLEB128() argument
221 finishLayout(MCAssembler const & Asm) finishLayout() argument
[all...]
/llvm-project/llvm/lib/MC/
H A DMCLinkerOptimizationHint.cpp26 void MCLOHDirective::emit_impl(const MCAssembler &Asm, raw_ostream &OutStream, in emit_impl()
36 void MCLOHDirective::emit(const MCAssembler &Asm, in emit()
42 uint64_t MCLOHDirective::getEmitSize(const MCAssembler &Asm, in getEmitSize()
H A DSPIRVObjectWriter.cpp41 for (const MCSection &S : Asm) in writeHeader() argument
32 recordRelocation(MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordRelocation() argument
58 writeObject(MCAssembler & Asm) writeObject() argument
H A DMCObjectWriter.cpp22 isSymbolRefDifferenceFullyResolved(const MCAssembler & Asm,const MCSymbolRefExpr * A,const MCSymbolRefExpr * B,bool InSet) const isSymbolRefDifferenceFullyResolved() argument
40 isSymbolRefDifferenceFullyResolvedImpl(const MCAssembler & Asm,const MCSymbol & SymA,const MCFragment & FB,bool InSet,bool IsPCRel) const isSymbolRefDifferenceFullyResolvedImpl() argument
H A DMachObjectWriter.cpp80 isFixupKindPCRel(const MCAssembler & Asm,unsigned Kind) isFixupKindPCRel() argument
88 getFragmentAddress(const MCAssembler & Asm,const MCFragment * Fragment) const getFragmentAddress() argument
127 getPaddingSize(const MCAssembler & Asm,const MCSection * Sec) const getPaddingSize() argument
251 writeSection(const MCAssembler & Asm,const MCSection & Sec,uint64_t VMAddr,uint64_t FileOffset,unsigned Flags,uint64_t RelocationsStart,unsigned NumRelocations) writeSection() argument
374 writeNlist(MachSymbolData & MSD,const MCAssembler & Asm) writeNlist() argument
497 recordRelocation(MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordRelocation() argument
511 bindIndirectSymbols(MCAssembler & Asm) bindIndirectSymbols() argument
569 computeSymbolTable(MCAssembler & Asm,std::vector<MachSymbolData> & LocalSymbolData,std::vector<MachSymbolData> & ExternalSymbolData,std::vector<MachSymbolData> & UndefinedSymbolData) computeSymbolTable() argument
668 computeSectionAddresses(const MCAssembler & Asm) computeSectionAddresses() argument
698 executePostLayoutBinding(MCAssembler & Asm) executePostLayoutBinding() argument
706 isSymbolRefDifferenceFullyResolvedImpl(const MCAssembler & Asm,const MCSymbol & SymA,const MCFragment & FB,bool InSet,bool IsPCRel) const isSymbolRefDifferenceFullyResolvedImpl() argument
762 populateAddrSigSection(MCAssembler & Asm) populateAddrSigSection() argument
776 writeObject(MCAssembler & Asm) writeObject() argument
[all...]
H A DWinCOFFObjectWriter.cpp317 defineSection(const MCAssembler & Asm,const MCSectionCOFF & MCSec) defineSection() argument
365 getSymbolValue(const MCSymbol & Symbol,const MCAssembler & Asm) getSymbolValue() argument
394 defineSymbol(const MCAssembler & Asm,const MCSymbol & MCSym) defineSymbol() argument
600 writeSectionContents(MCAssembler & Asm,const MCSection & MCSec) writeSectionContents() argument
618 writeSection(MCAssembler & Asm,const COFFSection & Sec) writeSection() argument
661 createFileSymbols(MCAssembler & Asm) createFileSymbols() argument
759 assignFileOffsets(MCAssembler & Asm) assignFileOffsets() argument
829 executePostLayoutBinding(MCAssembler & Asm) executePostLayoutBinding() argument
847 recordRelocation(MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordRelocation() argument
1004 writeObject(MCAssembler & Asm) writeObject() argument
1184 isSymbolRefDifferenceFullyResolvedImpl(const MCAssembler & Asm,const MCSymbol & SymA,const MCFragment & FB,bool InSet,bool IsPCRel) const isSymbolRefDifferenceFullyResolvedImpl() argument
1198 executePostLayoutBinding(MCAssembler & Asm) executePostLayoutBinding() argument
1204 recordRelocation(MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordRelocation() argument
1213 writeObject(MCAssembler & Asm) writeObject() argument
[all...]
H A DELFObjectWriter.cpp271 writeObject(MCAssembler & Asm) writeObject() argument
303 writeObject(MCAssembler & Asm) writeObject() argument
382 writeHeader(const MCAssembler & Asm) writeHeader() argument
443 symbolValue(const MCAssembler & Asm,const MCSymbol & Sym) symbolValue() argument
505 writeSymbol(const MCAssembler & Asm,SymbolTableWriter & Writer,uint32_t StringIndex,ELFSymbolData & MSD) writeSymbol() argument
567 isInSymtab(const MCAssembler & Asm,const MCSymbolELF & Symbol,bool Used,bool Renamed) isInSymtab() argument
602 computeSymbolTable(MCAssembler & Asm,const RevGroupMapTy & RevGroupMap) computeSymbolTable() argument
844 writeSectionData(const MCAssembler & Asm,MCSection & Sec) writeSectionData() argument
917 writeRelocations(const MCAssembler & Asm,const MCSectionELF & Sec) writeRelocations() argument
1042 writeSectionHeader(const MCAssembler & Asm) writeSectionHeader() argument
1069 writeObject(MCAssembler & Asm) writeObject() argument
1222 executePostLayoutBinding(MCAssembler & Asm) executePostLayoutBinding() argument
1280 shouldRelocateWithSymbol(const MCAssembler & Asm,const MCValue & Val,const MCSymbolELF * Sym,uint64_t C,unsigned Type) const shouldRelocateWithSymbol() argument
1409 recordRelocation(MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordRelocation() argument
1513 isSymbolRefDifferenceFullyResolvedImpl(const MCAssembler & Asm,const MCSymbol & SA,const MCFragment & FB,bool InSet,bool IsPCRel) const isSymbolRefDifferenceFullyResolvedImpl() argument
[all...]
/llvm-project/clang/test/AST/Interp/
H A Dinvalid.cpp
/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.h77 bool evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
85 void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override {} in fixELFSymbolsInTLSFixups()
118 bool evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
126 void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override {} in fixELFSymbolsInTLSFixups()
/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCExpr.cpp104 evaluateAsRelocatableImpl(MCValue & Res,const MCAssembler * Asm,const MCFixup * Fixup) const evaluateAsRelocatableImpl() argument
115 fixELFSymbolsInTLSFixupsImpl(const MCExpr * Expr,MCAssembler & Asm) fixELFSymbolsInTLSFixupsImpl() argument
190 evaluateAsRelocatableImpl(MCValue & Res,const MCAssembler * Asm,const MCFixup * Fixup) const evaluateAsRelocatableImpl() argument
[all...]
/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVAsmBackend.cpp114 shouldForceRelocation(const MCAssembler & Asm,const MCFixup & Fixup,const MCValue & Target,const MCSubtargetInfo * STI) shouldForceRelocation() argument
142 fixupNeedsRelaxationAdvanced(const MCAssembler & Asm,const MCFixup & Fixup,bool Resolved,uint64_t Value,const MCRelaxableFragment * DF,const bool WasForced) const fixupNeedsRelaxationAdvanced() argument
204 relaxDwarfLineAddr(const MCAssembler & Asm,MCDwarfLineAddrFragment & DF,bool & WasRelaxed) const relaxDwarfLineAddr() argument
270 relaxDwarfCFA(const MCAssembler & Asm,MCDwarfCallFrameFragment & DF,bool & WasRelaxed) const relaxDwarfCFA() argument
332 relaxLEB128(const MCAssembler & Asm,MCLEBFragment & LF,int64_t & Value) const relaxLEB128() argument
519 evaluateTargetFixup(const MCAssembler & Asm,const MCFixup & Fixup,const MCFragment * DF,const MCValue & Target,const MCSubtargetInfo * STI,uint64_t & Value,bool & WasForced) evaluateTargetFixup() argument
583 handleAddSubRelocations(const MCAssembler & Asm,const MCFragment & F,const MCFixup & Fixup,const MCValue & Target,uint64_t & FixedValue) const handleAddSubRelocations() argument
629 applyFixup(const MCAssembler & Asm,const MCFixup & Fixup,const MCValue & Target,MutableArrayRef<char> Data,uint64_t Value,bool IsResolved,const MCSubtargetInfo * STI) const applyFixup() argument
687 shouldInsertFixupForCodeAlign(MCAssembler & Asm,MCAlignFragment & AF) shouldInsertFixupForCodeAlign() argument
[all...]
/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/
H A DLoongArchAsmBackend.cpp145 void LoongArchAsmBackend::applyFixup(const MCAssembler &Asm, in applyFixup() argument
208 bool LoongArchAsmBackend::shouldInsertFixupForCodeAlign(MCAssembler &Asm, in shouldInsertFixupForCodeAlign() argument
251 bool LoongArchAsmBackend::shouldForceRelocation(const MCAssembler &Asm, in shouldForceRelocation() argument
301 relaxLEB128(const MCAssembler & Asm,MCLEBFragment & LF,int64_t & Value) const relaxLEB128() argument
312 relaxDwarfLineAddr(const MCAssembler & Asm,MCDwarfLineAddrFragment & DF,bool & WasRelaxed) const relaxDwarfLineAddr() argument
380 relaxDwarfCFA(const MCAssembler & Asm,MCDwarfCallFrameFragment & DF,bool & WasRelaxed) const relaxDwarfCFA() argument
451 handleAddSubRelocations(const MCAssembler & Asm,const MCFragment & F,const MCFixup & Fixup,const MCValue & Target,uint64_t & FixedValue) const handleAddSubRelocations() argument
[all...]
H A DLoongArchMCExpr.cpp47 evaluateAsRelocatableImpl(MCValue & Res,const MCAssembler * Asm,const MCFixup * Fixup) const evaluateAsRelocatableImpl() argument
219 fixELFSymbolsInTLSFixupsImpl(const MCExpr * Expr,MCAssembler & Asm) fixELFSymbolsInTLSFixupsImpl() argument
/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYMCExpr.cpp70 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
112 bool CSKYMCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MCExpr.h56 bool evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl() argument
71 void fixELFSymbolsInTLSFixups(MCAssembler &Asm) const override {} in fixELFSymbolsInTLSFixups() argument
H A DX86MachObjectWriter.cpp55 void recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, in recordRelocation() argument
96 RecordX86_64Relocation(MachObjectWriter * Writer,MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) RecordX86_64Relocation() argument
354 recordScatteredRelocation(MachObjectWriter * Writer,const MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,unsigned Log2Size,uint64_t & FixedValue) recordScatteredRelocation() argument
453 recordTLVPRelocation(MachObjectWriter * Writer,const MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordTLVPRelocation() argument
492 RecordX86Relocation(MachObjectWriter * Writer,const MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) RecordX86Relocation() argument
[all...]
/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCExpr.cpp97 evaluateExtraSGPRs(MCValue & Res,const MCAssembler * Asm,const MCFixup * Fixup) const evaluateExtraSGPRs() argument
126 evaluateTotalNumVGPR(MCValue & Res,const MCAssembler * Asm,const MCFixup * Fixup) const evaluateTotalNumVGPR() argument
153 evaluateAlignTo(MCValue & Res,const MCAssembler * Asm,const MCFixup * Fixup) const evaluateAlignTo() argument
174 evaluateOccupancy(MCValue & Res,const MCAssembler * Asm,const MCFixup * Fixup) const evaluateOccupancy() argument
218 evaluateAsRelocatableImpl(MCValue & Res,const MCAssembler * Asm,const MCFixup * Fixup) const evaluateAsRelocatableImpl() argument
[all...]
/llvm-project/llvm/unittests/DebugInfo/DWARF/
H A DDwarfGenerator.cpp141 AsmPrinter *Asm = DG.getAsmPrinter(); in addStrOffsetsBaseAttribute() local
160 AsmPrinter *Asm = DG.getAsmPrinter(); in addAddrBaseAttribute() local
361 writeCString(StringRef Str,AsmPrinter & Asm) writeCString() argument
367 writeV2IncludeAndFileTable(const DWARFDebugLine::Prologue & Prologue,AsmPrinter & Asm) writeV2IncludeAndFileTable() argument
383 writeV5IncludeAndFileTable(const DWARFDebugLine::Prologue & Prologue,AsmPrinter & Asm) writeV5IncludeAndFileTable() argument
537 emit(AsmPrinter & Asm,MCSection * AddrSection,MCSymbol * StartSym) emit() argument
[all...]
/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp134 recordARMScatteredHalfRelocation(MachObjectWriter * Writer,const MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordARMScatteredHalfRelocation() argument
244 recordARMScatteredRelocation(MachObjectWriter * Writer,const MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,unsigned Type,unsigned Log2Size,uint64_t & FixedValue) recordARMScatteredRelocation() argument
315 requiresExternRelocation(MachObjectWriter * Writer,const MCAssembler & Asm,const MCFragment & Fragment,unsigned RelocType,const MCSymbol & S,uint64_t FixedValue) requiresExternRelocation() argument
361 recordRelocation(MachObjectWriter * Writer,MCAssembler & Asm,const MCFragment * Fragment,const MCFixup & Fixup,MCValue Target,uint64_t & FixedValue) recordRelocation() argument
[all...]
/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCExpr.cpp184 const MCAssembler *Asm, in evaluateAsRelocatableImpl()
189 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()
/llvm-project/llvm/lib/Target/VE/MCTargetDesc/
H A DVEMCExpr.cpp176 bool VEMCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
187 static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { in fixELFSymbolsInTLSFixupsImpl()

12345