Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/unittests/clang-move/
H A DClangMoveTests.cpp257 Spec.NewCC = "new_foo.cc"; in TEST()
281 Spec.NewCC = "new_foo.cc"; in TEST()
295 Spec.NewCC = "new_foo.cc"; in TEST()
306 Spec.NewCC = "new_foo.cc"; in TEST()
342 Spec.NewCC = "new_foo.cc"; in TEST()
362 Spec.NewCC = "new_foo.cc"; in TEST()
388 Spec.NewCC = "new_foo.cc"; in TEST()
409 Spec.NewCC = "new_foo.cc"; in TEST()
431 Spec.NewCC = "new_foo.cc"; in TEST()
453 Spec.NewCC = "new_foo.cc"; in TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-move/tool/
H A DClangMove.cpp62 NewCC("new_cc", cl::desc("The relative/absolute file path of new cc."), variable
124 Spec.NewCC = NewCC; in main()
162 if (!NewCC.empty()) { in main()
163 std::error_code EC = CreateNewFile(NewCC); in main()
165 llvm::errs() << "Failed to create " << NewCC << ": " << EC.message() in main()
/llvm-project-15.0.7/clang-tools-extra/clang-move/
H A 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()
H A DMove.h72 std::string NewCC; member
/llvm-project-15.0.7/llvm/lib/Target/BPF/
H A DBPFISelLowering.cpp778 int NewCC; in EmitInstrWithCustomInserter() local
783 NewCC = isSelectRROp ? BPF::Y##_rr_32 : BPF::Y##_ri_32; \ in EmitInstrWithCustomInserter()
785 NewCC = isSelectRROp ? BPF::Y##_rr : BPF::Y##_ri; \ in EmitInstrWithCustomInserter()
823 BuildMI(BB, DL, TII.get(NewCC)).addReg(LHS).addReg(RHS).addMBB(Copy1MBB); in EmitInstrWithCustomInserter()
828 BuildMI(BB, DL, TII.get(NewCC)) in EmitInstrWithCustomInserter()
/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.cpp376 LPCC::CondCode NewCC = getOppositeCondition(CC); in optimizeCompareInstr() local
377 if (NewCC == LPCC::ICC_T) in optimizeCompareInstr()
386 std::make_pair(&((*I).getOperand(IO - 1)), NewCC)); in optimizeCompareInstr()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp388 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed() local
395 if (PredR != NewCC) in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
433 return Builder.CreateICmp(NewCC, NewAnd, NewMaskedValue); in foldLogOpOfMaskedICmps_NotAllZeros_BMask_Mixed()
560 ICmpInst::Predicate NewCC = IsAnd ? ICmpInst::ICMP_EQ : ICmpInst::ICMP_NE; in foldLogOpOfMaskedICmps() local
578 return Builder.CreateICmp(NewCC, NewAnd, Zero); in foldLogOpOfMaskedICmps()
587 return Builder.CreateICmp(NewCC, NewAnd, NewOr); in foldLogOpOfMaskedICmps()
596 return Builder.CreateICmp(NewCC, NewAnd2, A); in foldLogOpOfMaskedICmps()
646 const APInt ConstC = PredL != NewCC ? *ConstB ^ *OldConstC : *OldConstC; in foldLogOpOfMaskedICmps()
647 const APInt ConstE = PredR != NewCC ? *ConstD ^ *OldConstE : *OldConstE; in foldLogOpOfMaskedICmps()
657 return Builder.CreateICmp(NewCC, NewAnd, NewOr2); in foldLogOpOfMaskedICmps()
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp4579 ISD::CondCode NewCC = (Cond == ISD::SETGE) ? ISD::SETGT : ISD::SETUGT; in SimplifySetCC() local
4581 isCondCodeLegal(NewCC, VT.getSimpleVT())) && in SimplifySetCC()
4586 NewCC); in SimplifySetCC()
4599 ISD::CondCode NewCC = (Cond == ISD::SETLE) ? ISD::SETLT : ISD::SETULT; in SimplifySetCC() local
4601 isCondCodeLegal(NewCC, VT.getSimpleVT())) && in SimplifySetCC()
4606 NewCC); in SimplifySetCC()
6311 SDValue NewCC = in prepareUREMEqFold() local
6315 return NewCC; in prepareUREMEqFold()
6321 Created.push_back(NewCC.getNode()); in prepareUREMEqFold()
6339 Replacement, NewCC); in prepareUREMEqFold()
[all …]
H A DDAGCombiner.cpp5538 ISD::CondCode NewCC = IsAnd ? ISD::getSetCCAndOperation(CC0, CC1, OpVT) in foldLogicOfSetCCs() local
5540 if (NewCC != ISD::SETCC_INVALID && in foldLogicOfSetCCs()
5542 (TLI.isCondCodeLegal(NewCC, LL.getSimpleValueType()) && in foldLogicOfSetCCs()
5544 return DAG.getSetCC(DL, VT, LL, LR, NewCC); in foldLogicOfSetCCs()
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1959 ISD::CondCode NewCC = ISD::GlobalISel::getSetCCInverse(CC, true); in LowerSETCC() local
1960 return DAG.getSetCC(DL, VT, Op0, DAG.getConstant(0, DL, MVT::i1), NewCC); in LowerSETCC()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp4329 X86::CondCode NewCC = X86::COND_INVALID; in optimizeCompareInstr() local
4379 NewCC = isUseDefConvertible(Inst); in optimizeCompareInstr()
4380 if (NewCC != X86::COND_INVALID && Inst.getOperand(1).isReg() && in optimizeCompareInstr()
4492 ReplacementCC = NewCC; in optimizeCompareInstr()
4495 ReplacementCC = GetOppositeBranchCondition(NewCC); in optimizeCompareInstr()
H A DX86ISelLowering.cpp44213 ISD::CondCode NewCC = ISD::getSetCCInverse( in combineVSelectWithAllOnesOrZeros() local
44216 NewCC); in combineVSelectWithAllOnesOrZeros()
44857 ISD::CondCode NewCC = ISD::SETUGE; in combineSelect() local
44878 ISD::CondCode NewCC; in combineSelect() local
44880 case ISD::SETGT: NewCC = ISD::SETGE; break; in combineSelect()
44881 case ISD::SETLT: NewCC = ISD::SETLE; break; in combineSelect()
44882 case ISD::SETUGT: NewCC = ISD::SETUGE; break; in combineSelect()
44883 case ISD::SETULT: NewCC = ISD::SETULE; break; in combineSelect()
44884 default: NewCC = ISD::SETCC_INVALID; break; in combineSelect()
44886 if (NewCC != ISD::SETCC_INVALID) { in combineSelect()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMBaseInstrInfo.cpp3222 ARMCC::CondCodes NewCC = (IsSub ? getSwappedCondition(CC) : getCmpToAddCondition(CC)); in optimizeCompareInstr() local
3223 if (NewCC == ARMCC::AL) in optimizeCompareInstr()
3226 std::make_pair(&((*I).getOperand(IO - 1)), NewCC)); in optimizeCompareInstr()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp3631 ISD::CondCode NewCC = in performSelectCombine() local
3634 SDValue NewCond = DAG.getSetCC(SL, Cond.getValueType(), LHS, RHS, NewCC); in performSelectCombine()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp17464 CallingConv NewCC = NewFT->getCallConv(), OldCC = OldFT->getCallConv(); in CheckOverridingFunctionAttributes() local
17467 if (NewCC == OldCC) in CheckOverridingFunctionAttributes()