Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DScopeInfo.cpp74 bool IsExact = false; in getBaseInfo() local
79 IsExact = isa<VarDecl>(D); in getBaseInfo()
84 IsExact = isa<CXXThisExpr>(ME->getBase()->IgnoreParenImpCasts()); in getBaseInfo()
90 IsExact = IE->getBase()->isObjCSelfExpr(); in getBaseInfo()
105 IsExact = DoubleBase->isObjCSelfExpr(); in getBaseInfo()
114 return BaseInfoTy(D, IsExact); in getBaseInfo()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DInstructionSimplify.h159 Value *simplifySDivInst(Value *LHS, Value *RHS, bool IsExact,
163 Value *simplifyUDivInst(Value *LHS, Value *RHS, bool IsExact,
225 Value *simplifyLShrInst(Value *Op0, Value *Op1, bool IsExact,
229 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
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DOperator.h132 IsExact = (1 << 0) enumerator
140 SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); in setIsExact()
146 return SubclassOptionalData & IsExact; in isExact()
H A DConstantFolder.h56 bool IsExact) const override { in FoldExactBinOp() argument
62 IsExact ? PossiblyExactOperator::IsExact : 0); in FoldExactBinOp()
H A DIRBuilderFolder.h39 Value *RHS, bool IsExact) const = 0;
H A DNoFolder.h54 bool IsExact) const override { in FoldExactBinOp() argument
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPFloat.h689 bool *IsExact) const;
1121 bool *IsExact) const { in convertToInteger() argument
1123 convertToInteger(Input, Width, IsSigned, RM, IsExact)); in convertToInteger()
1126 bool *IsExact) const;
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInstructionSimplify.cpp1154 bool IsExact, const SimplifyQuery &Q, in simplifyDiv() argument
1166 if (IsExact && match(Op1, m_APInt(DivC)) && DivC->countTrailingZeros()) { in simplifyDiv()
1252 static Value *simplifySDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifySDivInst() argument
1258 return simplifyDiv(Instruction::SDiv, Op0, Op1, IsExact, Q, MaxRecurse); in simplifySDivInst()
1261 Value *llvm::simplifySDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifySDivInst() argument
1263 return ::simplifySDivInst(Op0, Op1, IsExact, Q, RecursionLimit); in simplifySDivInst()
1268 static Value *simplifyUDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifyUDivInst() argument
1270 return simplifyDiv(Instruction::UDiv, Op0, Op1, IsExact, Q, MaxRecurse); in simplifyUDivInst()
1273 Value *llvm::simplifyUDivInst(Value *Op0, Value *Op1, bool IsExact, in simplifyUDivInst() argument
1275 return ::simplifyUDivInst(Op0, Op1, IsExact, Q, RecursionLimit); in simplifyUDivInst()
[all …]
H A DConstantFolding.cpp2062 bool IsExact = false; in ConstantFoldScalarCall1() local
2064 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
2077 bool IsExact; in ConstantFoldScalarCall1() local
2078 U.convertToInteger(Int, APFloat::rmTowardZero, &IsExact); in ConstantFoldScalarCall1()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVSExtWRemoval.cpp362 Fixable->clearFlag(MachineInstr::MIFlag::IsExact); in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp730 bool IsExact = OldShift->isExact(); in narrowBinOp() local
735 ? Builder.CreateAShr(A, ShAmt, OldShift->getName(), IsExact) in narrowBinOp()
736 : Builder.CreateLShr(A, ShAmt, OldShift->getName(), IsExact); in narrowBinOp()
901 bool IsExact = OldSh->isExact(); in visitTrunc() local
913 return IsExact ? BinaryOperator::CreateExactAShr(A, ShAmt) in visitTrunc()
922 Value *Shift = Builder.CreateAShr(A, ShAmt, "", IsExact); in visitTrunc()
H A DInstCombineCompares.cpp2260 bool IsExact = Shr->isExact(); in foldICmpShrConstant() local
2267 if (IsExact || Pred == CmpInst::ICMP_SLT || Pred == CmpInst::ICMP_ULT) { in foldICmpShrConstant()
2307 if (Pred == CmpInst::ICMP_ULT || (Pred == CmpInst::ICMP_UGT && IsExact)) { in foldICmpShrConstant()
6427 bool IsExact = false; in foldFCmpIntToFPConst() local
6429 RHS.convertToInteger(RHSCvt, APFloat::rmNearestTiesToEven, &IsExact); in foldFCmpIntToFPConst()
6433 if (!IsExact) { in foldFCmpIntToFPConst()
H A DInstCombineMulDivRem.cpp1260 bool IsExact = I.isExact() && match(Op0, m_Exact(m_Value())); in visitUDiv() local
1263 if (IsExact) in visitUDiv()
H A DInstCombineSelect.cpp604 bool IsExact = Ashr->isExact() && cast<Instruction>(TrueVal)->isExact(); in foldSelectICmpLshrAshr() local
605 return Builder.CreateAShr(X, Y, IC->getName(), IsExact); in foldSelectICmpLshrAshr()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DAttributor.cpp388 bool IsExact) { in getPotentialCopiesOfMemoryValue() argument
394 NullRequired = !IsExact; in getPotentialCopiesOfMemoryValue()
411 auto CheckAccess = [&](const AAPointerInfo::Access &Acc, bool IsExact) { in getPotentialCopiesOfMemoryValue() argument
416 CheckForNullOnlyAndUndef(Acc.getContent(), IsExact); in getPotentialCopiesOfMemoryValue()
417 if (OnlyExact && !IsExact && !NullOnly && in getPotentialCopiesOfMemoryValue()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUAttributor.cpp614 Range, [](const AAPointerInfo::Access &Acc, bool IsExact) { in funcRetrievesImplicitKernelArg() argument
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DMachineInstr.cpp549 MIFlags |= MachineInstr::MIFlag::IsExact; in copyFlagsFromInstruction()
1660 if (getFlag(MachineInstr::IsExact)) in print()
H A DMIRPrinter.cpp780 if (MI.getFlag(MachineInstr::IsExact)) in print()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineInstr.h108 IsExact = 1 << 13, // Instruction supports division is enumerator
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DConstants.cpp2704 isExact ? PossiblyExactOperator::IsExact : 0); in getLShr()
2709 isExact ? PossiblyExactOperator::IsExact : 0); in getAShr()
3477 BO->setIsExact(SubclassOptionalData & PossiblyExactOperator::IsExact); in getAsInstruction()
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/AsmParser/
H A DAArch64AsmParser.cpp445 bool IsExact; // describes whether parsed value was exact. member
637 return FPImm.IsExact; in getFPImmIsExact()
2309 CreateFPImm(APFloat Val, bool IsExact, SMLoc S, MCContext &Ctx) { in CreateFPImm() argument
2312 Op->FPImm.IsExact = IsExact; in CreateFPImm()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp1077 MI->setFlag(MachineInstr::MIFlag::IsExact); in EmitMachineNode()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCInstrInfo.cpp233 NewMI1.clearFlag(MachineInstr::MIFlag::IsExact); in setSpecialOperandAttr()
238 NewMI2.clearFlag(MachineInstr::MIFlag::IsExact); in setSpecialOperandAttr()
246 MI.clearFlag(MachineInstr::MIFlag::IsExact); in setSpecialOperandAttr()

12