Home
last modified time | relevance | path

Searched refs:IsExact (Results 1 – 25 of 52) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp75 bool IsExact = false; in getBaseInfo() local
80 IsExact = isa<VarDecl>(D); in getBaseInfo()
85 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
91 IsExact = IE->getBase()->isObjCSelfExpr(); in getBaseInfo()
106 IsExact = DoubleBase->isObjCSelfExpr(); in getBaseInfo()
115 return BaseInfoTy(D, IsExact); in getBaseInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h74 LLVM_ABI Value *simplifySDivInst(Value *LHS, Value *RHS, bool IsExact,
78 LLVM_ABI Value *simplifyUDivInst(Value *LHS, Value *RHS, bool IsExact,
143 LLVM_ABI Value *simplifyLShrInst(Value *Op0, Value *Op1, bool IsExact,
147 LLVM_ABI Value *simplifyAShrInst(Value *Op0, Value *Op1, bool IsExact,
H A DTargetFolder.h68 bool IsExact) const override { in FoldExactBinOp() argument
74 Opc, LC, RC, IsExact ? PossiblyExactOperator::IsExact : 0)); in FoldExactBinOp()
H A DInstSimplifyFolder.h58 bool IsExact) const override { in FoldExactBinOp() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFolder.h57 bool IsExact) const override { in FoldExactBinOp() argument
63 IsExact ? PossiblyExactOperator::IsExact : 0); in FoldExactBinOp()
H A DOperator.h157 IsExact = (1 << 0)
165 SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact);
174 return SubclassOptionalData & IsExact;
H A DIRBuilderFolder.h41 Value *RHS, bool IsExact) const = 0;
H A DNoFolder.h55 bool IsExact) const override { in FoldExactBinOp() argument
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DFloating.h71 bool IsExact; in convertToInteger() local
73 &IsExact); in convertToInteger()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DHIPUtility.cpp105 auto ProcessLib = [&](llvm::StringRef LibName, bool IsExact) { in processStaticLibraries() argument
107 IsExact ? Twine(LibName).str() in processStaticLibraries()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1137 bool IsExact, const SimplifyQuery &Q, in simplifyDiv() argument
1146 if (IsExact && match(Op1, m_APInt(DivC))) { in simplifyDiv()
1208 static Value *simplifySDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifySDivInst() argument
1214 return simplifyDiv(Instruction::SDiv, Op0, Op1, IsExact, Q, MaxRecurse); in simplifySDivInst()
1217 Value *llvm::simplifySDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifySDivInst() argument
1219 return ::simplifySDivInst(Op0, Op1, IsExact, Q, RecursionLimit); in simplifySDivInst()
1224 static Value *simplifyUDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifyUDivInst() argument
1226 return simplifyDiv(Instruction::UDiv, Op0, Op1, IsExact, Q, MaxRecurse); in simplifyUDivInst()
1229 Value *llvm::simplifyUDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifyUDivInst() argument
1231 return ::simplifyUDivInst(Op0, Op1, IsExact, Q, RecursionLimit); in simplifyUDivInst()
[all …]
H A DConstantFolding.cpp2290 bool IsExact = false; in ConstantFoldScalarCall1() local
2292 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
2305 bool IsExact; in ConstantFoldScalarCall1() local
2306 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
2498 bool IsExact = false; in ConstantFoldScalarCall1() local
2500 FloatToRound.convertToInteger(ResInt, RMode, &IsExact); in ConstantFoldScalarCall1()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVOptWInstrs.cpp707 Fixable->clearFlag(MachineInstr::MIFlag::IsExact); in removeSExtWInstrs()
792 MI.clearFlag(MachineInstr::MIFlag::IsExact); in appendWSuffixes()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h880 roundingMode RM, bool *IsExact) const;
1350 bool *IsExact) const { in convertToInteger() argument
1352 convertToInteger(Input, Width, IsSigned, RM, IsExact)); in convertToInteger()
1355 bool *IsExact) const;
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchOptWInstrs.cpp749 Fixable->clearFlag(MachineInstr::MIFlag::IsExact); in removeSExtWInstrs()
833 MI.clearFlag(MachineInstr::MIFlag::IsExact); in convertToWSuffixes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp680 bool IsExact = OldShift->isExact(); in narrowBinOp() local
686 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp()
687 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp()
862 bool IsExact = OldSh->isExact(); in visitTrunc() local
881 return IsExact ? BinaryOperator::CreateExactAShr(A, ShAmt) in visitTrunc()
888 Value *Shift = Builder.CreateAShr(A, ShAmt, "", IsExact); in visitTrunc()
H A DInstCombineCompares.cpp2558 bool IsExact = Shr->isExact(); in foldICmpShrConstant() local
2565 if (IsExact && (Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_ULT) && in foldICmpShrConstant()
2575 if (IsExact || Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_ULT) { in foldICmpShrConstant()
2615 if (Pred == CmpInst::ICMP_ULT || (Pred == CmpInst::ICMP_UGT && IsExact)) { in foldICmpShrConstant()
7956 bool IsExact = false; in foldFCmpIntToFPConst() local
7958 RHS->convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
7962 if (!IsExact) { in foldFCmpIntToFPConst()
8101 bool IsExact; in foldFCmpIntToFPConst() local
8102 RHS->convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()
8104 if (!IsExact) { in foldFCmpIntToFPConst()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp2313 bool IsExact = !IsDynamicCastToVoid && in EmitDynamicCast() local
2323 IsExact || CGM.getCXXABI().shouldDynamicCastCallBeNullChecked( in EmitDynamicCast()
2342 } else if (IsExact) { in EmitDynamicCast()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp420 bool IsExact) { in getPotentialCopiesOfMemoryValue() argument
426 NullRequired = !IsExact; in getPotentialCopiesOfMemoryValue()
467 auto CheckAccess = [&](const AAPointerInfo::Access &Acc, bool IsExact) { in getPotentialCopiesOfMemoryValue() argument
472 CheckForNullOnlyAndUndef(Acc.getContent(), IsExact); in getPotentialCopiesOfMemoryValue()
473 if (OnlyExact && !IsExact && !NullOnly && in getPotentialCopiesOfMemoryValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGenericMachineInstrs.h30 IsExact | Disjoint | NonNeg |
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h636 char IsExact : 1; member
682 ExactFlags.IsExact = Op->isExact(); in VPIRFlags()
738 ExactFlags.IsExact = false; in dropPoisonGeneratingFlags()
771 I.setIsExact(ExactFlags.IsExact); in applyFlags()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td193 def IsExact : MIFlagEnum<"IsExact">;
1146 (match (G_SDIV $dst, $x, $y, (MIFlags (not IsExact))):$root,
1152 (match (G_UDIV $dst, $x, $y, (MIFlags (not IsExact))):$root,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp1452 MIB1->clearFlag(MachineInstr::MIFlag::IsExact); in reassociateOps()
1457 MIB2->clearFlag(MachineInstr::MIFlag::IsExact); in reassociateOps()
H A DMIRPrinter.cpp799 if (MI.getFlag(MachineInstr::IsExact)) in printMI()
H A DMachineInstr.cpp609 MIFlags |= MachineInstr::MIFlag::IsExact; in copyFlagsFromInstruction()
1853 if (getFlag(MachineInstr::IsExact)) in print()

123