Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp733 CoalescingCandidateInfo Cand1, Cand2; in runOnMachineFunction() local
741 Cand1.clear(); in runOnMachineFunction()
744 Cand1.BranchBlock = &MBB; in runOnMachineFunction()
747 if (!canCoalesceBranch(Cand1)) in runOnMachineFunction()
750 Cand2.BranchBlock = Cand1.BranchTargetBlock; in runOnMachineFunction()
757 assert(MPDT->dominates(Cand2.BranchTargetBlock, Cand1.BranchBlock) && in runOnMachineFunction()
760 if (!identicalOperands(Cand1.Cond, Cand2.Cond)) { in runOnMachineFunction()
761 LLVM_DEBUG(dbgs() << "Blocks " << Cand1.BranchBlock->getNumber() in runOnMachineFunction()
766 if (!canMerge(Cand2, Cand1)) { in runOnMachineFunction()
768 << Cand1.BranchBlock->getNumber() << " and " in runOnMachineFunction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp728 CoalescingCandidateInfo Cand1, Cand2; in runOnMachineFunction() local
736 Cand1.clear(); in runOnMachineFunction()
739 Cand1.BranchBlock = &MBB; in runOnMachineFunction()
742 if (!canCoalesceBranch(Cand1)) in runOnMachineFunction()
745 Cand2.BranchBlock = Cand1.BranchTargetBlock; in runOnMachineFunction()
752 assert(MPDT->dominates(Cand2.BranchTargetBlock, Cand1.BranchBlock) && in runOnMachineFunction()
755 if (!identicalOperands(Cand1.Cond, Cand2.Cond)) { in runOnMachineFunction()
756 LLVM_DEBUG(dbgs() << "Blocks " << Cand1.BranchBlock->getNumber() in runOnMachineFunction()
761 if (!canMerge(Cand2, Cand1)) { in runOnMachineFunction()
763 << Cand1.BranchBlock->getNumber() << " and " in runOnMachineFunction()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp9400 static Comparison compareEnableIfAttrs(const Sema &S, const FunctionDecl *Cand1, in compareEnableIfAttrs() argument
9403 bool Cand1Attr = Cand1->hasAttr<EnableIfAttr>(); in compareEnableIfAttrs()
9411 auto Cand1Attrs = Cand1->specific_attrs<EnableIfAttr>(); in compareEnableIfAttrs()
9439 isBetterMultiversionCandidate(const OverloadCandidate &Cand1, in isBetterMultiversionCandidate() argument
9441 if (!Cand1.Function || !Cand1.Function->isMultiVersion() || !Cand2.Function || in isBetterMultiversionCandidate()
9447 if (Cand1.Function->isInvalidDecl()) { in isBetterMultiversionCandidate()
9457 bool Cand1CPUDisp = Cand1.Function->hasAttr<CPUDispatchAttr>(); in isBetterMultiversionCandidate()
9459 const auto *Cand1CPUSpec = Cand1.Function->getAttr<CPUSpecificAttr>(); in isBetterMultiversionCandidate()
9540 Sema &S, const OverloadCandidate &Cand1, const OverloadCandidate &Cand2, in isBetterOverloadCandidate() argument
9545 return Cand1.Viable; in isBetterOverloadCandidate()
[all …]
/external/llvm-project/llvm/unittests/Analysis/
DIRSimilarityIdentifierTest.cpp1329 IRSimilarityCandidate Cand1(0, 2, *Start, *End); in longSimCandCompare() local
1338 return IRSimilarityCandidate::compareStructure(Cand1, Cand2); in longSimCandCompare()
1339 return IRSimilarityCandidate::isSimilar(Cand1, Cand2); in longSimCandCompare()
1372 IRSimilarityCandidate Cand1(0, 2, *Start, *End); in TEST() local
1375 ASSERT_TRUE(IRSimilarityCandidate::isSimilar(Cand1, Cand2)); in TEST()
1526 IRSimilarityCandidate Cand1(0, 3, *Start, *End); in TEST() local
1534 ASSERT_FALSE(IRSimilarityCandidate::isSimilar(Cand1, Cand2)); in TEST()
/external/clang/lib/Sema/
DSemaOverload.cpp8504 static Comparison compareEnableIfAttrs(const Sema &S, const FunctionDecl *Cand1, in compareEnableIfAttrs() argument
8507 bool Cand1Attr = Cand1->hasAttr<EnableIfAttr>(); in compareEnableIfAttrs()
8518 auto Cand1Attrs = getOrderedEnableIfAttrs(Cand1); in compareEnableIfAttrs()
8544 bool clang::isBetterOverloadCandidate(Sema &S, const OverloadCandidate &Cand1, in isBetterOverloadCandidate() argument
8551 return Cand1.Viable; in isBetterOverloadCandidate()
8552 else if (!Cand1.Viable) in isBetterOverloadCandidate()
8562 if (Cand1.IgnoreObjectArgument || Cand2.IgnoreObjectArgument) in isBetterOverloadCandidate()
8569 unsigned NumArgs = Cand1.NumConversions; in isBetterOverloadCandidate()
8574 Cand1.Conversions[ArgIdx], in isBetterOverloadCandidate()
8602 if (UserDefinedConversion && Cand1.Function && Cand2.Function && in isBetterOverloadCandidate()
[all …]
/external/clang/include/clang/Sema/
DOverload.h797 const OverloadCandidate& Cand1,
/external/llvm-project/clang/include/clang/Sema/
DOverload.h1158 const OverloadCandidate &Cand1,