/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | ScopeInfo.cpp | 76 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 D | InstructionSimplify.h | 73 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 D | TargetFolder.h | 67 bool IsExact) const override { in FoldExactBinOp() argument 73 Opc, LC, RC, IsExact ? PossiblyExactOperator::IsExact : 0)); in FoldExactBinOp()
|
H A D | InstSimplifyFolder.h | 56 bool IsExact) const override { in FoldExactBinOp() argument
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ConstantFolder.h | 56 bool IsExact) const override { in FoldExactBinOp() argument 62 IsExact ? PossiblyExactOperator::IsExact : 0); in FoldExactBinOp()
|
H A D | Operator.h | 155 IsExact = (1 << 0) 163 SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); 172 return SubclassOptionalData & IsExact;
|
H A D | IRBuilderFolder.h | 40 Value *RHS, bool IsExact) const = 0;
|
H A D | NoFolder.h | 54 bool IsExact) const override { in FoldExactBinOp() argument
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Floating.h | 51 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 D | APFloat.h | 771 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 D | InstructionSimplify.cpp | 1186 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 D | ConstantFolding.cpp | 2096 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 D | LoongArchOptWInstrs.cpp | 718 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 D | RISCVOptWInstrs.cpp | 665 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 D | InstCombineCasts.cpp | 604 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 D | InstCombineCompares.cpp | 2508 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 D | GenericMachineInstrs.h | 30 IsExact | Disjoint | NonNeg |
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 2277 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 D | VPlan.h | 997 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 D | Attributor.cpp | 419 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 D | Combine.td | 182 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 D | TargetInstrInfo.cpp | 1220 MIB1->clearFlag(MachineInstr::MIFlag::IsExact); in reassociateOps() 1225 MIB2->clearFlag(MachineInstr::MIFlag::IsExact); in reassociateOps()
|
H A D | MIRPrinter.cpp | 802 if (MI.getFlag(MachineInstr::IsExact)) in print()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUAttributor.cpp | 661 Range, [](const AAPointerInfo::Access &Acc, bool IsExact) { in funcRetrievesImplicitKernelArg() argument
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineInstr.h | 109 IsExact = 1 << 13, // Instruction supports division is enumerator
|