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.cpp358 Instruction *LHSI = LHS.Inst, *RHSI = RHS.Inst; in isEqualImpl() local
361 return LHSI == RHSI; in isEqualImpl()
363 if (LHSI->getOpcode() != RHSI->getOpcode()) in isEqualImpl()
365 if (LHSI->isIdenticalToWhenDefined(RHSI)) { in isEqualImpl()
369 if (CallInst *CI = dyn_cast<CallInst>(LHSI); in isEqualImpl()
370 CI && CI->isConvergent() && LHSI->getParent() != RHSI->getParent()) in isEqualImpl()
377 if (BinaryOperator *LHSBinOp = dyn_cast<BinaryOperator>(LHSI)) { in isEqualImpl()
389 if (CmpInst *LHSCmp = dyn_cast<CmpInst>(LHSI)) { in isEqualImpl()
399 auto *LII = dyn_cast<IntrinsicInst>(LHSI); in isEqualImpl()
410 if (const GCRelocateInst *GCR1 = dyn_cast<GCRelocateInst>(LHSI)) in isEqualImpl()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp239 Init *LHSI = LHS->getValueInit(Field.Name); in compareBy() local
243 int64_t LHSi = getAsInt(LHSI); in compareBy()
250 CodeGenIntrinsic &LHSi = getIntrinsic(LHSI); in compareBy()
260 Record *LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy()
276 auto LHSr = cast<DefInit>(LHSI)->getDef(); in compareBy()
285 std::string LHSs = primaryRepresentation(Index.Loc, Field, LHSI); in compareBy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp4094 Instruction *LHSI = dyn_cast<Instruction>(Op0); in foldICmpInstWithConstantNotInt() local
4095 if (!RHSC || !LHSI) in foldICmpInstWithConstantNotInt()
4098 switch (LHSI->getOpcode()) { in foldICmpInstWithConstantNotInt()
4100 if (Instruction *NV = foldOpIntoPhi(I, cast<PHINode>(LHSI))) in foldICmpInstWithConstantNotInt()
4106 DL.getIntPtrType(RHSC->getType()) == LHSI->getOperand(0)->getType()) in foldICmpInstWithConstantNotInt()
4108 I.getPredicate(), LHSI->getOperand(0), in foldICmpInstWithConstantNotInt()
4109 Constant::getNullValue(LHSI->getOperand(0)->getType())); in foldICmpInstWithConstantNotInt()
4115 dyn_cast<GetElementPtrInst>(LHSI->getOperand(0))) in foldICmpInstWithConstantNotInt()
4118 foldCmpLoadFromIndexedGlobal(cast<LoadInst>(LHSI), GEP, GV, I)) in foldICmpInstWithConstantNotInt()
7604 Instruction *LHSI, in foldFCmpIntToFPConst() argument
[all …]
H A DInstCombineInternal.h654 Instruction *foldFCmpIntToFPConst(FCmpInst &I, Instruction *LHSI,
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp3091 stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
3092 const auto LHSFilenameLower = Includes[LHSI].Filename.lower(); in sortCppIncludes()
3094 return std::tie(Includes[LHSI].Priority, LHSFilenameLower, in sortCppIncludes()
3095 Includes[LHSI].Filename) < in sortCppIncludes()
3100 stable_sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
3101 return std::tie(Includes[LHSI].Priority, Includes[LHSI].Filename) < in sortCppIncludes()
3118 [&](unsigned LHSI, unsigned RHSI) { in sortCppIncludes() argument
3119 return Includes[LHSI].Text.trim() == in sortCppIncludes()
3331 sort(Indices, [&](unsigned LHSI, unsigned RHSI) { in sortJavaImports() argument
3333 return std::make_tuple(!Imports[LHSI].IsStatic ^ in sortJavaImports()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterp.h449 const T &LHSI = LHS.atIndex(1).deref<T>(); in Mulc() local
459 if (T::mul(LHSI, RHSI, Bits, &B)) in Mulc()
468 if (T::mul(LHSI, RHSR, Bits, &B)) in Mulc()
504 const T &LHSI = LHS.atIndex(1).deref<T>(); in Divc() local
529 if (T::mul(LHSR, RHSR, Bits, &A) || T::mul(LHSI, RHSI, Bits, &B)) in Divc()
538 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.cpp9201 if (const Instruction *LHSI = dyn_cast<Instruction>(LHS)) { in isImpliedCondition() local
9202 if ((LHSI->getOpcode() == Instruction::And || in isImpliedCondition()
9203 LHSI->getOpcode() == Instruction::Or || in isImpliedCondition()
9204 LHSI->getOpcode() == Instruction::Select)) in isImpliedCondition()
9205 return isImpliedCondAndOr(LHSI, RHSPred, RHSOp0, RHSOp1, DL, LHSIsTrue, in isImpliedCondition()