Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGIMatchTableExecutor.cpp55 MachineInstr *RHSI = MRI.getVRegDef(RHS.getReg()); in isBaseWithConstantOffset() local
56 if (RHSI->getOpcode() != TargetOpcode::G_CONSTANT) in isBaseWithConstantOffset()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DEarlyCSE.cpp355 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqualImpl() local
358 return LHSI == RHSI; in isEqualImpl()
360 if (LHSI->getOpcode() != RHSI->getOpcode()) in isEqualImpl()
362 if (LHSI->isIdenticalToWhenDefined(RHSI, /*IntersectAttrs=*/true)) { in isEqualImpl()
367 CI && CI->isConvergent() && LHSI->getParent() != RHSI->getParent()) in isEqualImpl()
378 assert(isa<BinaryOperator>(RHSI) && in isEqualImpl()
380 BinaryOperator *RHSBinOp = cast<BinaryOperator>(RHSI); in isEqualImpl()
387 assert(isa<CmpInst>(RHSI) && in isEqualImpl()
389 CmpInst *RHSCmp = cast<CmpInst>(RHSI); in isEqualImpl()
397 auto *RII = dyn_cast<IntrinsicInst>(RHSI); in isEqualImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp274 &CmpLTString](const Init *LHSI, const Init *RHSI, in compareBy()
278 int64_t RHSi = getAsInt(RHSI); in compareBy()
284 const CodeGenIntrinsic &RHSi = getIntrinsic(RHSI); in compareBy()
293 const Record *RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy()
305 const Record *RHSr = cast<DefInit>(RHSI)->getDef(); in compareBy()
312 std::string RHSs = primaryRepresentation(Index.Loc, Field, RHSI); in compareBy()
322 const Init *RHSI = RHS->getValueInit(Field.Name); in compareBy() local
323 if (int Cmp = CmpLTField(LHSI, RHSI, Field)) in compareBy()
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp3260 stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
3262 const auto RHSFilenameLower = Includes[RHSI].Filename.lower(); in sortCppIncludes()
3265 std::tie(Includes[RHSI].Priority, RHSFilenameLower, in sortCppIncludes()
3266 Includes[RHSI].Filename); in sortCppIncludes()
3269 stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
3271 std::tie(Includes[RHSI].Priority, Includes[RHSI].Filename); in sortCppIncludes()
3287 [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
3289 Includes[RHSI].Text.trim(); in sortCppIncludes()
3508 sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortJavaImports() argument
3513 std::make_tuple(!Imports[RHSI].IsStatic ^ in sortJavaImports()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterp.h510 const T &RHSI = RHS.atIndex(1).deref<T>(); in Mulc() local
518 if (T::mul(LHSI, RHSI, Bits, &B)) in Mulc()
525 if (T::mul(LHSR, RHSI, Bits, &A)) in Mulc()
571 const T &RHSI = RHS.atIndex(1).deref<T>(); in Divc() local
576 Compare(RHSI, Zero) == ComparisonCategoryResult::Equal) { in Divc()
584 if (T::mul(RHSR, RHSR, Bits, &A) || T::mul(RHSI, RHSI, Bits, &B)) { in Divc()
601 if (T::mul(LHSR, RHSR, Bits, &A) || T::mul(LHSI, RHSI, Bits, &B)) in Divc()
610 if (T::mul(LHSI, RHSR, Bits, &A) || T::mul(LHSR, RHSI, Bits, &B)) in Divc()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp616 if (auto *RHSI = dyn_cast<Instruction>(RHS)) in foldLogOpOfMaskedICmps() local
617 RHSI->dropPoisonGeneratingFlags(); in foldLogOpOfMaskedICmps()