Home
last modified time | relevance | path

Searched refs:isa (Results 1 - 25 of 36) sorted by relevance

12

/arkcompiler/runtime_core/static_core/tests/cts-generator/generator/
H A Dtest_base.rb18 def initialize(isa, command, definitions, predefined, skip_header)
19 @isa = isa
28 isa = @isa.clone
29 isa.merge! @command[Generator::TEST_COMMAND_ISA]
37 content.puts [isa].to_yaml.split("\n").map { |line| '#%s' % line }.join("\n")
H A Dsingle_test.rb20 def initialize(command, isa, definitions, predefined, skip_header)
21 super isa, command, definitions, predefined, skip_header
29 @isa = isa
H A Dcommand.rb18 def initialize(command, isa, test_name, definitions, predefined, output, skip_header)
21 # isa: Generator::TEST_ISA
30 @isa = isa
100 test_case = TestCase.new @command, current_case, @isa, @definitions, @predefined, template, @skip_header
112 test = SingleTest.new @command, @isa, @definitions, @predefined, @skip_header
H A Dtest.rb25 @isa = test[Generator::TEST_ISA]
58 command = Command.new raw_command, @isa, @test_name, @definitions, @predefined, @output, @skip_header
/arkcompiler/runtime_core/tests/cts-generator/generator/
H A Dtest_base.rb18 def initialize(isa, command, definitions, predefined, skip_header)
19 @isa = isa
28 isa = @isa.clone
29 isa.merge! @command[Generator::TEST_COMMAND_ISA]
37 content.puts [isa].to_yaml.split("\n").map { |line| '#%s' % line }.join("\n")
H A Dsingle_test.rb20 def initialize(command, isa, definitions, predefined, skip_header)
21 super isa, command, definitions, predefined, skip_header
29 @isa = isa
H A Dcommand.rb18 def initialize(command, isa, test_name, definitions, predefined, output, skip_header)
21 # isa: Generator::TEST_ISA
30 @isa = isa
100 test_case = TestCase.new @command, current_case, @isa, @definitions, @predefined, template, @skip_header
112 test = SingleTest.new @command, @isa, @definitions, @predefined, @skip_header
H A Dtest.rb25 @isa = test[Generator::TEST_ISA]
58 command = Command.new raw_command, @isa, @test_name, @definitions, @predefined, @output, @skip_header
/arkcompiler/runtime_core/static_core/irtoc/lang/
H A Disa.rb36 isa = YAML.load_file(File.expand_path(isa_filename))
37 isa = JSON.parse(isa.to_json, object_class: OpenStruct).freeze
39 Gen.on_require(isa)
H A Dirtoc.rb25 require_relative 'isa'
185 abort "ISA YAML file is not specified" unless Options.isa
191 ISA.setup Options.isa, Options.isapi
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/
H A Dgc_intrusion_check.cpp133 if (!llvm::isa<Instruction>(val) && !llvm::isa<Argument>(val)) { in CheckInstruction()
148 auto instVal = llvm::isa<Argument>(val) ? nullptr : llvm::cast<Instruction>(val); in CheckInstruction()
150 if (llvm::isa<PHINode>(start)) { in CheckInstruction()
162 if (llvm::isa<Argument>(val)) { in CheckInstruction()
193 start = llvm::isa<GCStatepointInst>(start) ? start->getPrevNode() : start; in FindDefOrStatepointRecursive()
198 if (llvm::isa<GCStatepointInst>(inst)) { in FindDefOrStatepointRecursive()
220 if (!llvm::isa<LoadInst>(ref) || !ref->getType()->isIntegerTy(POINTER_WIDTH_BITS)) { in IsHiddenGcRef()
229 if (llvm::isa<IntToPtrInst>(zextUser) && IsGcRefType(zextUser->getType())) { in IsHiddenGcRef()
260 if (llvm::isa<GCStatepointIns in run()
[all...]
H A Dgep_propagation.cpp159 ASSERT((llvm::isa<PHINode, SelectInst>(inst))); in SplitGepSelectors()
169 if (!llvm::isa<PHINode, SelectInst>(inst)) { in SplitGepSelectors()
235 ASSERT((llvm::isa<SelectInst, PHINode>(inst))); in GenerateSelectorInputs()
249 bool select = llvm::isa<SelectInst>(inst); in GenerateSelectorInputs()
252 if (!llvm::isa<llvm::UndefValue>(mbase->getOperand(i))) { in GenerateSelectorInputs()
265 if (llvm::isa<llvm::ConstantExpr>(offset)) { in GetConstantOffset()
270 if (offset->isNullValue() || llvm::isa<llvm::PoisonValue, llvm::UndefValue>(offset)) { in GetConstantOffset()
283 while (!IsGcRefType(base->getType()) && llvm::isa<GetElementPtrInst, CastInst>(base)) { in GetBasePointer()
284 derived |= llvm::isa<GetElementPtrInst>(base); in GetBasePointer()
288 while (llvm::isa<GetElementPtrIns in GetBasePointer()
[all...]
H A Dprune_deopt.cpp98 if (llvm::isa<Function>(inputs[i])) { in IsCaughtDeoptimization()
113 if (llvm::isa<Function>(inputs[i])) { in IsNoReturn()
131 if (llvm::isa<Function>(ops)) { in EncodeDeoptBundle()
144 if (llvm::isa<Function>(ops)) { in EncodeDeoptBundle()
165 if (llvm::isa<Function>(inputs[i])) { in GetInlineInfo()
H A Dexpand_atomics.cpp58 if (llvm::isa<llvm::FenceInst>(atomicInstruction)) { in InsertAddrSpaceCast()
63 if (llvm::isa<llvm::StoreInst>(atomicInstruction)) { in InsertAddrSpaceCast()
H A Dintrinsics_lowering.cpp57 ASSERT(llvm::isa<llvm::CallInst>(&instruction)); in run()
170 if (llvm::isa<llvm::MemCpyInst>(call) || llvm::isa<llvm::MemMoveInst>(call) || in HandleCall()
171 llvm::isa<llvm::MemSetInst>(call)) { in HandleCall()
H A Dgc_intrusion.cpp154 if (userBlock == &block || llvm::isa<PHINode>(user)) { in PopulateLiveInByUsers()
171 if (llvm::isa<Argument>(incoming) || llvm::isa<Instruction>(incoming)) { in PopulateLiveOutByPhis()
263 if (llvm::isa<CallInst>(inst)) { in run()
289 while (inst != nullptr && !llvm::isa<PHINode>(inst)) { in RewriteWithGcInBlock()
292 if (IsGcRefType(ops->getType()) && (llvm::isa<Argument>(ops) || llvm::isa<Instruction>(ops)) && in RewriteWithGcInBlock()
616 bool needDominance = llvm::isa<Instruction>(to) && llvm::cast<Instruction>(to)->getParent() == block; in ReplaceDominatedUses()
636 if (llvm::isa<PHINode>(uinst)) { in ReplaceDominatedUses()
639 if (!llvm::isa<PHINod in ReplaceDominatedUses()
[all...]
H A Daarch64_fixup_sdiv.cpp49 if (sub->uses().empty() && llvm::isa<llvm::Instruction>(sub)) { in ReplaceSelect()
H A Dark_gvn.cpp148 llvm::isa<llvm::ConstantInt>(callInst->getOperand(1))) { in RunOnBasicBlock()
187 if (!llvm::isa<llvm::ConstantInt>(typeId)) { in ParseBuiltin()
H A Dinsert_safepoints.cpp71 while (llvm::isa<llvm::AllocaInst>(insertInst)) { in InsertSafepointOnEntry()
H A Dark_inlining.cpp111 if (callBase == nullptr || llvm::isa<llvm::IntrinsicInst>(&inst)) { in run()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/
H A Dgc_utils.cpp64 if (llvm::isa<llvm::IntToPtrInst>(val)) { in IsDerivedImpl()
67 if (llvm::isa<llvm::CastInst>(val)) { in IsDerivedImpl()
74 return llvm::isa<llvm::GetElementPtrInst>(val) ? DerivedStatus::DERIVED : DerivedStatus::NOT_DERIVED; in IsDerivedImpl()
131 if (!llvm::isa<llvm::PHINode, llvm::SelectInst>(root)) { in HasBeenGcRef()
132 if (!llvm::isa<llvm::Constant>(root) && !any) { in HasBeenGcRef()
141 for (size_t i = llvm::isa<llvm::SelectInst>(inst) ? 1 : 0; i < inst->getNumOperands(); ++i) { in HasBeenGcRef()
H A Dgc_utils.h73 return llvm::isa<llvm::CastInst>(val) || IsNullCmp(val); in IsAllowedEscapedUser()
/arkcompiler/runtime_core/static_core/libllvmbackend/transforms/passes/inline_ir/
H A Dremove_unused_functions.cpp37 using llvm::isa;
84 if (isa<Function>(value)) { in VisitValue()
95 } else if (isa<BasicBlock>(value)) { in VisitValue()
100 } else if (isa<User>(value)) { in VisitValue()
106 if (isa<Argument, llvm::MetadataAsValue, InlineAsm>(value)) { in VisitValue()
H A Dcleanup_inline_module.cpp47 using llvm::isa;
138 ASSERT(isa<Function>(function)); in PrintForHasAddressTaken()
279 if (isa<Function>(value)) { in IsInlinable()
334 if (isa<GlobalVariable>(value)) { in IsInlinable()
365 if (isa<User>(value)) { in IsInlinable()
374 if (isa<BasicBlock>(value)) { in IsInlinable()
382 if (isa<Argument, InlineAsm, Constant, llvm::MetadataAsValue>(value)) { in IsInlinable()
/arkcompiler/runtime_core/static_core/compiler/tools/
H A Dir_builder_coverage.sh37 ISA=$PANDA_BINARY_ROOT/isa/isa.yaml

Completed in 10 milliseconds

12