Searched refs:expect (Results 1 – 5 of 5) sorted by relevance
52 ::llvm::MDNode* GetBranchWeights(ExpectCond expect) { in GetBranchWeights() argument53 DCHECK_LT(expect, MAX_EXPECT) << "MAX_EXPECT is not for branch weight"; in GetBranchWeights()54 return expect_cond_[expect]; in GetBranchWeights()
189 ExpectCond expect) { in CreateCondBr() argument193 branch_inst->setMetadata(::llvm::LLVMContext::MD_prof, mdb_.GetBranchWeights(expect)); in CreateCondBr()
1112 // NOTE: We expect these intrinsics to be temporary. Once calling conventions are
1 Test that the list of character encodings is what we expect.
330 size_t expect = oat_file_->Size(); in WriteElf() local331 if (out->WriteFully(reinterpret_cast<char*>(oat_file_->Begin()), expect) && in WriteElf()332 out->SetLength(expect) == 0) { in WriteElf()349 size_t expect = image_->Size(); in WriteImage() local350 if (out->WriteFully(reinterpret_cast<char*>(image_->Begin()), expect) && in WriteImage()351 out->SetLength(expect) == 0) { in WriteImage()