Home
last modified time | relevance | path

Searched refs:Emitter (Results 1 – 25 of 117) sorted by relevance

12345

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DCompiler.h31 template <class Emitter> class LocalScope;
32 template <class Emitter> class DestructorScope;
33 template <class Emitter> class VariableScope;
34 template <class Emitter> class DeclScope;
35 template <class Emitter> class InitLinkScope;
36 template <class Emitter> class InitStackScope;
37 template <class Emitter> class OptionScope;
38 template <class Emitter> class ArrayIndexScope;
39 template <class Emitter> class SourceLocScope;
40 template <class Emitter> class LoopScope;
[all …]
H A DCompiler.cpp39 template <class Emitter> class DeclScope final : public LocalScope<Emitter> {
41 DeclScope(Compiler<Emitter> *Ctx, const ValueDecl *VD) in DeclScope()
42 : LocalScope<Emitter>(Ctx, VD), Scope(Ctx->P), in DeclScope()
59 template <class Emitter> class OptionScope final {
62 OptionScope(Compiler<Emitter> *Ctx, bool NewDiscardResult, in OptionScope()
77 Compiler<Emitter> *Ctx;
83 template <class Emitter>
84 bool InitLink::emit(Compiler<Emitter> *Ctx, const Expr *E) const { in emit()
110 template <class Emitter> class LabelScope {
115 LabelScope(Compiler<Emitter> *Ctx) : Ctx(Ctx) {} in LabelScope()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCXCOFFStreamer.cpp33 std::unique_ptr<MCCodeEmitter> Emitter) in PPCXCOFFStreamer() argument
35 std::move(Emitter)) {} in PPCXCOFFStreamer()
56 PPCMCCodeEmitter *Emitter = in emitInstruction() local
60 if (!Emitter->isPrefixedInstruction(Inst)) { in emitInstruction()
71 std::unique_ptr<MCCodeEmitter> &&Emitter) { in createPPCXCOFFStreamer() argument
73 std::move(Emitter)); in createPPCXCOFFStreamer()
H A DPPCELFStreamer.cpp39 std::unique_ptr<MCCodeEmitter> Emitter) in PPCELFStreamer() argument
40 : MCELFStreamer(Context, std::move(MAB), std::move(OW), std::move(Emitter)), in PPCELFStreamer()
85 PPCMCCodeEmitter *Emitter = in emitInstruction() local
103 if (!Emitter->isPrefixedInstruction(Inst)) { in emitInstruction()
223 std::unique_ptr<MCCodeEmitter> &&Emitter) { in createPPCELFStreamer() argument
225 std::move(Emitter)); in createPPCELFStreamer()
H A DPPCXCOFFStreamer.h24 std::unique_ptr<MCCodeEmitter> Emitter);
35 std::unique_ptr<MCCodeEmitter> &&Emitter);
H A DPPCELFStreamer.h36 std::unique_ptr<MCCodeEmitter> Emitter);
56 std::unique_ptr<MCCodeEmitter> &&Emitter);
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DTargetRegistry.cpp28 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter, in createMCObjectStreamer() argument
38 std::move(Emitter)); in createMCObjectStreamer()
43 std::move(Emitter)); in createMCObjectStreamer()
46 std::move(Emitter), false); in createMCObjectStreamer()
51 std::move(Emitter)); in createMCObjectStreamer()
54 std::move(Emitter)); in createMCObjectStreamer()
58 std::move(Emitter)); in createMCObjectStreamer()
62 std::move(Emitter)); in createMCObjectStreamer()
66 std::move(Emitter)); in createMCObjectStreamer()
70 std::move(Emitter)); in createMCObjectStreamer()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUELFStreamer.cpp24 std::unique_ptr<MCCodeEmitter> Emitter) in AMDGPUELFStreamer() argument
26 std::move(Emitter)) {} in AMDGPUELFStreamer()
35 std::unique_ptr<MCCodeEmitter> Emitter) { in createAMDGPUELFStreamer() argument
37 std::move(Emitter)); in createAMDGPUELFStreamer()
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRMCELFStreamer.h31 std::unique_ptr<MCCodeEmitter> Emitter) in AVRMCELFStreamer() argument
33 std::move(Emitter)), in AVRMCELFStreamer()
38 std::unique_ptr<MCCodeEmitter> Emitter, in AVRMCELFStreamer() argument
41 std::move(Emitter)), in AVRMCELFStreamer()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DScheduleDAGSDNodes.cpp737 ProcessSDDbgValues(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSDDbgValues() argument
756 MachineBasicBlock *BB = Emitter.getBlock(); in ProcessSDDbgValues()
757 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues()
771 MachineInstr *DbgMI = Emitter.EmitDbgValue(DV, VRBaseMap); in ProcessSDDbgValues()
783 ProcessSourceNode(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSourceNode() argument
791 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, 0); in ProcessSourceNode()
806 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, Order); in ProcessSourceNode()
852 InstrEmitter Emitter(DAG->getTarget(), BB, InsertPos); in EmitSchedule() local
869 return std::prev(Emitter.getInsertPos()); in EmitSchedule()
872 MachineBasicBlock::iterator Before = GetPrevInsn(Emitter.getInsertPos()); in EmitSchedule()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp569 ConstantEmitter &Emitter; member in __anon9d6f04f10111::ConstStructBuilder
574 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter,
577 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter,
579 static bool UpdateStruct(ConstantEmitter &Emitter,
584 ConstStructBuilder(ConstantEmitter &Emitter, in ConstStructBuilder() argument
586 : CGM(Emitter.CGM), Emitter(Emitter), Builder(Builder), in ConstStructBuilder()
665 static bool EmitDesignatedInitUpdater(ConstantEmitter &Emitter, in EmitDesignatedInitUpdater() argument
670 return ConstStructBuilder::UpdateStruct(Emitter, Const, Offset, Updater); in EmitDesignatedInitUpdater()
672 auto CAT = Emitter.CGM.getContext().getAsConstantArrayType(Type); in EmitDesignatedInitUpdater()
676 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType); in EmitDesignatedInitUpdater()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFStreamer.cpp28 std::unique_ptr<MCCodeEmitter> Emitter) in MipsELFStreamer() argument
30 std::move(Emitter)) { in MipsELFStreamer()
118 std::unique_ptr<MCCodeEmitter> Emitter) { in createMipsELFStreamer() argument
120 std::move(Emitter)); in createMipsELFStreamer()
H A DMipsNaClELFStreamer.cpp46 std::unique_ptr<MCCodeEmitter> Emitter) in MipsNaClELFStreamer() argument
48 std::move(Emitter)) {} in MipsNaClELFStreamer()
264 std::unique_ptr<MCCodeEmitter> Emitter) { in createMipsNaClELFStreamer() argument
266 Context, std::move(TAB), std::move(OW), std::move(Emitter)); in createMipsNaClELFStreamer()
H A DMipsELFStreamer.h38 std::unique_ptr<MCCodeEmitter> Emitter);
77 std::unique_ptr<MCCodeEmitter> Emitter);
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerUnit.cpp100 DwarfEmitterImpl Emitter(DWARFLinker::OutputFileType::Object, OutSection.OS); in emitDebugInfo() local
101 if (Error Err = Emitter.init(TargetTriple, "__DWARF")) in emitDebugInfo()
105 Emitter.emitCompileUnitHeader(*this); in emitDebugInfo()
113 Emitter.emitDIE(*OutUnitDIE); in emitDebugInfo()
114 Emitter.finish(); in emitDebugInfo()
H A DDWARFLinkerImpl.cpp1259 DwarfEmitterImpl Emitter(DWARFLinker::OutputFileType::Object, in emitAppleAcceleratorSections() local
1261 if (Error Err = Emitter.init(TargetTriple, "__DWARF")) { in emitAppleAcceleratorSections()
1267 Emitter.emitAppleNamespaces(AppleNamespaces); in emitAppleAcceleratorSections()
1268 Emitter.finish(); in emitAppleAcceleratorSections()
1280 DwarfEmitterImpl Emitter(DWARFLinker::OutputFileType::Object, in emitAppleAcceleratorSections() local
1282 if (Error Err = Emitter.init(TargetTriple, "__DWARF")) { in emitAppleAcceleratorSections()
1288 Emitter.emitAppleNames(AppleNames); in emitAppleAcceleratorSections()
1289 Emitter.finish(); in emitAppleAcceleratorSections()
1301 DwarfEmitterImpl Emitter(DWARFLinker::OutputFileType::Object, in emitAppleAcceleratorSections() local
1303 if (Error Err = Emitter.init(TargetTriple, "__DWARF")) { in emitAppleAcceleratorSections()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCAssembler.h64 std::unique_ptr<MCCodeEmitter> Emitter; variable
138 std::unique_ptr<MCCodeEmitter> Emitter,
183 MCCodeEmitter *getEmitterPtr() const { return Emitter.get(); } in getEmitterPtr()
187 MCCodeEmitter &getEmitter() const { return *Emitter; } in getEmitter()
H A DMCDXContainerStreamer.h32 std::unique_ptr<MCCodeEmitter> Emitter) in MCDXContainerStreamer() argument
34 std::move(Emitter)) {} in MCDXContainerStreamer()
H A DMCSPIRVStreamer.h29 std::unique_ptr<MCCodeEmitter> Emitter) in MCSPIRVStreamer() argument
31 std::move(Emitter)) {} in MCSPIRVStreamer()
H A DMCGOFFStreamer.h23 std::unique_ptr<MCCodeEmitter> Emitter) in MCGOFFStreamer() argument
25 std::move(Emitter)) {} in MCGOFFStreamer()
H A DMCWasmStreamer.h27 std::unique_ptr<MCCodeEmitter> Emitter) in MCWasmStreamer() argument
29 std::move(Emitter)), in MCWasmStreamer()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DTableGenBackendSkeleton.cpp52 static TableGen::Emitter::OptClass<SkeletonEmitter>
63 static TableGen::Emitter::Opt Y("gen-skeleton-entry", EmitSkeleton,
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCELFStreamer.cpp55 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter) in HexagonMCELFStreamer() argument
56 : MCELFStreamer(Context, std::move(TAB), std::move(OW), std::move(Emitter)), in HexagonMCELFStreamer()
61 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter, in HexagonMCELFStreamer() argument
63 : MCELFStreamer(Context, std::move(TAB), std::move(OW), std::move(Emitter)), in HexagonMCELFStreamer()
H A DHexagonMCELFStreamer.h26 std::unique_ptr<MCCodeEmitter> Emitter);
30 std::unique_ptr<MCCodeEmitter> Emitter,
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
H A DX86AsmBackend.cpp187 MCCodeEmitter &Emitter,
190 bool padInstructionViaPrefix(MCRelaxableFragment &RF, MCCodeEmitter &Emitter,
193 bool padInstructionEncoding(MCRelaxableFragment &RF, MCCodeEmitter &Emitter,
789 MCCodeEmitter &Emitter, in padInstructionViaPrefix() argument
808 X86_MC::emitPrefix(Emitter, RF.getInst(), Code, STI); in padInstructionViaPrefix()
843 MCCodeEmitter &Emitter, in padInstructionViaRelaxation() argument
856 Emitter.encodeInstruction(Relaxed, Code, Fixups, *RF.getSubtargetInfo()); in padInstructionViaRelaxation()
871 MCCodeEmitter &Emitter, in padInstructionEncoding() argument
875 Changed |= padInstructionViaRelaxation(RF, Emitter, RemainingSize); in padInstructionEncoding()
877 Changed |= padInstructionViaPrefix(RF, Emitter, RemainingSize); in padInstructionEncoding()
[all …]

12345