Home
last modified time | relevance | path

Searched refs:NewCC (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm-project/clang-tools-extra/unittests/clang-move/
DClangMoveTests.cpp221 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/
DClangMove.cpp61 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/
DX86CondBrFolding.cpp309 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()
DX86InstrInfo.cpp3621 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/
DBPFISelLowering.cpp678 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/
DBPFISelLowering.cpp717 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/
DMove.cpp837 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()
DMove.h72 std::string NewCC; member
/external/llvm/lib/Target/Lanai/
DLanaiInstrInfo.cpp377 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/
DLanaiInstrInfo.cpp375 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/
DLanaiInstrInfo.cpp375 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/
DInstCombineAndOrXor.cpp469 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/
DInstCombineAndOrXor.cpp416 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/
DInstCombineAndOrXor.cpp713 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/
DTargetLowering.cpp1752 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/
DTargetLowering.cpp3884 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/
DTargetLowering.cpp3579 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 …]
DDAGCombiner.cpp4657 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/
DX86InstrInfo.cpp5114 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/
DARMBaseInstrInfo.cpp2568 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/
DARMBaseInstrInfo.cpp3098 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/
DX86InstrInfo.cpp4170 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/
DARMBaseInstrInfo.cpp3148 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/
DAMDGPUISelLowering.cpp3600 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/
DAMDGPUISelLowering.cpp3579 ISD::CondCode NewCC = in performSelectCombine() local
3582 SDValue NewCond = DAG.getSetCC(SL, Cond.getValueType(), LHS, RHS, NewCC); in performSelectCombine()

12