Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScopeInfo.cpp76 bool IsExact = false; in getBaseInfo() local
81 IsExact = isa<VarDecl>(D); in getBaseInfo()
86 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
92 IsExact = IE->getBase()->isObjCSelfExpr(); in getBaseInfo()
107 IsExact = DoubleBase->isObjCSelfExpr(); in getBaseInfo()
116 return BaseInfoTy(D, IsExact); in getBaseInfo()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h73 Value *simplifySDivInst(Value *LHS, Value *RHS, bool IsExact,
77 Value *simplifyUDivInst(Value *LHS, Value *RHS, bool IsExact,
139 Value *simplifyLShrInst(Value *Op0, Value *Op1, bool IsExact,
143 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/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.h155 IsExact = (1 << 0)
163 SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact);
172 return SubclassOptionalData & IsExact;
H A DIRBuilderFolder.h40 Value *RHS, bool IsExact) const = 0;
H A DNoFolder.h54 bool IsExact) const override { in FoldExactBinOp() argument
/freebsd/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/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h771 bool *IsExact) const;
1237 bool *IsExact) const { in convertToInteger() argument
1239 convertToInteger(Input, Width, IsSigned, RM, IsExact)); in convertToInteger()
1242 bool *IsExact) const;
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1186 bool IsExact, const SimplifyQuery &Q, in simplifyDiv() argument
1195 if (IsExact && match(Op1, m_APInt(DivC))) { in simplifyDiv()
1257 static Value *simplifySDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifySDivInst() argument
1263 return simplifyDiv(Instruction::SDiv, Op0, Op1, IsExact, Q, MaxRecurse); in simplifySDivInst()
1266 Value *llvm::simplifySDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifySDivInst() argument
1268 return ::simplifySDivInst(Op0, Op1, IsExact, Q, RecursionLimit); in simplifySDivInst()
1273 static Value *simplifyUDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifyUDivInst() argument
1275 return simplifyDiv(Instruction::UDiv, Op0, Op1, IsExact, Q, MaxRecurse); in simplifyUDivInst()
1278 Value *llvm::simplifyUDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifyUDivInst() argument
1280 return ::simplifyUDivInst(Op0, Op1, IsExact, Q, RecursionLimit); in simplifyUDivInst()
[all …]
H A DConstantFolding.cpp2096 bool IsExact = false; in ConstantFoldScalarCall1() local
2098 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
2111 bool IsExact; in ConstantFoldScalarCall1() local
2112 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchOptWInstrs.cpp718 Fixable->clearFlag(MachineInstr::MIFlag::IsExact); in removeSExtWInstrs()
802 MI.clearFlag(MachineInstr::MIFlag::IsExact); in convertToWSuffixes()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVOptWInstrs.cpp665 Fixable->clearFlag(MachineInstr::MIFlag::IsExact); in removeSExtWInstrs()
750 MI.clearFlag(MachineInstr::MIFlag::IsExact); in appendWSuffixes()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp604 bool IsExact = OldShift->isExact(); in narrowBinOp() local
610 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp()
611 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp()
789 bool IsExact = OldSh->isExact(); in visitTrunc() local
808 return IsExact ? BinaryOperator::CreateExactAShr(A, ShAmt) in visitTrunc()
815 Value *Shift = Builder.CreateAShr(A, ShAmt, "", IsExact); in visitTrunc()
H A DInstCombineCompares.cpp2508 bool IsExact = Shr->isExact(); in foldICmpShrConstant() local
2515 if (IsExact && (Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_ULT) && in foldICmpShrConstant()
2525 if (IsExact || Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_ULT) { in foldICmpShrConstant()
2565 if (Pred == CmpInst::ICMP_ULT || (Pred == CmpInst::ICMP_UGT && IsExact)) { in foldICmpShrConstant()
7621 bool IsExact = false; in foldFCmpIntToFPConst() local
7623 RHS->convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
7627 if (!IsExact) { in foldFCmpIntToFPConst()
7765 bool IsExact; in foldFCmpIntToFPConst() local
7766 RHS->convertToInteger(RHSInt, APFloat::rmTowardZero, &IsExact); in foldFCmpIntToFPConst()
7768 if (!IsExact) { in foldFCmpIntToFPConst()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGenericMachineInstrs.h30 IsExact | Disjoint | NonNeg |
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp2277 bool IsExact = !IsDynamicCastToVoid && in EmitDynamicCast() local
2286 IsExact || CGM.getCXXABI().shouldDynamicCastCallBeNullChecked( in EmitDynamicCast()
2305 } else if (IsExact) { in EmitDynamicCast()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlan.h997 char IsExact : 1; member
1055 ExactFlags.IsExact = Op->isExact(); in VPRecipeWithIRFlags()
1130 ExactFlags.IsExact = false; in dropPoisonGeneratingFlags()
1159 I->setIsExact(ExactFlags.IsExact); in setFlags()
/freebsd/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/contrib/llvm-project/llvm/include/llvm/Target/GlobalISel/
H A DCombine.td182 def IsExact : MIFlagEnum<"IsExact">;
1079 (match (G_SDIV $dst, $x, $y, (MIFlags (not IsExact))):$root,
1085 (match (G_UDIV $dst, $x, $y, (MIFlags (not IsExact))):$root,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTargetInstrInfo.cpp1220 MIB1->clearFlag(MachineInstr::MIFlag::IsExact); in reassociateOps()
1225 MIB2->clearFlag(MachineInstr::MIFlag::IsExact); in reassociateOps()
H A DMIRPrinter.cpp802 if (MI.getFlag(MachineInstr::IsExact)) in print()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp661 Range, [](const AAPointerInfo::Access &Acc, bool IsExact) { in funcRetrievesImplicitKernelArg() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h109 IsExact = 1 << 13, // Instruction supports division is enumerator

12