| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | ScopeInfo.cpp | 73 bool IsExact = false; in getBaseInfo() local 78 IsExact = isa<VarDecl>(D); in getBaseInfo() 83 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo() 89 IsExact = IE->getBase()->isObjCSelfExpr(); in getBaseInfo() 104 IsExact = DoubleBase->isObjCSelfExpr(); in getBaseInfo() 113 return BaseInfoTy(D, IsExact); in getBaseInfo()
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | Operator.h | 129 IsExact = (1 << 0) enumerator 137 SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); in setIsExact() 143 return SubclassOptionalData & IsExact; in isExact()
|
| H A D | ConstantFolder.h | 56 bool IsExact) const override { in FoldExactBinOp() argument 62 IsExact ? PossiblyExactOperator::IsExact : 0); in FoldExactBinOp()
|
| H A D | IRBuilderFolder.h | 39 Value *RHS, bool IsExact) const = 0;
|
| H A D | NoFolder.h | 54 bool IsExact) const override { in FoldExactBinOp() argument
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| 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
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | NarrowingConversionsCheck.cpp | 280 bool IsExact = false; in isFloatExactlyRepresentable() local 282 Result, llvm::APFloat::rmTowardZero, &IsExact) & in isFloatExactlyRepresentable() 284 return !Overflows && IsExact; in isFloatExactlyRepresentable()
|
| /llvm-project-15.0.7/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 669 bool *IsExact) const; 1107 bool *IsExact) const { in convertToInteger() argument 1109 convertToInteger(Input, Width, IsSigned, RM, IsExact)); in convertToInteger() 1112 bool *IsExact) const;
|
| /llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 701 bool IsExact = OldShift->isExact(); in narrowBinOp() local 706 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp() 707 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp() 872 bool IsExact = OldSh->isExact(); in visitTrunc() local 884 return IsExact ? BinaryOperator::CreateExactAShr(A, ShAmt) in visitTrunc() 893 Value *Shift = Builder.CreateAShr(A, ShAmt, "", IsExact); in visitTrunc()
|
| H A D | InstCombineMulDivRem.cpp | 1049 bool IsExact = I.isExact() && match(Op0, m_Exact(m_Value())); in visitUDiv() local 1052 if (IsExact) in visitUDiv()
|
| H A D | InstCombineCompares.cpp | 2314 bool IsExact = Shr->isExact(); in foldICmpShrConstant() local 2321 if (IsExact || Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_ULT) { in foldICmpShrConstant() 2361 if (Pred == CmpInst::ICMP_ULT || (Pred == CmpInst::ICMP_UGT && IsExact)) { in foldICmpShrConstant() 6397 bool IsExact = false; in foldFCmpIntToFPConst() local 6399 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst() 6403 if (!IsExact) { in foldFCmpIntToFPConst()
|
| H A D | InstCombineSelect.cpp | 580 bool IsExact = Ashr->isExact() && cast<Instruction>(TrueVal)->isExact(); in foldSelectICmpLshrAshr() local 581 return Builder.CreateAShr(X, Y, IC->getName(), IsExact); in foldSelectICmpLshrAshr()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | Attributor.cpp | 381 auto CheckForNullOnlyAndUndef = [&](Optional<Value *> V, bool IsExact) { in getPotentialCopiesOfMemoryValue() argument 387 NullRequired = !IsExact; in getPotentialCopiesOfMemoryValue() 392 auto CheckAccess = [&](const AAPointerInfo::Access &Acc, bool IsExact) { in getPotentialCopiesOfMemoryValue() argument 397 CheckForNullOnlyAndUndef(Acc.getContent(), IsExact); in getPotentialCopiesOfMemoryValue() 398 if (OnlyExact && !IsExact && !NullOnly && in getPotentialCopiesOfMemoryValue()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUAttributor.cpp | 591 OAS, [](const AAPointerInfo::Access &Acc, bool IsExact) { in funcRetrievesImplicitKernelArg() argument
|
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ConstantFolding.cpp | 2015 bool IsExact = false; in ConstantFoldScalarCall1() local 2017 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1() 2030 bool IsExact; in ConstantFoldScalarCall1() local 2031 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MachineInstr.cpp | 521 MIFlags |= MachineInstr::MIFlag::IsExact; in copyFlagsFromInstruction() 1605 if (getFlag(MachineInstr::IsExact)) in print()
|
| H A D | MIRPrinter.cpp | 779 if (MI.getFlag(MachineInstr::IsExact)) in print()
|
| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstr.h | 108 IsExact = 1 << 13, // Instruction supports division is enumerator
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Constants.cpp | 2711 isExact ? PossiblyExactOperator::IsExact : 0); in getLShr() 2716 isExact ? PossiblyExactOperator::IsExact : 0); in getAShr() 3487 BO->setIsExact(SubclassOptionalData & PossiblyExactOperator::IsExact); in getAsInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/AsmParser/ |
| H A D | AArch64AsmParser.cpp | 423 bool IsExact; // describes whether parsed value was exact. member 601 return FPImm.IsExact; in getFPImmIsExact() 2107 CreateFPImm(APFloat Val, bool IsExact, SMLoc S, MCContext &Ctx) { in CreateFPImm() argument 2110 Op->FPImm.IsExact = IsExact; in CreateFPImm()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | InstrEmitter.cpp | 1040 MI->setFlag(MachineInstr::MIFlag::IsExact); in EmitMachineNode()
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | APFloat.cpp | 4694 roundingMode RM, bool *IsExact) const { in convertToInteger() 4697 .convertToInteger(Input, Width, IsSigned, RM, IsExact); in convertToInteger()
|
| /llvm-project-15.0.7/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.cpp | 231 NewMI1.clearFlag(MachineInstr::MIFlag::IsExact); in setSpecialOperandAttr() 236 NewMI2.clearFlag(MachineInstr::MIFlag::IsExact); in setSpecialOperandAttr() 244 MI.clearFlag(MachineInstr::MIFlag::IsExact); in setSpecialOperandAttr()
|
| /llvm-project-15.0.7/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelDAGToDAG.cpp | 3020 bool IsExact; in SelectCVTFixedPosOperand() local 3025 FVal.convertToInteger(IntVal, APFloat::rmTowardZero, &IsExact); in SelectCVTFixedPosOperand() 3028 if (!IsExact || !IntVal.isPowerOf2()) return false; in SelectCVTFixedPosOperand()
|