Home
last modified time | relevance | path

Searched refs:RHSI (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DInstructionSelector.cpp48 MachineInstr *RHSI = MRI.getVRegDef(RHS.getReg()); in isBaseWithConstantOffset() local
49 if (RHSI->getOpcode() != TargetOpcode::G_CONSTANT) in isBaseWithConstantOffset()
/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()
339 assert(isa<BinaryOperator>(RHSI) && in isEqualImpl()
348 assert(isa<CmpInst>(RHSI) && in isEqualImpl()
350 CmpInst *RHSCmp = cast<CmpInst>(RHSI); in isEqualImpl()
359 auto *RII = dyn_cast<IntrinsicInst>(RHSI); 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
133 IncludeDirective &RHS = FileDirectives[RHSI]; in EndOfMainFile()
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp224 Init *RHSI = RHS->getValueInit(Field.Name); in compareBy() local
228 int64_t RHSi = getAsInt(RHSI); in compareBy()
235 CodeGenIntrinsic &RHSi = getIntrinsic(RHSI); in compareBy()
245 Record *RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy()
261 auto RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy()
270 std::string RHSs = primaryRepresentation(Index.Loc, Field, RHSI); in compareBy()
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp2679 llvm::stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
2684 std::tie(Includes[RHSI].Priority, RHSFilenameLower, in sortCppIncludes()
2685 Includes[RHSI].Filename); in sortCppIncludes()
2688 llvm::stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
2690 std::tie(Includes[RHSI].Priority, Includes[RHSI].Filename); in sortCppIncludes()
2706 [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
2708 Includes[RHSI].Text.trim(); in sortCppIncludes()
2920 llvm::sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortJavaImports() argument
2925 std::make_tuple(!Imports[RHSI].IsStatic ^ in sortJavaImports()
2927 JavaImportGroups[RHSI], Imports[RHSI].Identifier); in sortJavaImports()
[all …]