Home
last modified time | relevance | path

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

1234567

/external/llvm-project/clang/lib/AST/Interp/
DByteCodeStmtGen.cpp26 template <class Emitter> class LabelScope {
31 LabelScope(ByteCodeStmtGen<Emitter> *Ctx) : Ctx(Ctx) {} in LabelScope()
33 ByteCodeStmtGen<Emitter> *Ctx;
37 template <class Emitter> class LoopScope final : public LabelScope<Emitter> {
39 using LabelTy = typename ByteCodeStmtGen<Emitter>::LabelTy;
40 using OptLabelTy = typename ByteCodeStmtGen<Emitter>::OptLabelTy;
42 LoopScope(ByteCodeStmtGen<Emitter> *Ctx, LabelTy BreakLabel, in LoopScope()
44 : LabelScope<Emitter>(Ctx), OldBreakLabel(Ctx->BreakLabel), in LoopScope()
61 template <class Emitter> class SwitchScope final : public LabelScope<Emitter> {
63 using LabelTy = typename ByteCodeStmtGen<Emitter>::LabelTy;
[all …]
DByteCodeExprGen.cpp29 template <class Emitter> class DeclScope final : public LocalScope<Emitter> {
31 DeclScope(ByteCodeExprGen<Emitter> *Ctx, const VarDecl *VD) in DeclScope()
32 : LocalScope<Emitter>(Ctx), Scope(Ctx->P, VD) {} in DeclScope()
43 template <class Emitter> class OptionScope {
45 using InitFnRef = typename ByteCodeExprGen<Emitter>::InitFnRef;
49 OptionScope(ByteCodeExprGen<Emitter> *Ctx, bool NewDiscardResult) in OptionScope()
57 OptionScope(ByteCodeExprGen<Emitter> *Ctx, InitFnRef NewInitFn) in OptionScope()
65 OptionScope(ByteCodeExprGen<Emitter> *Ctx, ChainedInitFnRef NewInitFn) in OptionScope()
79 ByteCodeExprGen<Emitter> *Ctx;
89 template <class Emitter>
[all …]
DByteCodeExprGen.h34 template <class Emitter> class LocalScope;
35 template <class Emitter> class RecordScope;
36 template <class Emitter> class VariableScope;
37 template <class Emitter> class DeclScope;
38 template <class Emitter> class OptionScope;
41 template <class Emitter>
42 class ByteCodeExprGen : public ConstStmtVisitor<ByteCodeExprGen<Emitter>, bool>,
43 public Emitter {
52 using LabelTy = typename Emitter::LabelTy;
53 using AddrTy = typename Emitter::AddrTy;
[all …]
DByteCodeStmtGen.h34 template <class Emitter> class LoopScope;
35 template <class Emitter> class SwitchScope;
36 template <class Emitter> class LabelScope;
39 template <class Emitter>
40 class ByteCodeStmtGen : public ByteCodeExprGen<Emitter> {
41 using LabelTy = typename Emitter::LabelTy;
42 using AddrTy = typename Emitter::AddrTy;
49 : ByteCodeExprGen<Emitter>(std::forward<Tys>(Args)...) {} in ByteCodeStmtGen()
55 friend class LabelScope<Emitter>;
56 friend class LoopScope<Emitter>;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUELFStreamer.cpp25 std::unique_ptr<MCCodeEmitter> Emitter) in AMDGPUELFStreamer() argument
27 std::move(Emitter)) {} in AMDGPUELFStreamer()
34 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter, in createAMDGPUELFStreamer() argument
37 std::move(Emitter)); in createAMDGPUELFStreamer()
/external/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUELFStreamer.cpp25 std::unique_ptr<MCCodeEmitter> Emitter) in AMDGPUELFStreamer() argument
27 std::move(Emitter)) {} in AMDGPUELFStreamer()
34 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter, in createAMDGPUELFStreamer() argument
37 std::move(Emitter)); in createAMDGPUELFStreamer()
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/
DDumperOptions.java21 import org.yaml.snakeyaml.emitter.Emitter;
216 if (indent < Emitter.MIN_INDENT) { in setIndent()
217 throw new YAMLException("Indent must be at least " + Emitter.MIN_INDENT); in setIndent()
219 if (indent > Emitter.MAX_INDENT) { in setIndent()
220 throw new YAMLException("Indent must be at most " + Emitter.MAX_INDENT); in setIndent()
233 if (indicatorIndent > Emitter.MAX_INDENT - 1) { in setIndicatorIndent()
234 …AMLException("Indicator indent must be at most Emitter.MAX_INDENT-1: " + (Emitter.MAX_INDENT - 1)); in setIndicatorIndent()
/external/swiftshader/third_party/subzero/src/
DIceInstX86BaseImpl.h709 const GPREmitterOneOp &Emitter) { in emitIASOpTyGPR() argument
716 (Asm->*(Emitter.Reg))(Ty, VarReg); in emitIASOpTyGPR()
719 (Asm->*(Emitter.Addr))(Ty, StackAddr); in emitIASOpTyGPR()
723 (Asm->*(Emitter.Addr))(Ty, Mem->toAsmAddress(Asm, Target)); in emitIASOpTyGPR()
734 const GPREmitterRegOp &Emitter) { in emitIASRegOpTyGPR() argument
746 (Asm->*(Emitter.GPRGPR))(Ty, VarReg, SrcReg); in emitIASRegOpTyGPR()
749 (Asm->*(Emitter.GPRAddr))(Ty, VarReg, SrcStackAddr); in emitIASRegOpTyGPR()
753 (Asm->*(Emitter.GPRAddr))(Ty, VarReg, in emitIASRegOpTyGPR()
756 (Asm->*(Emitter.GPRImm))(Ty, VarReg, AssemblerImmediate(Imm->getValue())); in emitIASRegOpTyGPR()
760 (Asm->*(Emitter.GPRImm))(Ty, VarReg, AssemblerImmediate(Imm->getValue())); in emitIASRegOpTyGPR()
[all …]
DIceInstX86Base.h500 const GPREmitterOneOp &Emitter);
504 const GPREmitterAddrOp &Emitter);
508 const GPREmitterShiftOp &Emitter);
512 const GPREmitterAddrOp &Emitter);
516 const XmmEmitterRegOp &Emitter);
521 const GPREmitterShiftD &Emitter);
528 const CastEmitterRegOp<DReg_t, SReg_t> &Emitter);
535 const ThreeOpImmEmitter<DReg_t, SReg_t> Emitter);
539 const XmmEmitterMovOps Emitter);
545 const XmmEmitterRegOp &Emitter);
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
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()
/external/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
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()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.cpp701 ProcessSDDbgValues(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSDDbgValues() argument
709 MachineBasicBlock *BB = Emitter.getBlock(); in ProcessSDDbgValues()
710 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues()
717 MachineInstr *DbgMI = Emitter.EmitDbgValue(DVs[i], VRBaseMap); in ProcessSDDbgValues()
731 ProcessSourceNode(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSourceNode() argument
739 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, 0); in ProcessSourceNode()
743 MachineBasicBlock *BB = Emitter.getBlock(); in ProcessSourceNode()
744 if (Emitter.getInsertPos() == BB->begin() || BB->back().isPHI() || in ProcessSourceNode()
747 std::prev(Emitter.getInsertPos())->isPHI()) { in ProcessSourceNode()
753 Orders.push_back(std::make_pair(Order, &*std::prev(Emitter.getInsertPos()))); in ProcessSourceNode()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.cpp732 ProcessSDDbgValues(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSDDbgValues() argument
740 MachineBasicBlock *BB = Emitter.getBlock(); in ProcessSDDbgValues()
741 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues()
747 MachineInstr *DbgMI = Emitter.EmitDbgValue(DV, VRBaseMap); in ProcessSDDbgValues()
760 ProcessSourceNode(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSourceNode() argument
768 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, 0); in ProcessSourceNode()
783 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, Order); in ProcessSourceNode()
828 InstrEmitter Emitter(BB, InsertPos); in EmitSchedule() local
845 return std::prev(Emitter.getInsertPos()); in EmitSchedule()
848 MachineBasicBlock::iterator Before = GetPrevInsn(Emitter.getInsertPos()); in EmitSchedule()
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCELFStreamer.cpp43 std::unique_ptr<MCCodeEmitter> Emitter) in PPCELFStreamer() argument
45 std::move(Emitter)), LastLabel(NULL) { in PPCELFStreamer()
90 PPCMCCodeEmitter *Emitter = in emitInstruction() local
107 if (!Emitter->isPrefixedInstruction(Inst)) { in emitInstruction()
227 std::unique_ptr<MCCodeEmitter> Emitter) { in createPPCELFStreamer() argument
229 std::move(Emitter)); in createPPCELFStreamer()
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUELFStreamer.h29 MCCodeEmitter *Emitter) in AMDGPUELFStreamer() argument
30 : MCELFStreamer(Context, MAB, OS, Emitter) { } in AMDGPUELFStreamer()
36 MCCodeEmitter *Emitter, bool RelaxAll);
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGSDNodes.cpp736 ProcessSDDbgValues(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSDDbgValues() argument
744 MachineBasicBlock *BB = Emitter.getBlock(); in ProcessSDDbgValues()
745 MachineBasicBlock::iterator InsertPos = Emitter.getInsertPos(); in ProcessSDDbgValues()
751 MachineInstr *DbgMI = Emitter.EmitDbgValue(DV, VRBaseMap); in ProcessSDDbgValues()
764 ProcessSourceNode(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter, in ProcessSourceNode() argument
772 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, 0); in ProcessSourceNode()
787 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, Order); in ProcessSourceNode()
832 InstrEmitter Emitter(DAG->getTarget(), BB, InsertPos); in EmitSchedule() local
849 return std::prev(Emitter.getInsertPos()); in EmitSchedule()
852 MachineBasicBlock::iterator Before = GetPrevInsn(Emitter.getInsertPos()); in EmitSchedule()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp548 ConstantEmitter &Emitter; member in __anonf29f2d880111::ConstStructBuilder
553 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter,
555 static llvm::Constant *BuildStruct(ConstantEmitter &Emitter,
557 static bool UpdateStruct(ConstantEmitter &Emitter,
562 ConstStructBuilder(ConstantEmitter &Emitter, in ConstStructBuilder() argument
564 : CGM(Emitter.CGM), Emitter(Emitter), Builder(Builder), in ConstStructBuilder()
622 static bool EmitDesignatedInitUpdater(ConstantEmitter &Emitter, in EmitDesignatedInitUpdater() argument
627 return ConstStructBuilder::UpdateStruct(Emitter, Const, Offset, Updater); in EmitDesignatedInitUpdater()
629 auto CAT = Emitter.CGM.getContext().getAsConstantArrayType(Type); in EmitDesignatedInitUpdater()
633 CharUnits ElemSize = Emitter.CGM.getContext().getTypeSizeInChars(ElemType); in EmitDesignatedInitUpdater()
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFStreamer.h37 MCCodeEmitter *Emitter) in MipsELFStreamer() argument
38 : MCELFStreamer(Context, MAB, OS, Emitter) { in MipsELFStreamer()
74 MCCodeEmitter *Emitter, bool RelaxAll);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFStreamer.cpp28 std::unique_ptr<MCCodeEmitter> Emitter) in MipsELFStreamer() argument
30 std::move(Emitter)) { in MipsELFStreamer()
117 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter, in createMipsELFStreamer() argument
120 std::move(Emitter)); in createMipsELFStreamer()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCTargetDesc.cpp106 MCCodeEmitter *Emitter, bool RelaxAll) { in createELFStreamer() argument
107 return createAArch64ELFStreamer(Ctx, TAB, OS, Emitter, RelaxAll); in createELFStreamer()
112 MCCodeEmitter *Emitter, bool RelaxAll, in createMachOStreamer() argument
114 return createMachOStreamer(Ctx, TAB, OS, Emitter, RelaxAll, in createMachOStreamer()
DAArch64ELFStreamer.cpp92 raw_pwrite_stream &OS, MCCodeEmitter *Emitter) in AArch64ELFStreamer() argument
93 : MCELFStreamer(Context, TAB, OS, Emitter), MappingSymbolCounter(0), in AArch64ELFStreamer()
203 MCCodeEmitter *Emitter, bool RelaxAll) { in createAArch64ELFStreamer() argument
204 AArch64ELFStreamer *S = new AArch64ELFStreamer(Context, TAB, OS, Emitter); in createAArch64ELFStreamer()
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFStreamer.cpp28 std::unique_ptr<MCCodeEmitter> Emitter) in MipsELFStreamer() argument
30 std::move(Emitter)) { in MipsELFStreamer()
117 std::unique_ptr<MCObjectWriter> OW, std::unique_ptr<MCCodeEmitter> Emitter, in createMipsELFStreamer() argument
120 std::move(Emitter)); in createMipsELFStreamer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64ELFStreamer.cpp79 std::unique_ptr<MCCodeEmitter> Emitter) in AArch64ELFStreamer() argument
81 std::move(Emitter)), in AArch64ELFStreamer()
207 std::unique_ptr<MCCodeEmitter> Emitter, in createAArch64ELFStreamer() argument
210 Context, std::move(TAB), std::move(OW), std::move(Emitter)); in createAArch64ELFStreamer()
/external/llvm-project/llvm/test/Other/
Dopt-O2-pipeline.ll55 ; CHECK-NEXT: Optimization Remark Emitter
84 ; CHECK-NEXT: Optimization Remark Emitter
93 ; CHECK-NEXT: Optimization Remark Emitter
100 ; CHECK-NEXT: Optimization Remark Emitter
127 ; CHECK-NEXT: Optimization Remark Emitter
146 ; CHECK-NEXT: Optimization Remark Emitter
159 ; CHECK-NEXT: Optimization Remark Emitter
187 ; CHECK-NEXT: Optimization Remark Emitter
220 ; CHECK-NEXT: Optimization Remark Emitter
232 ; CHECK-NEXT: Optimization Remark Emitter
[all …]
Dopt-O3-pipeline-enable-matrix.ll58 ; CHECK-NEXT: Optimization Remark Emitter
89 ; CHECK-NEXT: Optimization Remark Emitter
98 ; CHECK-NEXT: Optimization Remark Emitter
105 ; CHECK-NEXT: Optimization Remark Emitter
132 ; CHECK-NEXT: Optimization Remark Emitter
151 ; CHECK-NEXT: Optimization Remark Emitter
164 ; CHECK-NEXT: Optimization Remark Emitter
192 ; CHECK-NEXT: Optimization Remark Emitter
216 ; CHECK-NEXT: Optimization Remark Emitter
232 ; CHECK-NEXT: Optimization Remark Emitter
[all …]

1234567