| /arkcompiler/runtime_core/static_core/libpandafile/tests/ |
| D | bytecode_instruction_tests.cpp | 35 BytecodeInstruction inst(bytecode); in TEST() local 43 BytecodeInstruction inst(bytecode); in TEST() local 52 BytecodeInstruction inst(bytecode); in TEST() local 59 BytecodeInstruction inst(bytecode); in TEST() local 67 BytecodeInstruction inst(bytecode); in TEST() local 75 BytecodeInstruction inst(bytecode); in TEST() local 84 BytecodeInstruction inst(bytecode); in TEST() local 91 BytecodeInstruction inst(bytecode); in TEST() local 99 BytecodeInstruction inst(bytecode); in TEST() local 107 BytecodeInstruction inst(bytecode); in TEST() local [all …]
|
| /arkcompiler/runtime_core/compiler/tests/ |
| D | iterators_test.cpp | 34 for (auto inst : block->PhiInsts()) { in Check() local 40 for (auto inst : block->Insts()) { in Check() local 46 for (auto inst : block->AllInsts()) { in Check() local 53 for (auto inst : block->PhiInstsSafe()) { in Check() local 59 for (auto inst : block->InstsSafe()) { in Check() local 65 for (auto inst : block->AllInstsSafe()) { in Check() local 72 for (auto inst : block->PhiInstsSafeReverse()) { in Check() local 79 for (auto inst : block->InstsSafeReverse()) { in Check() local 86 for (auto inst : block->AllInstsSafeReverse()) { in Check() local 94 for (auto inst : block->PhiInstsSafe()) { in Check() local [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/tests/ |
| D | iterators_test.cpp | 29 for (auto inst : block->PhiInsts()) { in CheckInstForwardIterator() local 35 for (auto inst : block->Insts()) { in CheckInstForwardIterator() local 41 for (auto inst : block->AllInsts()) { in CheckInstForwardIterator() local 50 for (auto inst : block->PhiInstsSafe()) { in CheckInstForwardValidIterator() local 56 for (auto inst : block->InstsSafe()) { in CheckInstForwardValidIterator() local 62 for (auto inst : block->AllInstsSafe()) { in CheckInstForwardValidIterator() local 71 for (auto inst : block->PhiInstsSafeReverse()) { in CheckInstBackwardValidIterator() local 78 for (auto inst : block->InstsSafeReverse()) { in CheckInstBackwardValidIterator() local 85 for (auto inst : block->AllInstsSafeReverse()) { in CheckInstBackwardValidIterator() local 96 for (auto inst : block->PhiInstsSafe()) { in CheckInstForwardValidIteratorWithErasing() local [all …]
|
| D | const_folding_test.cpp | 64 ConstantInst *inst = graph->FindConstant(DataType::INT64, result); in CmpTest() local 87 ConstantInst *inst = nullptr; in CastTest() local 114 auto inst = graph->FindConstant(DataType::INT64, *result); in CheckCompareEqualInputs() local 136 auto inst = graph->FindConstant(DataType::INT64, result); in CheckCompareLoadImmediate() local 362 auto inst = GetGraph()->FindConstant(DataType::INT64, result); in TEST_F() local 381 auto inst = GetGraph()->FindConstant(DataType::INT64, result); in TEST_F() local 401 auto inst = graph->FindConstant(DataType::INT32, result); in TEST_F() local 420 auto inst = GetGraph()->FindConstant(DataType::FLOAT32, bit_cast<uint32_t, float>(result)); in TEST_F() local 439 auto inst = GetGraph()->FindConstant(DataType::FLOAT64, bit_cast<uint64_t, double>(result)); in TEST_F() local 458 auto inst = GetGraph()->FindConstant(DataType::INT64, result); in TEST_F() local [all …]
|
| /arkcompiler/runtime_core/libpandafile/tests/ |
| D | bytecode_instruction_tests.cpp | 32 BytecodeInstruction inst(bytecode); in TEST() local 40 BytecodeInstruction inst(bytecode); in TEST() local 52 BytecodeInstruction inst(bytecode); in TEST() local 59 BytecodeInstruction inst(bytecode); in TEST() local 67 BytecodeInstruction inst(bytecode); in TEST() local 75 BytecodeInstruction inst(bytecode); in TEST() local 87 BytecodeInstruction inst(bytecode); in TEST() local 94 BytecodeInstruction inst(bytecode); in TEST() local 102 BytecodeInstruction inst(bytecode); in TEST() local 110 BytecodeInstruction inst(bytecode); in TEST() local [all …]
|
| D | bytecode_imm_fetch_tests.cpp | 31 BytecodeInstruction inst(bytecode); in TEST() local 43 BytecodeInstruction inst(bytecode); in TEST() local 54 BytecodeInstruction inst(bytecode); in TEST() local 66 BytecodeInstruction inst(bytecode); in TEST() local 79 BytecodeInstruction inst(bytecode); in TEST() local 92 BytecodeInstruction inst(bytecode); in TEST() local 104 BytecodeInstruction inst(bytecode); in TEST() local 119 BytecodeInstruction inst(bytecode); in TEST() local 134 BytecodeInstruction inst(bytecode); in TEST() local 149 BytecodeInstruction inst(bytecode); in TEST() local [all …]
|
| D | bytecode_jump_range_tests.cpp | 31 BytecodeInstruction inst(bytecode); in TEST() local 37 BytecodeInstruction inst(bytecode); in TEST() local 47 BytecodeInstruction inst(bytecode); in TEST() local 53 BytecodeInstruction inst(bytecode); in TEST() local 62 BytecodeInstruction inst(bytecode); in TEST() local 68 BytecodeInstruction inst(bytecode); in TEST() local
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/ |
| D | memory_barriers.cpp | 30 for (auto inst : barriersInsts_) { in MergeBarriers() local 37 bool OptimizeMemoryBarriers::CheckInst(Inst *inst) in CheckInst() 42 void OptimizeMemoryBarriers::CheckAllInputs(Inst *inst) in CheckAllInputs() 66 void OptimizeMemoryBarriers::VisitCallStatic(GraphVisitor *v, Inst *inst) in VisitCallStatic() 74 void OptimizeMemoryBarriers::VisitCallIndirect(GraphVisitor *v, Inst *inst) in VisitCallIndirect() 79 void OptimizeMemoryBarriers::VisitCall(GraphVisitor *v, Inst *inst) in VisitCall() 84 void OptimizeMemoryBarriers::VisitCallResolvedStatic(GraphVisitor *v, Inst *inst) in VisitCallResolvedStatic() 92 void OptimizeMemoryBarriers::VisitCallVirtual(GraphVisitor *v, Inst *inst) in VisitCallVirtual() 100 void OptimizeMemoryBarriers::VisitCallResolvedVirtual(GraphVisitor *v, Inst *inst) in VisitCallResolvedVirtual() 108 void OptimizeMemoryBarriers::VisitCallDynamic(GraphVisitor *v, Inst *inst) in VisitCallDynamic() [all …]
|
| D | cleanup.h | 115 inline uint32_t GetInstId(Inst *inst) const in GetInstId() 124 void SetIdom(Inst *inst, Inst *idom) in SetIdom() 128 Inst *GetIdom(Inst *inst) const in GetIdom() 136 void SetAncestor(Inst *inst, Inst *anc) in SetAncestor() 140 Inst *GetAncestor(Inst *inst) const in GetAncestor() 148 InstVector &GetBucket(Inst *inst) in GetBucket() 156 void SetLabel(Inst *inst, Inst *label) in SetLabel() 160 Inst *GetLabel(Inst *inst) const in GetLabel() 168 void SetParent(Inst *inst, Inst *parent) in SetParent() 172 Inst *GetParent(Inst *inst) const in GetParent() [all …]
|
| D | string_builder_utils.cpp | 20 bool IsStringBuilderInstance(Inst *inst) in IsStringBuilderInstance() 35 bool IsMethodStringConcat(const Inst *inst) in IsMethodStringConcat() 50 bool IsMethodStringBuilderConstructorWithStringArg(const Inst *inst) in IsMethodStringBuilderConstructorWithStringArg() 65 bool IsMethodStringBuilderConstructorWithCharArrayArg(const Inst *inst) in IsMethodStringBuilderConstructorWithCharArrayArg() 80 bool IsStringBuilderToString(const Inst *inst) in IsStringBuilderToString() 94 bool IsMethodStringBuilderDefaultConstructor(const Inst *inst) in IsMethodStringBuilderDefaultConstructor() 109 static bool IsMethodOrIntrinsicCall(const Inst *inst, const Inst *self) in IsMethodOrIntrinsicCall() 136 bool IsStringBuilderCtorCall(const Inst *inst, const Inst *self) in IsStringBuilderCtorCall() 146 bool IsStringBuilderMethod(const Inst *inst, const Inst *self) in IsStringBuilderMethod() 155 bool IsNullCheck(const Inst *inst, const Inst *self) in IsNullCheck() [all …]
|
| D | vn.cpp | 26 inline bool IsNotCommutativeInst(Inst *inst) in IsNotCommutativeInst() 31 inline bool IsAddressArithmeticInst(Inst *inst) in IsAddressArithmeticInst() 37 static bool AddClassInst(Inst *inst, VnObject *obj) in AddClassInst() 56 static bool AddGlobalVarInst(Inst *inst, VnObject *obj) in AddGlobalVarInst() 68 static bool AddSelectImmInst(Inst *inst, VnObject *obj) in AddSelectImmInst() 88 static bool AddCommutativeInst(Inst *inst, VnObject *obj) in AddCommutativeInst() 112 static void AddSpecialTraits(Inst *inst, VnObject *obj) in AddSpecialTraits() 140 static bool IsIrreducibleClassInst(Inst *inst, Inst *equivInst) in IsIrreducibleClassInst() 146 static bool AddResolver(Inst *inst, VnObject *obj) in AddResolver() 181 void VnObject::Add(Inst *inst) in Add() [all …]
|
| D | lowering.cpp | 26 void Lowering::VisitAdd([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitAdd() 35 void Lowering::VisitSub([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitSub() 44 void Lowering::VisitCastValueToAnyType([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitCastValueToAnyType() 90 void Lowering::VisitCast([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitCast() 121 void Lowering::VisitBitwiseBinaryOperation([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitBitwiseBinaryOperation() 130 void Lowering::VisitOr(GraphVisitor *v, Inst *inst) in VisitOr() 135 void Lowering::VisitAnd(GraphVisitor *v, Inst *inst) in VisitAnd() 140 void Lowering::VisitXor(GraphVisitor *v, Inst *inst) in VisitXor() 145 void Lowering::VisitAndNot([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitAndNot() 150 void Lowering::VisitXorNot([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitXorNot() [all …]
|
| /arkcompiler/runtime_core/static_core/plugins/ets/libllvmbackend/ |
| D | ets_llvm_ir_constructor_h_gen.inl | 46 bool EmitStringRepeat(Inst *inst) 50 bool EmitInt8ArrayFillInternal(Inst *inst) 54 bool EmitInt16ArrayFillInternal(Inst *inst) 58 bool EmitInt32ArrayFillInternal(Inst *inst) 62 bool EmitBigInt64ArrayFillInternal(Inst *inst) 69 bool EmitUInt8ClampedArrayFillInternal(Inst *inst) 73 bool EmitUInt8ArrayFillInternal(Inst *inst) 77 bool EmitUInt16ArrayFillInternal(Inst *inst) 81 bool EmitUInt32ArrayFillInternal(Inst *inst) 85 bool EmitBigUInt64ArrayFillInternal(Inst *inst)
|
| D | ets_llvm_ir_constructor_gen.inl | 16 bool LLVMIrConstructor::EmitArrayCopyTo(Inst *inst) 49 bool LLVMIrConstructor::EmitStdStringSubstring(Inst *inst) 54 bool LLVMIrConstructor::EmitStringBuilderAppendBool(Inst *inst) 64 bool LLVMIrConstructor::EmitStringBuilderAppendChar(Inst *inst) 74 bool LLVMIrConstructor::EmitStringBuilderAppendByte(Inst *inst) 81 bool LLVMIrConstructor::EmitStringBuilderAppendShort(Inst *inst) 88 bool LLVMIrConstructor::EmitStringBuilderAppendInt(Inst *inst) 95 bool LLVMIrConstructor::EmitStringBuilderAppendLong(Inst *inst) 102 bool LLVMIrConstructor::EmitStringBuilderAppendString(Inst *inst) 146 bool LLVMIrConstructor::EmitStringBuilderAppendStrings(Inst *inst) [all …]
|
| /arkcompiler/runtime_core/libabckit/include/cpp/headers/ |
| D | dynamic_isa_impl.h | 32 inline core::Module DynamicIsa::GetModule(Instruction inst) && in GetModule() 40 inline Instruction DynamicIsa::SetModule(Instruction inst, core::Module mdl) && in SetModule() 48 inline AbckitIsaApiDynamicConditionCode DynamicIsa::GetConditionCode(Instruction inst) && in GetConditionCode() 56 inline Instruction DynamicIsa::SetConditionCode(Instruction inst, AbckitIsaApiDynamicConditionCode … in SetConditionCode() 64 inline AbckitIsaApiDynamicOpcode DynamicIsa::GetOpcode(Instruction inst) && in GetOpcode() 72 inline core::ImportDescriptor DynamicIsa::GetImportDescriptor(Instruction inst) && in GetImportDescriptor() 80 inline Instruction DynamicIsa::SetImportDescriptor(Instruction inst, core::ImportDescriptor descr) … in SetImportDescriptor() 88 inline core::ExportDescriptor DynamicIsa::GetExportDescriptor(Instruction inst) && in GetExportDescriptor() 96 inline Instruction DynamicIsa::SetExportDescriptor(Instruction inst, core::ExportDescriptor descr) … in SetExportDescriptor() 163 AbckitInst *inst = conf->cDynapi_->iCreateLdnan(graph_.GetResource()); in CreateLdnan() local [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/optimizations/ |
| D | cleanup.h | 94 inline uint32_t GetInstId(Inst *inst) const in GetInstId() 103 void SetIdom(Inst *inst, Inst *idom) in SetIdom() 107 Inst *GetIdom(Inst *inst) const in GetIdom() 115 void SetAncestor(Inst *inst, Inst *anc) in SetAncestor() 119 Inst *GetAncestor(Inst *inst) const in GetAncestor() 127 InstVector &GetBucket(Inst *inst) in GetBucket() 135 void SetLabel(Inst *inst, Inst *label) in SetLabel() 139 Inst *GetLabel(Inst *inst) const in GetLabel() 147 void SetParent(Inst *inst, Inst *parent) in SetParent() 151 Inst *GetParent(Inst *inst) const in GetParent() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
| D | graph_checker.cpp | 64 for (auto inst : block->AllInsts()) { in UserInputCheck() local 238 void GraphChecker::CheckInputType(Inst *inst) in CheckInputType() 279 uint32_t GetInliningDepth(Inst *inst) in GetInliningDepth() 294 void GraphChecker::CheckUserOfInt32([[maybe_unused]] BasicBlock *block, Inst *inst, User &user) in CheckUserOfInt32() 320 void GraphChecker::CheckInstUsers(Inst *inst, [[maybe_unused]] BasicBlock *block) in CheckUserOfInt32() 346 for (auto inst : block->AllInsts()) { in CheckUserOfInt32() local 400 for (auto inst : block->Insts()) { in CheckUserOfInt32() local 422 for (auto inst : block->Insts()) { in CheckUserOfInt32() local 433 for (auto inst : domBlock->InstsSafeReverse()) { in CheckUserOfInt32() local 462 for (auto inst : domBlock->InstsSafeReverse()) { in CheckUserOfInt32() local [all …]
|
| D | ir_constructor.h | 125 auto inst = graph_->CreateInst(std::forward<Args>(args)...); in NewInst() local 159 Inst *inst = nullptr; in NewConstant() local 186 auto inst = graph_->AddNewParameter(argNumber); in NewParameter() local 197 auto inst = graph_->GetOrCreateNullPtr(); in AddNullptrInst() local 311 auto inst = CurrentInst(); variable 345 auto inst = CurrentInst(); in Likely() local 363 auto inst = CurrentInst(); in Unlikely() local 381 auto inst = CurrentInst(); in IsArray() local 397 auto inst = CurrentInst(); in CC() local 446 auto inst = CurrentInst(); in Inlined() local [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/ |
| D | alias_visitor.cpp | 156 bool Pointer::IsEscapingAlias(const Inst *inst) in IsEscapingAlias() 268 static Pointer GetDynamicAccessPointer(Inst *inst, Inst *base, DynObjectAccessType type, DynObjectA… in GetDynamicAccessPointer() 292 static Pointer ParseArrayElement(Inst *inst) in ParseArrayElement() 314 static Pointer ParsePoolConstant(Inst *inst) in ParsePoolConstant() 333 static Pointer ParseStaticField(Inst *inst) in ParseStaticField() 361 static Pointer ParseObjectField(Inst *inst) in ParseObjectField() 390 static Pointer ParseDynamicField(Inst *inst) in ParseDynamicField() 413 bool AliasVisitor::ParseInstruction(Inst *inst, Pointer *pointer) in ParseInstruction() 472 void AliasVisitor::VisitNullPtr(GraphVisitor *v, Inst *inst) in VisitNullPtr() 476 void AliasVisitor::VisitLoadUniqueObject(GraphVisitor *v, Inst *inst) in VisitLoadUniqueObject() [all …]
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | reg_encoder.cpp | 22 static bool IsDstRegNeedRenumbering([[maybe_unused]] ark::compiler::Inst *inst) in IsDstRegNeedRenumbering() 27 [[maybe_unused]] ark::compiler::Inst *inst) in CheckWidthAbcKitIntrinsic() 35 static bool IsIntrinsicRange(Inst *inst) in IsIntrinsicRange() 65 static bool CanHoldRange(Inst *inst) in CanHoldRange() 83 for (const auto &inst : bb->AllInsts()) { in CalculateNumNeededRangeTemps() local 212 static void RenumberSpillFillRegs(ark::compiler::SpillFillInst *inst, const ark::compiler::Register… in RenumberSpillFillRegs() 225 static void RenumberRegsForInst(compiler::Inst *inst, const compiler::Register minReg, const compil… in RenumberRegsForInst() 259 for (auto inst : bb->AllInsts()) { in RenumberRegs() local 356 for (auto inst : bb->AllInstsSafe()) { in InsertSpills() local 374 for (auto inst : bb->AllInstsSafe()) { in CalculateNumNeededTemps() local [all …]
|
| D | canonicalization.cpp | 26 for (auto inst : bb->AllInsts()) { in RunImpl() local 37 static bool IsDominateReverseInputs(const compiler::Inst *inst) in IsDominateReverseInputs() 54 static bool BetterToSwapCompareInputs(const compiler::Inst *inst, const compiler::Inst *input0, in BetterToSwapCompareInputs() 70 static bool SwapInputsIfNecessary(compiler::Inst *inst, const bool necessary) in SwapInputsIfNecessary() 85 bool Canonicalization::TrySwapConstantInput(Inst *inst) in TrySwapConstantInput() 90 bool Canonicalization::TrySwapReverseInput(Inst *inst) in TrySwapReverseInput() 95 void Canonicalization::VisitCommutative(Inst *inst) in VisitCommutative() 107 bool AllowSwap(const compiler::Inst *inst) in AllowSwap() 123 auto inst = instBase->CastToCompare(); in VisitCompare() local
|
| D | reg_acc_alloc.cpp | 44 static bool IsAccWriteInInst(compiler::Inst *inst) in IsAccWriteInInst() 62 static bool IsAccReadFromReg(compiler::Inst *srcInst, compiler::Inst *inst) in IsAccReadFromReg() 77 compiler::Inst *inst = srcInst->GetNext(); in IsAccWriteBetween() local 118 static bool IsCommutative(compiler::Inst *inst) in IsCommutative() 127 bool UserNeedSwapInputs(compiler::Inst *inst, compiler::Inst *user) in UserNeedSwapInputs() 152 bool RegAccAlloc::CanUserReadAcc(compiler::Inst *inst, compiler::Inst *user) const in CanUserReadAcc() 248 void RegAccAlloc::SetNeedLda(compiler::Inst *inst, bool need) in SetNeedLda() 264 static inline bool MaybeRegDst(compiler::Inst *inst) in MaybeRegDst() 278 static void InitRegistersForInst(compiler::Inst *inst) in InitRegistersForInst() 297 for (auto inst : block->Insts()) { in InitRegisters() local [all …]
|
| /arkcompiler/runtime_core/disassembler/tests/ |
| D | disassembler_imm_tests.cpp | 32 BytecodeInstruction inst(bytecode); in TEST() local 41 BytecodeInstruction inst(bytecode); in TEST() local 50 BytecodeInstruction inst(bytecode); in TEST() local 59 BytecodeInstruction inst(bytecode); in TEST() local 71 BytecodeInstruction inst(bytecode); in TEST() local 80 BytecodeInstruction inst(bytecode); in TEST() local 89 BytecodeInstruction inst(bytecode); in TEST() local 99 BytecodeInstruction inst(bytecode); in TEST() local
|
| /arkcompiler/runtime_core/libabckit/src/ |
| D | ir_impl.cpp | 292 …icBlock *BBsplitBlockAfterInstruction(AbckitBasicBlock *basicBlock, AbckitInst *inst, bool makeEdg… in BBsplitBlockAfterInstruction() 301 extern "C" void BBaddInstFront(AbckitBasicBlock *basicBlock, AbckitInst *inst) in BBaddInstFront() 309 extern "C" void BBaddInstBack(AbckitBasicBlock *basicBlock, AbckitInst *inst) in BBaddInstBack() 483 auto *inst = BBcreatePhiStatic(bb, argCount, args); in BBcreatePhi() local 500 auto inst = BBcreateCatchPhiStatic(catchBegin, argCount, args); in BBcreateCatchPhi() local 553 extern "C" void Iremove(AbckitInst *inst) in Iremove() 564 extern "C" uint32_t IgetId(AbckitInst *inst) in IgetId() 575 extern "C" AbckitInst *IgetNext(AbckitInst *inst) in IgetNext() 597 extern "C" void IinsertAfter(AbckitInst *inst, AbckitInst *refInst) in IinsertAfter() 605 extern "C" void IinsertBefore(AbckitInst *inst, AbckitInst *refInst) in IinsertBefore() [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/optimizer/ir_builder/ |
| D | phi_resolver.h | 46 for (auto inst : bb->AllInstsSafe()) { in Run() local 55 for (auto inst : bb->AllInstsSafe()) { in Run() local 91 static void SetTypeByInputs(Inst *inst) in SetTypeByInputs() 105 void FindUsersRec(Inst *inst) in FindUsersRec() 124 void FindInputsRec(Inst *inst) in FindInputsRec() 215 void MarkHasRealUserRec(Inst *inst) in MarkHasRealUserRec() 228 void TryRemoveFromSaveStates(Inst *inst) in TryRemoveFromSaveStates() 268 auto inst = *it; in MarkInstsOnPaths() local 282 void RemovePhiInst(Inst *inst) in RemovePhiInst() 315 void MarkPhiWithRealUsers(Inst *inst) in MarkPhiWithRealUsers() [all …]
|