Home
last modified time | relevance | path

Searched refs:ProfDataName (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMetadata.cpp1324 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0)); in extractProfMetadata() local
1325 if (!ProfDataName || !ProfDataName->getString().equals("branch_weights")) in extractProfMetadata()
1352 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0)); in extractProfTotalWeight() local
1353 if (!ProfDataName) in extractProfTotalWeight()
1356 if (ProfDataName->getString().equals("branch_weights")) { in extractProfTotalWeight()
1365 } else if (ProfDataName->getString().equals("VP") && in extractProfTotalWeight()
DInstructions.cpp471 auto *ProfDataName = dyn_cast<MDString>(ProfileData->getOperand(0)); in updateProfWeight() local
472 if (!ProfDataName || (!ProfDataName->getString().equals("branch_weights") && in updateProfWeight()
473 !ProfDataName->getString().equals("VP"))) in updateProfWeight()
489 if (ProfDataName->getString().equals("branch_weights") && in updateProfWeight()
498 } else if (ProfDataName->getString().equals("VP")) in updateProfWeight()