Home
last modified time | relevance | path

Searched refs:comment (Results 1 - 25 of 46) sorted by relevance

12

/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/
H A Dspec.rb48 @orphaned << { 'file' => f, 'error' => e, 'comment' => e.backtrace }
190 @orphaned << { 'file' => file, 'error' => 'Bad test format, expected array of titles', 'comment' => raw }
213 @orphaned << { 'file' => file, 'error' => 'Group with given title not found in the ISA', 'comment' => test_group }
223 'comment' => test_group }
238 @orphaned << { 'file' => file, 'error' => 'Given instruction not found in the ISA', 'comment' => test_instr }
242 @orphaned << { 'file' => file, 'error' => 'Given instruction is non-testable', 'comment' => test_instr }
261 'comment' => test_descr }
265 @orphaned << { 'file' => file, 'error' => 'Given description is non-testable', 'comment' => test_descr }
284 'comment' => test_exc }
288 @orphaned << { 'file' => file, 'error' => 'Given exception assertion is non-testable', 'comment'
[all...]
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/
H A Dspec.rb48 @orphaned << { 'file' => f, 'error' => e, 'comment' => e.backtrace }
190 @orphaned << { 'file' => file, 'error' => 'Bad test format, expected array of titles', 'comment' => raw }
213 @orphaned << { 'file' => file, 'error' => 'Group with given title not found in the ISA', 'comment' => test_group }
223 'comment' => test_group }
238 @orphaned << { 'file' => file, 'error' => 'Given instruction not found in the ISA', 'comment' => test_instr }
242 @orphaned << { 'file' => file, 'error' => 'Given instruction is non-testable', 'comment' => test_instr }
261 'comment' => test_descr }
265 @orphaned << { 'file' => file, 'error' => 'Given description is non-testable', 'comment' => test_descr }
284 'comment' => test_exc }
288 @orphaned << { 'file' => file, 'error' => 'Given exception assertion is non-testable', 'comment'
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dcircuit.cpp122 const GateRef inList[], GateType type, const char* comment) in NewGate()
143 if (comment != nullptr) { in NewGate()
144 AddComment(result, std::string(comment)); in NewGate()
154 GateRef Circuit::NewGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* comment) in NewGate() argument
156 return NewGate(meta, MachineType::NOVALUE, inList.size(), inList.data(), GateType::Empty(), comment); in NewGate()
160 const std::initializer_list<GateRef>& args, GateType type, const char* comment) in NewGate()
162 return NewGate(meta, machineType, args.size(), args.begin(), type, comment); in NewGate()
166 const std::vector<GateRef>& inList, GateType type, const char* comment) in NewGate()
168 return NewGate(meta, machineType, inList.size(), inList.data(), type, comment); in NewGate()
171 GateRef Circuit::NewGate(const GateMetaData *meta, MachineType machineType, GateType type, const char* comment) in NewGate() argument
121 NewGate(const GateMetaData *meta, MachineType machineType, size_t numIns, const GateRef inList[], GateType type, const char* comment) NewGate() argument
159 NewGate(const GateMetaData *meta, MachineType machineType, const std::initializer_list<GateRef>& args, GateType type, const char* comment) NewGate() argument
165 NewGate(const GateMetaData *meta, MachineType machineType, const std::vector<GateRef>& inList, GateType type, const char* comment) NewGate() argument
427 ScopedComment(std::string &&str, std::string_view *comment) ScopedComment() argument
[all...]
H A Dhcr_circuit_builder.cpp58 const char* comment) in CallStub()
69 result = Call(cs, glue, target, depend, args, hirGate, comment); in CallStub()
71 result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallStub()
116 const std::vector<GateRef> &args, GateRef hirGate, const char* comment) in Call()
163 GateRef result = GetCircuit()->NewGate(meta, machineType, inputs.size(), inputs.data(), type, comment); in Call()
170 const char* comment) in CallBCHandler()
177 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallBCHandler()
182 const char* comment) in CallBuiltin()
189 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallBuiltin()
194 const char* comment) in CallBuiltinWithArgv()
57 CallStub(GateRef glue, GateRef hirGate, int index, const std::vector<GateRef> &args, const char* comment) CallStub() argument
115 Call(const CallSignature* cs, GateRef glue, GateRef target, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate, const char* comment) Call() argument
169 CallBCHandler(GateRef glue, GateRef target, const std::vector<GateRef> &args, const char* comment) CallBCHandler() argument
181 CallBuiltin(GateRef glue, GateRef target, const std::vector<GateRef> &args, const char* comment) CallBuiltin() argument
193 CallBuiltinWithArgv(GateRef glue, GateRef target, const std::vector<GateRef> &args, const char* comment) CallBuiltinWithArgv() argument
205 CallBCDebugger(GateRef glue, GateRef target, const std::vector<GateRef> &args, const char* comment) CallBCDebugger() argument
217 CallRuntime(GateRef glue, int index, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate, const char* comment) CallRuntime() argument
236 CallRuntimeVarargs(GateRef glue, int index, GateRef argc, GateRef argv, const char* comment) CallRuntimeVarargs() argument
248 CallNGCRuntime(GateRef glue, int index, GateRef depend, const std::vector<GateRef> &args, GateRef hirGate, const char* comment) CallNGCRuntime() argument
349 CallPrivateGetter(GateRef hirGate, GateRef receiver, GateRef accessor, const char* comment) CallPrivateGetter() argument
371 CallPrivateSetter( GateRef hirGate, GateRef receiver, GateRef accessor, GateRef value, const char* comment) CallPrivateSetter() argument
394 CallGetter(GateRef hirGate, GateRef receiver, GateRef holder, GateRef propertyLookupResult, const char* comment) CallGetter() argument
417 CallSetter(GateRef hirGate, GateRef receiver, GateRef holder, GateRef propertyLookupResult, GateRef value, const char* comment) CallSetter() argument
[all...]
H A Dlcr_circuit_builder.cpp24 GateRef CircuitBuilder::BinaryCmp(const GateMetaData* meta, GateRef left, GateRef right, const char* comment) in BinaryCmp() argument
26 return GetCircuit()->NewGate(meta, MachineType::I1, { left, right }, GateType::NJSValue(), comment); in BinaryCmp()
95 GateRef left, GateRef right, GateType gateType, const char* comment) in BinaryArithmetic()
101 return circuit->NewGate(meta, machineType, { left, right }, gateType, comment); in BinaryArithmetic()
168 GateRef CircuitBuilder::DoubleTrunc(GateRef gate, GateRef value, const char* comment) in DoubleTrunc() argument
171 return DoubleTrunc(value, comment); in DoubleTrunc()
175 return CallNGCRuntime(glue, RTSTUB_ID(FloatTrunc), Gate::InvalidGateRef, {value}, gate, comment); in DoubleTrunc()
94 BinaryArithmetic(const GateMetaData* meta, MachineType machineType, GateRef left, GateRef right, GateType gateType, const char* comment) BinaryArithmetic() argument
H A Dpost_schedule.cpp411 int PostSchedule::SelectBarrier(MemoryAttribute::ShareFlag share, const CallSignature*& cs, std::string_view& comment) in SelectBarrier() argument
419 comment = "asm store barrier\0"; in SelectBarrier()
423 comment = "store barrier\0"; in SelectBarrier()
429 comment = "store share barrier\0"; in SelectBarrier()
434 comment = "store not share barrier\0"; in SelectBarrier()
479 std::string_view comment; in LoweringStoreWithBarrierAndPrepareScheduleGate() local
482 index = SelectBarrier(share, cs, comment); in LoweringStoreWithBarrierAndPrepareScheduleGate()
489 Circuit::NullGate(), comment.data()); in LoweringStoreWithBarrierAndPrepareScheduleGate()
543 std::string_view comment; in LoweringStoreUnknownBarrierAndPrepareScheduleGate() local
546 index = SelectBarrier(share, cs, comment); in LoweringStoreUnknownBarrierAndPrepareScheduleGate()
[all...]
H A Dcircuit_builder.h263 const char* comment = nullptr); // 1: default branch weight
360 uint32_t trueWeight = 1, uint32_t falseWeight = 1, const char* comment = nullptr);
419 GateRef CallPrivateGetter(GateRef hirGate, GateRef receiver, GateRef accessor, const char* comment = nullptr);
421 GateRef hirGate, GateRef receiver, GateRef accessor, GateRef value, const char* comment = nullptr);
423 GateRef propertyLookupResult, const char* comment = nullptr);
425 GateRef value, const char* comment = nullptr);
427 const char* comment = nullptr);
429 const char* comment = nullptr);
431 const char* comment = nullptr);
433 const char* comment
[all...]
H A Dcircuit.h52 GateRef NewGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* comment = nullptr);
53 GateRef NewGate(const GateMetaData *meta, MachineType machineType, GateType type, const char* comment = nullptr);
55 const std::initializer_list<GateRef>& args, GateType type, const char* comment = nullptr);
57 const GateRef inList[], GateType type, const char* comment = nullptr);
59 const std::vector<GateRef>& inList, GateType type, const char* comment = nullptr);
242 explicit ScopedComment(std::string &&str, std::string_view *comment);
H A Dlcr_circuit_builder.h320 GateRef CircuitBuilder::Equal(GateRef x, GateRef y, const char* comment) in Equal() argument
331 return BinaryCmp(circuit_->Icmp(static_cast<uint64_t>(ICmpCondition::EQ)), x, y, comment); in Equal()
334 return BinaryCmp(circuit_->Fcmp(static_cast<uint64_t>(FCmpCondition::OEQ)), x, y, comment); in Equal()
341 GateRef CircuitBuilder::NotEqual(GateRef x, GateRef y, const char* comment) in NotEqual() argument
352 return BinaryCmp(circuit_->Icmp(static_cast<uint64_t>(ICmpCondition::NE)), x, y, comment); in NotEqual()
355 return BinaryCmp(circuit_->Fcmp(static_cast<uint64_t>(FCmpCondition::ONE)), x, y, comment); in NotEqual()
H A Dgate.h183 std::string_view comment = "") const;
185 std::string_view comment = "") const;
189 void PrintGateWithAdditionOp(std::string additionOp, std::string_view comment) const;
190 void PrintWithBytecode(std::string_view comment) const;
H A Dgate.cpp791 void Gate::Print(std::string additionOp, bool inListPreview, size_t highlightIdx, std::string_view comment) const in Print()
793 LOG_COMPILER(INFO) << ToString(additionOp, inListPreview, highlightIdx, comment); in Print()
868 static void DumpComment(std::ostringstream &oss, std::string_view comment) in DumpComment() argument
870 oss << ", \"comment\":\"" << comment << "\""; in DumpComment() local
874 std::string_view comment) const in ToString()
886 if (!comment.empty()) { in ToString()
887 DumpComment(oss, comment); in ToString()
1010 void Gate::PrintWithBytecode(std::string_view comment) const in PrintWithBytecode()
1012 PrintGateWithAdditionOp(GetBytecodeStr(), comment); in PrintWithBytecode() local
[all...]
H A Dpost_schedule.h84 int SelectBarrier(MemoryAttribute::ShareFlag share, const CallSignature*& cs, std::string_view& comment);
H A Dcircuit_builder.cpp88 const char* comment) in Branch()
91 return circuit_->NewGate(circuit_->IfBranch(value), { state, condition }, comment); in Branch()
248 uint32_t trueWeight, uint32_t falseWeight, const char* comment) in Branch()
252 GateRef ifBranch = Branch(currentControl, condition, trueWeight, falseWeight, comment); in Branch()
339 std::string comment = Deoptimizier::DisplayItems(type); in DeoptCheck() local
346 frameState, Int64(static_cast<int64_t>(type))}, GateType::NJSValue(), comment.c_str()); in DeoptCheck()
87 Branch(GateRef state, GateRef condition, uint32_t trueWeight, uint32_t falseWeight, const char* comment) Branch() argument
247 Branch(GateRef condition, Label *trueLabel, Label *falseLabel, uint32_t trueWeight, uint32_t falseWeight, const char* comment) Branch() argument
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
H A Ddoclet.py127 raise ValueError(f'Multiple @{d} doclets in same comment')
135 f'@{d1.value} and @{d2.value} doclets in same comment')
150 def doclist(self, comment: str) -> List[NameVal]:
152 for line in comment.split("\n"):
235 def parse_comment(self, comment: str) -> None:
236 """Process all the @Stuff in multiline comment.
238 Assuming only one exclusive doclet in same comment
242 doclets = self.doclist(comment)
275 comment = ''
279 if not comment an
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
H A Dinsn.h57 comment(&memPool), in Insn()
355 comment = str; in SetComment()
360 comment = str; in SetComment()
365 return comment; in GetComment()
370 comment += str; in AppendComment()
773 MapleString comment;
H A Dcg_irbuilder.h52 void SetDebugComment(const MapleString* comment) in SetDebugComment() argument
54 currDedugComment = comment; in SetDebugComment()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
H A Dreg_alloc_lsra.cpp807 /* skip comment and debug insn */ in ComputeLiveInterval()
1180 std::string comment; in InsertCallerSave() local
1187 comment = " SPILL for caller_save " + std::to_string(vRegNO); in InsertCallerSave()
1191 comment += " end"; in InsertCallerSave()
1193 stInsn->SetComment(comment); in InsertCallerSave()
1204 comment = " RELOAD for caller_save " + std::to_string(vRegNO); in InsertCallerSave()
1208 comment += " end"; in InsertCallerSave()
1210 ldInsn->SetComment(comment); in InsertCallerSave()
1320 std::string comment = " SPILL vreg:" + std::to_string(regNO); in SpillOperand() local
1321 stInsn->SetComment(comment); in SpillOperand()
1345 std::string comment = " RELOAD vreg" + std::to_string(regNO); SpillOperand() local
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
H A Dmir_builder.h213 StmtNode *CreateStmtComment(const std::string &comment);
225 void SetCurrentDebugComment(const std::string &comment)
227 currComment = GetMirModule().CurFunction()->AddNewDebugComment(comment);
H A Dmir_nodes.h2526 explicit CommentNode(const MapleAllocator &allocator) : StmtNode(OP_comment), comment(allocator.GetMemPool()) {}
2531 : StmtNode(OP_comment), comment(cmt, allocator.GetMemPool())
2538 : StmtNode(node.GetOpCode(), node.GetPrimType()), comment(node.comment, allocator.GetMemPool())
2560 return comment;
2565 comment = com;
2570 comment = str;
2575 comment = str;
2580 comment += str;
2584 MapleString comment;
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/litecg/
H A Dlmir_builder.cpp265 void LMIRBuilder::SetCurrentDebugComment(const std::string& comment) in SetCurrentDebugComment() argument
267 mirBuilder.SetCurrentDebugComment(comment); in SetCurrentDebugComment()
500 Stmt &LMIRBuilder::Comment(std::string comment) in Comment() argument
502 return *mirBuilder.CreateStmtComment(comment); in Comment()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/
H A Daarch64_cgfunc.h107 void SelectComment(CommentNode &comment) override;
436 Insn &CreateCommentInsn(const std::string &comment) in CreateCommentInsn() argument
439 insn.AddOperand(CreateCommentOperand(comment)); in CreateCommentInsn()
443 Insn &CreateCommentInsn(const MapleString &comment) in CreateCommentInsn() argument
446 insn.AddOperand(CreateCommentOperand(comment)); in CreateCommentInsn()
/arkcompiler/runtime_core/static_core/plugins/ets/doc/
H A Dvalidate-recipes237 if ($line =~ /^\.\. :comment-begin:/) {
239 } elsif ($line =~ /^\.\. :comment-end:/) {
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/litecg/
H A Dlmir_builder.h379 Stmt &Comment(std::string comment);
435 void SetCurrentDebugComment(const std::string& comment);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/assembler/
H A Dasm_assembler.h86 void EmitDebugComment(const char* comment) override;
376 void EmitComment(std::string comment) in EmitComment() argument
378 EmitDebugComment(comment.c_str()); in EmitComment()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/
H A Daarch64_peep.cpp863 /* keep the comment */ in RemoveInsnAndKeepComment()
866 MapleString comment = insn.GetComment(); in RemoveInsnAndKeepComment() local
867 if (comment.c_str() != nullptr && strlen(comment.c_str()) > 0) { in RemoveInsnAndKeepComment()
868 newComment += comment.c_str(); in RemoveInsnAndKeepComment()
870 comment = prevInsn.GetComment(); in RemoveInsnAndKeepComment()
871 if (comment.c_str() != nullptr && strlen(comment.c_str()) > 0) { in RemoveInsnAndKeepComment()
872 newComment = newComment + " " + comment.c_str(); in RemoveInsnAndKeepComment()

Completed in 31 milliseconds

12