Home
last modified time | relevance | path

Searched refs:Cand2 (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp733 CoalescingCandidateInfo Cand1, Cand2; in runOnMachineFunction() local
742 Cand2.clear(); in runOnMachineFunction()
750 Cand2.BranchBlock = Cand1.BranchTargetBlock; in runOnMachineFunction()
751 if (!canCoalesceBranch(Cand2)) in runOnMachineFunction()
757 assert(MPDT->dominates(Cand2.BranchTargetBlock, Cand1.BranchBlock) && in runOnMachineFunction()
760 if (!identicalOperands(Cand1.Cond, Cand2.Cond)) { in runOnMachineFunction()
762 << " and " << Cand2.BranchBlock->getNumber() in runOnMachineFunction()
766 if (!canMerge(Cand2, Cand1)) { in runOnMachineFunction()
769 << Cand2.BranchBlock->getNumber() << "\n"); in runOnMachineFunction()
776 MergedCandidates = mergeCandidates(Cand2, Cand1); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp728 CoalescingCandidateInfo Cand1, Cand2; in runOnMachineFunction() local
737 Cand2.clear(); in runOnMachineFunction()
745 Cand2.BranchBlock = Cand1.BranchTargetBlock; in runOnMachineFunction()
746 if (!canCoalesceBranch(Cand2)) in runOnMachineFunction()
752 assert(MPDT->dominates(Cand2.BranchTargetBlock, Cand1.BranchBlock) && in runOnMachineFunction()
755 if (!identicalOperands(Cand1.Cond, Cand2.Cond)) { in runOnMachineFunction()
757 << " and " << Cand2.BranchBlock->getNumber() in runOnMachineFunction()
761 if (!canMerge(Cand2, Cand1)) { in runOnMachineFunction()
764 << Cand2.BranchBlock->getNumber() << "\n"); in runOnMachineFunction()
771 MergedCandidates = mergeCandidates(Cand2, Cand1); in runOnMachineFunction()
/external/llvm-project/llvm/unittests/Analysis/
DIRSimilarityIdentifierTest.cpp1336 IRSimilarityCandidate Cand2(3, 2, *Start, *End); in longSimCandCompare() local
1338 return IRSimilarityCandidate::compareStructure(Cand1, Cand2); in longSimCandCompare()
1339 return IRSimilarityCandidate::isSimilar(Cand1, Cand2); in longSimCandCompare()
1373 IRSimilarityCandidate Cand2(0, 2, *Start, *End); in TEST() local
1375 ASSERT_TRUE(IRSimilarityCandidate::isSimilar(Cand1, Cand2)); in TEST()
1533 IRSimilarityCandidate Cand2(3, 3, *Start, *End); in TEST() local
1534 ASSERT_FALSE(IRSimilarityCandidate::isSimilar(Cand1, Cand2)); in TEST()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp9401 const FunctionDecl *Cand2) { in compareEnableIfAttrs() argument
9404 bool Cand2Attr = Cand2->hasAttr<EnableIfAttr>(); in compareEnableIfAttrs()
9412 auto Cand2Attrs = Cand2->specific_attrs<EnableIfAttr>(); in compareEnableIfAttrs()
9440 const OverloadCandidate &Cand2) { in isBetterMultiversionCandidate() argument
9441 if (!Cand1.Function || !Cand1.Function->isMultiVersion() || !Cand2.Function || in isBetterMultiversionCandidate()
9442 !Cand2.Function->isMultiVersion()) in isBetterMultiversionCandidate()
9448 if (Cand2.Function->isInvalidDecl()) in isBetterMultiversionCandidate()
9452 if (Cand2.Function->isInvalidDecl()) in isBetterMultiversionCandidate()
9458 bool Cand2CPUDisp = Cand2.Function->hasAttr<CPUDispatchAttr>(); in isBetterMultiversionCandidate()
9460 const auto *Cand2CPUSpec = Cand2.Function->getAttr<CPUSpecificAttr>(); in isBetterMultiversionCandidate()
[all …]
/external/clang/lib/Sema/
DSemaOverload.cpp8505 const FunctionDecl *Cand2) { in compareEnableIfAttrs() argument
8508 bool Cand2Attr = Cand2->hasAttr<EnableIfAttr>(); in compareEnableIfAttrs()
8519 auto Cand2Attrs = getOrderedEnableIfAttrs(Cand2); in compareEnableIfAttrs()
8545 const OverloadCandidate &Cand2, in isBetterOverloadCandidate() argument
8550 if (!Cand2.Viable) in isBetterOverloadCandidate()
8562 if (Cand1.IgnoreObjectArgument || Cand2.IgnoreObjectArgument) in isBetterOverloadCandidate()
8570 assert(Cand2.NumConversions == NumArgs && "Overload candidate mismatch"); in isBetterOverloadCandidate()
8575 Cand2.Conversions[ArgIdx])) { in isBetterOverloadCandidate()
8602 if (UserDefinedConversion && Cand1.Function && Cand2.Function && in isBetterOverloadCandidate()
8604 isa<CXXConversionDecl>(Cand2.Function)) { in isBetterOverloadCandidate()
[all …]
/external/clang/include/clang/Sema/
DOverload.h798 const OverloadCandidate& Cand2,
/external/llvm-project/clang/include/clang/Sema/
DOverload.h1159 const OverloadCandidate &Cand2,