/external/llvm-project/clang-tools-extra/unittests/clang-move/ |
D | ClangMoveTests.cpp | 221 CreateFiles(Spec.NewCC, ""); in runClangMoveOnCode() 256 Spec.NewCC = "new_foo.cc"; in TEST() 262 EXPECT_EQ(ExpectedHeader + ExpectedNewCC, Results[Spec.NewCC]); in TEST() 280 Spec.NewCC = "new_foo.cc"; in TEST() 285 EXPECT_EQ(ExpectedHeader + ExpectedNewCC, Results[Spec.NewCC]); in TEST() 294 Spec.NewCC = "new_foo.cc"; in TEST() 305 Spec.NewCC = "new_foo.cc"; in TEST() 322 EXPECT_EQ(ExpectedNewCC, Results[Spec.NewCC]); in TEST() 341 Spec.NewCC = "new_foo.cc"; in TEST() 361 Spec.NewCC = "new_foo.cc"; in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clang-move/tool/ |
D | ClangMove.cpp | 61 NewCC("new_cc", cl::desc("The relative/absolute file path of new cc."), variable 117 Spec.NewCC = NewCC; in main() 155 if (!NewCC.empty()) { in main() 156 std::error_code EC = CreateNewFile(NewCC); in main() 158 llvm::errs() << "Failed to create " << NewCC << ": " << EC.message() in main()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86CondBrFolding.cpp | 309 X86::CondCode NewCC; in optimizeCondBr() local 312 NewCC = X86::COND_G; in optimizeCondBr() 315 NewCC = X86::COND_L; in optimizeCondBr() 322 .addMBB(RootMBBInfo->FBB).addImm(NewCC); in optimizeCondBr()
|
D | X86InstrInfo.cpp | 3621 X86::CondCode NewCC = X86::COND_INVALID; in optimizeCompareInstr() local 3627 NewCC = isUseDefConvertible(*J); in optimizeCompareInstr() 3628 if (NewCC != X86::COND_INVALID && J->getOperand(1).isReg() && in optimizeCompareInstr() 3754 ReplacementCC = NewCC; in optimizeCompareInstr() 3757 ReplacementCC = GetOppositeBranchCondition(NewCC); in optimizeCompareInstr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BPFISelLowering.cpp | 678 int NewCC; in EmitInstrWithCustomInserter() local 683 NewCC = isSelectRROp ? BPF::Y##_rr_32 : BPF::Y##_ri_32; \ in EmitInstrWithCustomInserter() 685 NewCC = isSelectRROp ? BPF::Y##_rr : BPF::Y##_ri; \ in EmitInstrWithCustomInserter() 723 BuildMI(BB, DL, TII.get(NewCC)).addReg(LHS).addReg(RHS).addMBB(Copy1MBB); in EmitInstrWithCustomInserter() 728 BuildMI(BB, DL, TII.get(NewCC)) in EmitInstrWithCustomInserter()
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BPFISelLowering.cpp | 717 int NewCC; in EmitInstrWithCustomInserter() local 722 NewCC = isSelectRROp ? BPF::Y##_rr_32 : BPF::Y##_ri_32; \ in EmitInstrWithCustomInserter() 724 NewCC = isSelectRROp ? BPF::Y##_rr : BPF::Y##_ri; \ in EmitInstrWithCustomInserter() 762 BuildMI(BB, DL, TII.get(NewCC)).addReg(LHS).addReg(RHS).addMBB(Copy1MBB); in EmitInstrWithCustomInserter() 767 BuildMI(BB, DL, TII.get(NewCC)) in EmitInstrWithCustomInserter()
|
/external/llvm-project/clang-tools-extra/clang-move/ |
D | Move.cpp | 837 if (!Context->Spec.NewCC.empty()) in moveDeclsToNewFiles() 838 Context->FileToReplacements[Context->Spec.NewCC] = in moveDeclsToNewFiles() 840 Context->Spec.NewCC); in moveDeclsToNewFiles() 869 if (Context->Spec.NewCC == NewFile && OldHeaderIncludeRangeInCC.isValid()) in moveAll() 928 moveAll(SM, Context->Spec.OldCC, Context->Spec.NewCC); in onEndOfTranslationUnit()
|
D | Move.h | 72 std::string NewCC; member
|
/external/llvm/lib/Target/Lanai/ |
D | LanaiInstrInfo.cpp | 377 LPCC::CondCode NewCC = getOppositeCondition(CC); in optimizeCompareInstr() local 378 if (NewCC == LPCC::ICC_T) in optimizeCompareInstr() 387 std::make_pair(&((*I).getOperand(IO - 1)), NewCC)); in optimizeCompareInstr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/ |
D | LanaiInstrInfo.cpp | 375 LPCC::CondCode NewCC = getOppositeCondition(CC); in optimizeCompareInstr() local 376 if (NewCC == LPCC::ICC_T) in optimizeCompareInstr() 385 std::make_pair(&((*I).getOperand(IO - 1)), NewCC)); in optimizeCompareInstr()
|
/external/llvm-project/llvm/lib/Target/Lanai/ |
D | LanaiInstrInfo.cpp | 375 LPCC::CondCode NewCC = getOppositeCondition(CC); in optimizeCompareInstr() local 376 if (NewCC == LPCC::ICC_T) in optimizeCompareInstr() 385 std::make_pair(&((*I).getOperand(IO - 1)), NewCC)); in optimizeCompareInstr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 469 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local 475 if (PredR != NewCC) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 514 return Builder.CreateICmp(NewCC, NewAnd, NewMaskedValue); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 641 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps() local 657 return Builder.CreateICmp(NewCC, NewAnd, Zero); in foldLogOpOfMaskedICmps() 664 return Builder.CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps() 671 return Builder.CreateICmp(NewCC, NewAnd2, A); in foldLogOpOfMaskedICmps() 728 if (PredL != NewCC) in foldLogOpOfMaskedICmps() 730 if (PredR != NewCC) in foldLogOpOfMaskedICmps() 742 return Builder.CreateICmp(NewCC, NewAnd, NewOr2); in foldLogOpOfMaskedICmps()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 416 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local 422 if (PredR != NewCC) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 461 return Builder.CreateICmp(NewCC, NewAnd, NewMaskedValue); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() 586 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps() local 602 return Builder.CreateICmp(NewCC, NewAnd, Zero); in foldLogOpOfMaskedICmps() 609 return Builder.CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps() 616 return Builder.CreateICmp(NewCC, NewAnd2, A); in foldLogOpOfMaskedICmps() 667 if (PredL != NewCC) in foldLogOpOfMaskedICmps() 669 if (PredR != NewCC) in foldLogOpOfMaskedICmps() 681 return Builder.CreateICmp(NewCC, NewAnd, NewOr2); in foldLogOpOfMaskedICmps()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 713 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps() local 729 return Builder->CreateICmp(NewCC, NewAnd, Zero); in foldLogOpOfMaskedICmps() 736 return Builder->CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps() 743 return Builder->CreateICmp(NewCC, NewAnd2, A); in foldLogOpOfMaskedICmps() 794 if (LHSCC != NewCC) in foldLogOpOfMaskedICmps() 796 if (RHSCC != NewCC) in foldLogOpOfMaskedICmps() 806 return Builder->CreateICmp(NewCC, NewAnd, NewOr2); in foldLogOpOfMaskedICmps()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 1752 ISD::CondCode NewCC = (Cond == ISD::SETGE) ? ISD::SETGT : ISD::SETUGT; in SimplifySetCC() local 1754 isCondCodeLegal(NewCC, VT.getSimpleVT())) && in SimplifySetCC() 1759 NewCC); in SimplifySetCC() 1767 ISD::CondCode NewCC = (Cond == ISD::SETLE) ? ISD::SETLT : ISD::SETULT; in SimplifySetCC() local 1769 isCondCodeLegal(NewCC, VT.getSimpleVT())) && in SimplifySetCC() 1774 NewCC); in SimplifySetCC()
|
/external/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 3884 ISD::CondCode NewCC = (Cond == ISD::SETGE) ? ISD::SETGT : ISD::SETUGT; in SimplifySetCC() local 3886 isCondCodeLegal(NewCC, VT.getSimpleVT())) && in SimplifySetCC() 3891 NewCC); in SimplifySetCC() 3904 ISD::CondCode NewCC = (Cond == ISD::SETLE) ? ISD::SETLT : ISD::SETULT; in SimplifySetCC() local 3906 isCondCodeLegal(NewCC, VT.getSimpleVT())) && in SimplifySetCC() 3911 NewCC); in SimplifySetCC() 5465 SDValue NewCC = in prepareUREMEqFold() local 5469 return NewCC; in prepareUREMEqFold() 5475 Created.push_back(NewCC.getNode()); in prepareUREMEqFold() 5491 Replacement, NewCC); in prepareUREMEqFold() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | TargetLowering.cpp | 3579 ISD::CondCode NewCC = (Cond == ISD::SETGE) ? ISD::SETGT : ISD::SETUGT; in SimplifySetCC() local 3581 isCondCodeLegal(NewCC, VT.getSimpleVT())) && in SimplifySetCC() 3586 NewCC); in SimplifySetCC() 3599 ISD::CondCode NewCC = (Cond == ISD::SETLE) ? ISD::SETLT : ISD::SETULT; in SimplifySetCC() local 3601 isCondCodeLegal(NewCC, VT.getSimpleVT())) && in SimplifySetCC() 3606 NewCC); in SimplifySetCC() 5171 SDValue NewCC = in prepareUREMEqFold() local 5175 return NewCC; in prepareUREMEqFold() 5181 Created.push_back(NewCC.getNode()); in prepareUREMEqFold() 5197 Replacement, NewCC); in prepareUREMEqFold() [all …]
|
D | DAGCombiner.cpp | 4657 ISD::CondCode NewCC = IsAnd ? ISD::getSetCCAndOperation(CC0, CC1, OpVT) in foldLogicOfSetCCs() local 4659 if (NewCC != ISD::SETCC_INVALID && in foldLogicOfSetCCs() 4661 (TLI.isCondCodeLegal(NewCC, LL.getSimpleValueType()) && in foldLogicOfSetCCs() 4663 return DAG.getSetCC(DL, VT, LL, LR, NewCC); in foldLogicOfSetCCs()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 5114 X86::CondCode NewCC = X86::COND_INVALID; in optimizeCompareInstr() local 5120 NewCC = isUseDefConvertible(*J); in optimizeCompareInstr() 5121 if (NewCC != X86::COND_INVALID && J->getOperand(1).isReg() && in optimizeCompareInstr() 5244 NewCC = GetOppositeBranchCondition(NewCC); in optimizeCompareInstr() 5251 NewCC = getSwappedCondition(OldCC); in optimizeCompareInstr() 5252 if (NewCC == X86::COND_INVALID) return false; in optimizeCompareInstr() 5255 if ((ShouldUpdateCC || IsSwapped) && NewCC != OldCC) { in optimizeCompareInstr() 5260 NewOpc = GetCondBranchFromCond(NewCC); in optimizeCompareInstr() 5262 NewOpc = getSETFromCond(NewCC, HasMemoryOperand); in optimizeCompareInstr() 5265 NewOpc = getCMovFromCond(NewCC, MRI->getRegClass(DstReg)->getSize(), in optimizeCompareInstr()
|
/external/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.cpp | 2568 ARMCC::CondCodes NewCC = getSwappedCondition(CC); in optimizeCompareInstr() local 2569 if (NewCC == ARMCC::AL) in optimizeCompareInstr() 2582 std::make_pair(&((*I).getOperand(IO - 1)), NewCC)); in optimizeCompareInstr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.cpp | 3098 ARMCC::CondCodes NewCC = (IsSub ? getSwappedCondition(CC) : getCmpToAddCondition(CC)); in optimizeCompareInstr() local 3099 if (NewCC == ARMCC::AL) in optimizeCompareInstr() 3102 std::make_pair(&((*I).getOperand(IO - 1)), NewCC)); in optimizeCompareInstr()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86InstrInfo.cpp | 4170 X86::CondCode NewCC = X86::COND_INVALID; in optimizeCompareInstr() local 4176 NewCC = isUseDefConvertible(*J); in optimizeCompareInstr() 4177 if (NewCC != X86::COND_INVALID && J->getOperand(1).isReg() && in optimizeCompareInstr() 4303 ReplacementCC = NewCC; in optimizeCompareInstr() 4306 ReplacementCC = GetOppositeBranchCondition(NewCC); in optimizeCompareInstr()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMBaseInstrInfo.cpp | 3148 ARMCC::CondCodes NewCC = (IsSub ? getSwappedCondition(CC) : getCmpToAddCondition(CC)); in optimizeCompareInstr() local 3149 if (NewCC == ARMCC::AL) in optimizeCompareInstr() 3152 std::make_pair(&((*I).getOperand(IO - 1)), NewCC)); in optimizeCompareInstr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 3600 ISD::CondCode NewCC = in performSelectCombine() local 3603 SDValue NewCond = DAG.getSetCC(SL, Cond.getValueType(), LHS, RHS, NewCC); in performSelectCombine()
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPUISelLowering.cpp | 3579 ISD::CondCode NewCC = in performSelectCombine() local 3582 SDValue NewCond = DAG.getSetCC(SL, Cond.getValueType(), LHS, RHS, NewCC); in performSelectCombine()
|