Home
last modified time | relevance | path

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

12

/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h71 Value *simplifySDivInst(Value *LHS, Value *RHS, bool IsExact,
75 Value *simplifyUDivInst(Value *LHS, Value *RHS, bool IsExact,
137 Value *simplifyLShrInst(Value *Op0, Value *Op1, bool IsExact,
141 Value *simplifyAShrInst(Value *Op0, Value *Op1, bool IsExact,
H A DTargetFolder.h67 bool IsExact) const override { in FoldExactBinOp() argument
73 Opc, LC, RC, IsExact ? PossiblyExactOperator::IsExact : 0)); in FoldExactBinOp()
H A DInstSimplifyFolder.h56 bool IsExact) const override { in FoldExactBinOp() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFolder.h56 bool IsExact) const override { in FoldExactBinOp() argument
62 IsExact ? PossiblyExactOperator::IsExact : 0); in FoldExactBinOp()
H A DOperator.h132 IsExact = (1 << 0) enumerator
140 SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); in setIsExact()
146 return SubclassOptionalData & IsExact; in isExact()
H A DIRBuilderFolder.h39 Value *RHS, bool IsExact) const = 0;
H A DNoFolder.h54 bool IsExact) const override { in FoldExactBinOp() argument
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DFloating.h51 bool IsExact; in convertToInteger() local
52 return F.convertToInteger(Result, llvm::APFloat::rmTowardZero, &IsExact); in convertToInteger()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h740 bool *IsExact) const;
1187 bool *IsExact) const { in convertToInteger() argument
1189 convertToInteger(Input, Width, IsSigned, RM, IsExact)); in convertToInteger()
1192 bool *IsExact) const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1185 bool IsExact, const SimplifyQuery &Q, in simplifyDiv() argument
1194 if (IsExact && match(Op1, m_APInt(DivC))) { in simplifyDiv()
1249 Value *llvm::simplifySDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifySDivInst() argument
1251 return ::simplifySDivInst(Op0, Op1, IsExact, Q, RecursionLimit); in simplifySDivInst()
1261 Value *llvm::simplifyUDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifyUDivInst() argument
1263 return ::simplifyUDivInst(Op0, Op1, IsExact, Q, RecursionLimit); in simplifyUDivInst()
1401 Value *Op1, bool IsExact, in simplifyRightShift() argument
1414 return IsExact ? Op0 : Constant::getNullValue(Op0->getType()); in simplifyRightShift()
1418 if (IsExact) { in simplifyRightShift()
1502 return ::simplifyLShrInst(Op0, Op1, IsExact, Q, RecursionLimit); in simplifyLShrInst()
[all …]
H A DConstantFolding.cpp2069 bool IsExact = false; in ConstantFoldScalarCall1() local
2071 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
2084 bool IsExact; in ConstantFoldScalarCall1() local
2085 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp596 bool IsExact = OldShift->isExact(); in narrowBinOp() local
602 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp()
603 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp()
768 bool IsExact = OldSh->isExact(); in visitTrunc() local
787 return IsExact ? BinaryOperator::CreateExactAShr(A, ShAmt) in visitTrunc()
794 Value *Shift = Builder.CreateAShr(A, ShAmt, "", IsExact); in visitTrunc()
H A DInstCombineCompares.cpp2427 bool IsExact = Shr->isExact(); in foldICmpShrConstant() local
2434 if (IsExact || Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_ULT) { in foldICmpShrConstant()
2474 if (Pred == CmpInst::ICMP_ULT || (Pred == CmpInst::ICMP_UGT && IsExact)) { in foldICmpShrConstant()
7249 bool IsExact = false; in foldFCmpIntToFPConst() local
7251 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
7255 if (!IsExact) { in foldFCmpIntToFPConst()
7396 bool IsExact; in foldFCmpIntToFPConst() local
7397 RHS.convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()
7399 if (!IsExact) { in foldFCmpIntToFPConst()
H A DInstCombineMulDivRem.cpp1398 bool IsExact = I.isExact() && match(Op0, m_Exact(m_Value())); in visitUDiv() local
1401 if (IsExact) in visitUDiv()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h919 char IsExact : 1; member
971 ExactFlags.IsExact = Op->isExact(); in VPRecipeWithIRFlags()
1035 ExactFlags.IsExact = false; in dropPoisonGeneratingFlags()
1064 I->setIsExact(ExactFlags.IsExact); in setFlags()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVOptWInstrs.cpp656 Fixable->clearFlag(MachineInstr::MIFlag::IsExact); in removeSExtWInstrs()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp2313 bool IsExact = !IsDynamicCastToVoid && in EmitDynamicCast() local
2322 IsExact || CGM.getCXXABI().shouldDynamicCastCallBeNullChecked( in EmitDynamicCast()
2341 } else if (IsExact) { in EmitDynamicCast()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DAttributor.cpp419 bool IsExact) { in getPotentialCopiesOfMemoryValue() argument
425 NullRequired = !IsExact; in getPotentialCopiesOfMemoryValue()
466 auto CheckAccess = [&](const AAPointerInfo::Access &Acc, bool IsExact) { in getPotentialCopiesOfMemoryValue() argument
471 CheckForNullOnlyAndUndef(Acc.getContent(), IsExact); in getPotentialCopiesOfMemoryValue()
472 if (OnlyExact && !IsExact && !NullOnly && in getPotentialCopiesOfMemoryValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp1152 MIB1->clearFlag(MachineInstr::MIFlag::IsExact); in reassociateOps()
1157 MIB2->clearFlag(MachineInstr::MIFlag::IsExact); in reassociateOps()
H A DMachineInstr.cpp561 MIFlags |= MachineInstr::MIFlag::IsExact; in copyFlagsFromInstruction()
1686 if (getFlag(MachineInstr::IsExact)) in print()
H A DMIRPrinter.cpp798 if (MI.getFlag(MachineInstr::IsExact)) in print()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp661 Range, [](const AAPointerInfo::Access &Acc, bool IsExact) { in funcRetrievesImplicitKernelArg() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h108 IsExact = 1 << 13, // Instruction supports division is enumerator
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp447 bool IsExact; // describes whether parsed value was exact. member
639 return FPImm.IsExact; in getFPImmIsExact()
2374 CreateFPImm(APFloat Val, bool IsExact, SMLoc S, MCContext &Ctx) { in CreateFPImm() argument
2377 Op->FPImm.IsExact = IsExact; in CreateFPImm()

12