Home
last modified time | relevance | path

Searched refs:isIdenticalTo (Results 1 – 25 of 60) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineLateInstrsCleanup.cpp48 return MI && MI->isIdenticalTo(*ArgMI); in hasIdentical()
153 assert(DefMI->isIdenticalTo(*ToRemoveMI) && "Previous def not identical?"); in clearKillsForDef()
H A DBranchFolding.cpp367 if (!MBBI1->isIdenticalTo(*MBBI2) || in ComputeCommonTailLength()
815 assert(MBBICommon->isIdenticalTo(*MBBI) && "Expected matching MIIs!"); in mergeOperations()
865 assert(MI.isIdenticalTo(*Pos) && "Expected matching MIIs!"); in mergeCommonTails()
1459 if (!MBBIter->isIdenticalTo(*PrevBBIter)) in OptimizeBlock()
1982 if (!TIB->isIdenticalTo(*FIB, MachineInstr::CheckKillDead)) in HoistCommonCodeInSuccs()
2109 assert(TI->isIdenticalTo(*FI, MachineInstr::CheckDefs) && in HoistCommonCodeInSuccs()
H A DMachineInstr.cpp656 bool MachineInstr::isIdenticalTo(const MachineInstr &Other, in isIdenticalTo() function in MachineInstr
676 if (!I1->isIdenticalTo(*I2, Check)) in isIdenticalTo()
690 if (!MO.isIdenticalTo(OMO)) in isIdenticalTo()
703 if (!MO.isIdenticalTo(OMO)) in isIdenticalTo()
706 if (!MO.isIdenticalTo(OMO)) in isIdenticalTo()
712 if (!MO.isIdenticalTo(OMO)) in isIdenticalTo()
745 if (!getDebugOperand(OpIdx).isIdenticalTo(Other.getDebugOperand(OpIdx))) in isEquivalentDbgInstr()
H A DIfConversion.cpp763 if (!TIB->isIdenticalTo(*FIB)) in CountDuplicatedInstructions()
806 if (!RTIE->isIdenticalTo(*RFIE)) in CountDuplicatedInstructions()
870 assert(E1->isIdenticalTo(*E2) && in verifySameBranchInstructions()
H A DTypePromotion.cpp421 if (InstTo && User->isIdenticalTo(InstTo)) { in ReplaceAllUsersOfWith()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64MachineScheduler.cpp42 if (!Base0.isIdenticalTo(Base1)) in mayOverlapWrite()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNDPPCombine.cpp696 if ((Use == Src0 && ((Src1 && Src1->isIdenticalTo(*Src0)) || in combineDPPMov()
697 (Src2 && Src2->isIdenticalTo(*Src0)))) || in combineDPPMov()
698 (Use == Src1 && (Src1->isIdenticalTo(*Src0) || in combineDPPMov()
699 (Src2 && Src2->isIdenticalTo(*Src1))))) { in combineDPPMov()
H A DSIPreEmitPeephole.cpp210 Found = Term.isIdenticalTo(MI); in optimizeVccBranch()
256 if (!MI.isIdenticalTo(First)) in optimizeSetGPR()
H A DSILowerControlFlow.cpp615 if (Ops[0].isIdenticalTo(Ops[1])) UniqueOpndIdx = 2; in combineMasks()
616 else if (Ops[0].isIdenticalTo(Ops[2])) UniqueOpndIdx = 1; in combineMasks()
617 else if (Ops[1].isIdenticalTo(Ops[2])) UniqueOpndIdx = 1; in combineMasks()
H A DGCNVOPDUtils.cpp58 if (Literal->isIdenticalTo(Op)) in checkVOPDRegConstraints()
H A DSIFoldOperands.cpp883 (OpNo != 1 || !MI->getOperand(1).isIdenticalTo(MI->getOperand(2)))) { in tryAddToFoldList()
1662 if (!Src1->isIdenticalTo(*Src0)) { in tryFoldCndMask()
1938 if (CurrentKnownM0Val && CurrentKnownM0Val->isIdenticalTo(NewM0Val)) { in tryFoldFoldableCopy()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETPAndVPTOptimisationsPass.cpp594 if (CondOP1.isIdenticalTo(PrevOP1) && CondOP2.isIdenticalTo(PrevOP2)) in IsVPNOTEquivalent()
600 return ExpectedCode == GetCondCode(Prev) && CondOP1.isIdenticalTo(PrevOP2) && in IsVPNOTEquivalent()
601 CondOP2.isIdenticalTo(PrevOP1); in IsVPNOTEquivalent()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DMacroInfo.cpp89 bool MacroInfo::isIdenticalTo(const MacroInfo &Other, Preprocessor &PP, in isIdenticalTo() function in MacroInfo
H A DPPDirectives.cpp3227 if (!OtherMI || !MI->isIdenticalTo(*OtherMI, *this, in HandleDefineDirective()
3255 !MI->isIdenticalTo(*OtherMI, *this, in HandleDefineDirective()
3279 !MI->isIdenticalTo(*OtherMI, *this, /*Syntactic=*/LangOpts.MicrosoftExt)) { in HandleDefineDirective()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOperand.h759 LLVM_ABI bool isIdenticalTo(const MachineOperand &Other) const;
1042 return LHS.isIdenticalTo(RHS);
H A DMachineInstr.h1281 LLVM_ABI bool isIdenticalTo(const MachineInstr &Other,
2104 return LHS->isIdenticalTo(*RHS, MachineInstr::IgnoreVRegDefs);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp237 return GEP0 && GEP1 && GEP0->isIdenticalTo(GEP1) && GEP0->hasOneUse() && in canSinkStoresAndGEPs()
H A DReassociate.cpp1064 if (I1->isIdenticalTo(I2)) in FindInOperandList()
1073 if (I1->isIdenticalTo(I2)) in FindInOperandList()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp339 if (!iter1->isIdenticalTo(&*iter2)) in CompareIfRegionBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVVectorPeephole.cpp180 if (VL.isIdenticalTo(SrcVL) || !RISCV::isVLKnownLE(VL, SrcVL)) in tryToReduceVL()
774 if (RISCVII::elementsDependOnVL(RVVTSFlags) && !TrueVL.isIdenticalTo(MinVL)) in foldVMergeToMask()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DMacroInfo.h147 bool isIdenticalTo(const MacroInfo &Other, Preprocessor &PP,
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCBranchCoalescing.cpp344 if (Op1.isIdenticalTo(Op2)) { in identicalOperands()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86OptimizeLEAs.cpp203 return MO1.isIdenticalTo(MO2) && (!MO1.isReg() || !MO1.getReg().isPhysical()); in isIdenticalOp()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.h933 LLVM_ABI bool isIdenticalTo(const Instruction *I) const LLVM_READONLY;
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.cpp109 if (BaseOpA->isIdenticalTo(*BaseOpB)) { in areMemAccessesTriviallyDisjoint()

123