/arkcompiler/ets_runtime/ecmascript/compiler/ |
H A D | lcr_gate_meta_data.h | 74 class BranchWeight { class
|
H A D | builtins_lowering.cpp | 89 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 D | stub_builder.h | 154 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 D | mcr_lowering.cpp | 151 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 D | ntype_hcr_lowering.cpp | 349 GateRef ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException()
|
H A D | typed_bytecode_lowering.cpp | 448 builder->Branch(isNum, &numberBranch, ¬NumberBranch, BranchWeight::ONE_WEIGHT, BranchWeight::ONE_WEIGHT, in CheckedNumberToString() 820 BranchWeight::ONE_WEIGHT, BranchWeight::DEOPT_WEIGHT, "isProtoTypeHClass"); in LowerTypedStObjByName()
|
H A D | slowpath_lowering.cpp | 159 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 D | typed_hcr_lowering.cpp | 1685 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 D | native_inline_lowering.cpp | 1078 auto ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException()
|
H A D | stub_builder.cpp | 63 return BranchPredict(condition, trueLabel, falseLabel, BranchWeight::ONE_WEIGHT, BranchWeight::ONE_WEIGHT, comment); in Branch()
|
H A D | typed_native_inline_lowering.cpp | 3189 auto ifBranch = builder_.Branch(state, condition, 1, BranchWeight::DEOPT_WEIGHT, "checkException"); in ReplaceGateWithPendingException()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/llvm/ |
H A D | llvm_ir_builder.cpp | 2704 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()
|