Home
last modified time | relevance | path

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

/freebsd-9-stable/contrib/llvm/lib/IR/
DInstructions.cpp793 MDNode *ProfileData = getMetadata(LLVMContext::MD_prof); in swapSuccessors() local
794 if (!ProfileData || ProfileData->getNumOperands() != 3) in swapSuccessors()
799 ProfileData->getOperand(0), in swapSuccessors()
800 ProfileData->getOperand(2), in swapSuccessors()
801 ProfileData->getOperand(1) in swapSuccessors()
804 MDNode::get(ProfileData->getContext(), Ops)); in swapSuccessors()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp1936 MDNode *ProfileData = BI->getMetadata(LLVMContext::MD_prof); in ExtractBranchMetadata() local
1937 if (!ProfileData || ProfileData->getNumOperands() != 3) return false; in ExtractBranchMetadata()
1938 ConstantInt *CITrue = dyn_cast<ConstantInt>(ProfileData->getOperand(1)); in ExtractBranchMetadata()
1939 ConstantInt *CIFalse = dyn_cast<ConstantInt>(ProfileData->getOperand(2)); in ExtractBranchMetadata()