Home
last modified time | relevance | path

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

/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()
366 if (CallInst *CI = dyn_cast<CallInst>(LHSI); in isEqualImpl()
367 CI && CI->isConvergent() && LHSI->getParent() != RHSI->getParent()) in isEqualImpl()
374 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) { in isEqualImpl()
386 if (CmpInst *LHSCmp = dyn_cast<CmpInst>(LHSI)) { in isEqualImpl()
396 auto *LII = dyn_cast<IntrinsicInst>(LHSI); in isEqualImpl()
409 if (const GCRelocateInst *GCR1 = dyn_cast<GCRelocateInst>(LHSI)) in isEqualImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp274 &CmpLTString](const Init *LHSI, const Init *RHSI, in compareBy()
277 int64_t LHSi = getAsInt(LHSI); in compareBy()
283 const CodeGenIntrinsic &LHSi = getIntrinsic(LHSI); in compareBy()
292 const Record *LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy()
304 const Record *LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy()
311 std::string LHSs = primaryRepresentation(Index.Loc, Field, LHSI); in compareBy()
321 const Init *LHSI = LHS->getValueInit(Field.Name); in compareBy() local
323 if (int Cmp = CmpLTField(LHSI, RHSI, Field)) in compareBy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4303 Instruction *LHSI = dyn_cast<Instruction>(Op0); in foldICmpInstWithConstantNotInt() local
4304 if (!RHSC || !LHSI) in foldICmpInstWithConstantNotInt()
4307 switch (LHSI->getOpcode()) { in foldICmpInstWithConstantNotInt()
4309 if (Instruction *NV = foldOpIntoPhi(I, cast<PHINode>(LHSI))) in foldICmpInstWithConstantNotInt()
4315 DL.getIntPtrType(RHSC->getType()) == LHSI->getOperand(0)->getType()) in foldICmpInstWithConstantNotInt()
4317 I.getPredicate(), LHSI->getOperand(0), in foldICmpInstWithConstantNotInt()
4318 Constant::getNullValue(LHSI->getOperand(0)->getType())); in foldICmpInstWithConstantNotInt()
4324 dyn_cast<GetElementPtrInst>(LHSI->getOperand(0))) in foldICmpInstWithConstantNotInt()
4327 foldCmpLoadFromIndexedGlobal(cast<LoadInst>(LHSI), GEP, GV, I)) in foldICmpInstWithConstantNotInt()
7938 Instruction *LHSI, in foldFCmpIntToFPConst() argument
[all …]
H A DInstCombineInternal.h702 Instruction *foldFCmpIntToFPConst(FCmpInst &I, Instruction *LHSI,
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp3260 stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
3261 const auto LHSFilenameLower = Includes[LHSI].Filename.lower(); in sortCppIncludes()
3263 return std::tie(Includes[LHSI].Priority, LHSFilenameLower, in sortCppIncludes()
3264 Includes[LHSI].Filename) < in sortCppIncludes()
3269 stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
3270 return std::tie(Includes[LHSI].Priority, Includes[LHSI].Filename) < in sortCppIncludes()
3287 [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
3288 return Includes[LHSI].Text.trim() == in sortCppIncludes()
3508 sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortJavaImports() argument
3510 return std::make_tuple(!Imports[LHSI].IsStatic ^ in sortJavaImports()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterp.h508 const T &LHSI = LHS.atIndex(1).deref<T>(); in Mulc() local
518 if (T::mul(LHSI, RHSI, Bits, &B)) in Mulc()
527 if (T::mul(LHSI, RHSR, Bits, &B)) in Mulc()
569 const T &LHSI = LHS.atIndex(1).deref<T>(); in Divc() local
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/Analysis/
H A DValueTracking.cpp9463 if (const Instruction *LHSI = dyn_cast<Instruction>(LHS)) { in isImpliedCondition() local
9464 if ((LHSI->getOpcode() == Instruction::And || in isImpliedCondition()
9465 LHSI->getOpcode() == Instruction::Or || in isImpliedCondition()
9466 LHSI->getOpcode() == Instruction::Select)) in isImpliedCondition()
9467 return isImpliedCondAndOr(LHSI, RHSPred, RHSOp0, RHSOp1, DL, LHSIsTrue, in isImpliedCondition()