Home
last modified time | relevance | path

Searched refs:IsConst (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/runtime_core/libpandabase/utils/
Dbit_vector.h29 template <bool IsConst>
34 template <bool IsConst>
35 inline void fill(panda::BitVectorIterator<IsConst> first, panda::BitVectorIterator<IsConst> last, b…
94 template <bool IsConst>
96 using WordType = std::conditional_t<IsConst, const uint32_t, uint32_t>;
97 using Reference = std::conditional_t<IsConst, bool, BitReference>;
98 using Pointer = std::conditional_t<IsConst, const bool *, BitReference *>;
142 if constexpr (IsConst) { // NOLINT(readability-braces-around-statements)
235 friend class BitVectorIterator<!IsConst>;
633 template <bool IsConst>
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/
Dreg_acc_alloc.cpp204 if (inst->IsConst()) { in RunImpl()
209 if (inst->IsConst()) { in RunImpl()
248 } else if (inst->IsConst()) { in RunImpl()
275 if (input->IsConst()) { in RunImpl()
Dcodegen.cpp362 if (!cvat_inst->GetInput(0).GetInst()->IsConst()) { in IsEcmaConstTemplate()
526 ASSERT(cvat->GetInput(0).GetInst()->IsConst()); in VisitCastValueToAnyType()
532 ASSERT(cvat->GetInput(0).GetInst()->IsConst()); in VisitCastValueToAnyType()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dlowering.cpp48 if (in0->IsConst()) { in BetterToSwapCompareInputs()
49 if (in1->IsConst()) { in BetterToSwapCompareInputs()
117 if (cst->IsConst() && ConstantFitsCompareImm(cst, size, cc)) { in LowerIf()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsAsExpression.h58 bool IsConst() const in IsConst() function
DtsEnumDeclaration.h80 bool IsConst() const in IsConst() function
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dinst_builder-inl.h68 if (input->IsConst() && !DataType::IsFloatType(type)) { in BuildCastToAnyNumber()
Dphi_resolver.h183 if (input_inst->IsConst() && input_type == DataType::INT64) { in CheckPhiInputs()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_resolver.cpp194 if (input_inst->IsConst() || !IsTypeCollectable(input_inst->GetType())) { in FillSaveStateRootsMask()
249 ASSERT(inst->IsConst() || inst->IsPhi() || inst->IsParameter()); in ResolveOutput()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_checker.cpp617 return inst->IsConst(); in IsObjectCheckDisabledForOpcode()
780 if (op1->IsConst()) { in VisitIf()
787 if (op2->IsConst()) { in VisitIf()
810 if (op1->IsConst()) { in VisitIfImm()
Dinst.cpp498 if (IsConst()) { in IsAccWrite()
Dinst.h1258 bool IsConst() const in IsConst() function
2130 ASSERT(IsConst()); in IsBoolConst()
2289 …return inst->IsConst() && inst->GetType() == DataType::INT64 && inst->CastToConstant()->GetIntValu… in IsZeroConstant()
Dir_constructor.h937 if (!input_inst->IsConst() && in ConstructDataFlow()
/arkcompiler/ets_frontend/es2panda/binder/
Ddeclaration.h174 bool IsConst() const in IsConst() function
/arkcompiler/runtime_core/compiler/docs/
Dlowering_doc.md32 if (!inst->GetInput(1)->IsConst()) {
/arkcompiler/runtime_core/compiler/tests/
Dsplit_resolver_test.cpp56 ASSERT(source->GetInst()->IsConst()); in SplitAssignImmSlot()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp3168 (isConst ^ res->Declaration()->AsEnumLiteralDecl()->IsConst())) { in ParseEnumDeclaration()