Home
last modified time | relevance | path

Searched refs:BranchWeight (Results 1 - 12 of 12) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dlcr_gate_meta_data.h74 class BranchWeight { class
H A Dbuiltins_lowering.cpp89 builder_.Branch(status, &localeCompareGC, &exit, BranchWeight::ONE_WEIGHT, BranchWeight::STRONG_WEIGHT, in TypedLocaleCompare()
187 auto ifBranch = builder_.Branch(state, equal, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceHirWithValue()
H A Dstub_builder.h154 BranchWeight::DEOPT_WEIGHT, BranchWeight::ONE_WEIGHT, os.str().c_str()); \
162 BranchWeight::ONE_WEIGHT, BranchWeight::DEOPT_WEIGHT, os.str().c_str()); \
170 BranchWeight::ZERO_WEIGHT, BranchWeight::ZERO_WEIGHT, os.str().c_str()); \
174 uint32_t trueWeight = BranchWeight::ONE_WEIGHT, uint32_t falseWeight = BranchWeight::ONE_WEIGHT,
H A Dmcr_lowering.cpp151 builder_.Branch(builder_.TaggedIsHole(*result), &returnUndefined, &exit, 1, BranchWeight::DEOPT_WEIGHT, in LowerConvertHoleAsUndefined()
390 builder_.Branch(builder_.IsSpecialHole(gate), &returnUndefined, &returnTaggedInt, 1, BranchWeight::DEOPT_WEIGHT, in ConvertSpecialHoleIntToTagged()
413 builder_.Branch(builder_.IsSpecialHole(gate), &returnUndefined, &returnTaggedDouble, 1, BranchWeight::DEOPT_WEIGHT, in ConvertSpecialHoleDoubleToTagged()
H A Dntype_hcr_lowering.cpp349 GateRef ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException()
H A Dtyped_bytecode_lowering.cpp448 builder->Branch(isNum, &numberBranch, &notNumberBranch, BranchWeight::ONE_WEIGHT, BranchWeight::ONE_WEIGHT, in CheckedNumberToString()
820 BranchWeight::ONE_WEIGHT, BranchWeight::DEOPT_WEIGHT, "isProtoTypeHClass"); in LowerTypedStObjByName()
H A Dslowpath_lowering.cpp159 GateRef ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceHirWithPendingException()
193 auto ifBranch = builder_.Branch(state, equal, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceHirWithValue()
218 GateRef ifBranch = builder_.Branch(state, condition, BranchWeight::DEOPT_WEIGHT, 1, "checkException"); in ReplaceHirToThrowCall()
3626 &slowPath, &checkStackOver, BranchWeight::ONE_WEIGHT, BranchWeight::DEOPT_WEIGHT, "checkSafePoint"); in LowerCheckSafePointAndStackOver()
3635 BranchWeight::ONE_WEIGHT, BranchWeight::DEOPT_WEIGHT, "checkStackOverflow"); in LowerCheckSafePointAndStackOver()
H A Dtyped_hcr_lowering.cpp1685 GateRef ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceHirWithPendingException()
2759 GateRef ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException()
3197 BranchWeight::ONE_WEIGHT, BranchWeight::DEOPT_WEIGHT, "isProtoTypeHClass"); in LowerMonoStoreProperty()
H A Dnative_inline_lowering.cpp1078 auto ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException()
H A Dstub_builder.cpp63 return BranchPredict(condition, trueLabel, falseLabel, BranchWeight::ONE_WEIGHT, BranchWeight::ONE_WEIGHT, comment); in Branch()
H A Dtyped_native_inline_lowering.cpp3189 auto ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/
H A Dllvm_ir_builder.cpp2704 LLVMMetadataRef weight1 = LLVMValueAsMetadata(LLVMConstInt(LLVMIntType(32), BranchWeight::DEOPT_WEIGHT, 0)); in HandleDeoptCheck()
2705 LLVMMetadataRef weight2 = LLVMValueAsMetadata(LLVMConstInt(LLVMIntType(32), BranchWeight::ONE_WEIGHT, 0)); in HandleDeoptCheck()

Completed in 55 milliseconds