Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp324 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqualImpl() local
327 return LHSI == RHSI; in isEqualImpl()
329 if (LHSI->getOpcode() != RHSI->getOpcode()) in isEqualImpl()
331 if (LHSI->isIdenticalToWhenDefined(RHSI)) in isEqualImpl()
335 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) { in isEqualImpl()
347 if (CmpInst *LHSCmp = dyn_cast<CmpInst>(LHSI)) { in isEqualImpl()
358 auto *LII = dyn_cast<IntrinsicInst>(LHSI); in isEqualImpl()
367 if (const GCRelocateInst *GCR1 = dyn_cast<GCRelocateInst>(LHSI)) in isEqualImpl()
493 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqual() local
495 return LHSI == RHSI; in isEqual()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DIncludeOrderCheck.cpp131 [&FileDirectives](unsigned LHSI, unsigned RHSI) { in EndOfMainFile() argument
132 IncludeDirective &LHS = FileDirectives[LHSI]; in EndOfMainFile()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp223 Init *LHSI = LHS->getValueInit(Field.Name); in compareBy() local
227 int64_t LHSi = getAsInt(LHSI); in compareBy()
234 CodeGenIntrinsic &LHSi = getIntrinsic(LHSI); in compareBy()
244 Record *LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy()
260 auto LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy()
269 std::string LHSs = primaryRepresentation(Index.Loc, Field, LHSI); in compareBy()
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp3530 if (!RHSC || !LHSI) in foldICmpInstWithConstantNotInt()
3533 switch (LHSI->getOpcode()) { in foldICmpInstWithConstantNotInt()
3539 I.getPredicate(), LHSI->getOperand(0), in foldICmpInstWithConstantNotInt()
3546 if (LHSI->getParent() == I.getParent()) in foldICmpInstWithConstantNotInt()
3555 I.getPredicate(), LHSI->getOperand(0), in foldICmpInstWithConstantNotInt()
6393 bool LHSUnsigned = isa<UIToFPInst>(LHSI); in foldFCmpIntToFPConst()
6647 if (!LHSI->hasNoInfs() || !I.hasNoInfs()) in foldFCmpReciprocalAndZero()
6653 if (!match(LHSI->getOperand(0), m_APFloat(C))) in foldFCmpReciprocalAndZero()
6830 Instruction *LHSI; in visitFCmpInst() local
6833 switch (LHSI->getOpcode()) { in visitFCmpInst()
[all …]
H A DInstCombineInternal.h665 Instruction *foldFCmpIntToFPConst(FCmpInst &I, Instruction *LHSI,
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp2679 llvm::stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
2682 return std::tie(Includes[LHSI].Priority, LHSFilenameLower, in sortCppIncludes()
2683 Includes[LHSI].Filename) < in sortCppIncludes()
2688 llvm::stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
2689 return std::tie(Includes[LHSI].Priority, Includes[LHSI].Filename) < in sortCppIncludes()
2706 [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
2707 return Includes[LHSI].Text.trim() == in sortCppIncludes()
2920 llvm::sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortJavaImports() argument
2922 return std::make_tuple(!Imports[LHSI].IsStatic ^ in sortJavaImports()
2924 JavaImportGroups[LHSI], Imports[LHSI].Identifier) < in sortJavaImports()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DValueTracking.cpp6778 if (const Instruction *LHSI = dyn_cast<Instruction>(LHS)) { in isImpliedCondition() local
6779 if ((LHSI->getOpcode() == Instruction::And || in isImpliedCondition()
6780 LHSI->getOpcode() == Instruction::Or || in isImpliedCondition()
6781 LHSI->getOpcode() == Instruction::Select)) in isImpliedCondition()
6782 return isImpliedCondAndOr(LHSI, RHSPred, RHSOp0, RHSOp1, DL, LHSIsTrue, in isImpliedCondition()