| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | ScopeInfo.cpp | 74 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 D | InstructionSimplify.h | 159 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 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
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | Operator.h | 132 IsExact = (1 << 0) enumerator 140 SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); in setIsExact() 146 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
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | APFloat.h | 689 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 D | InstructionSimplify.cpp | 1154 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 D | ConstantFolding.cpp | 2062 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 D | RISCVSExtWRemoval.cpp | 362 Fixable->clearFlag(MachineInstr::MIFlag::IsExact); in runOnMachineFunction()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineCasts.cpp | 730 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 D | InstCombineCompares.cpp | 2260 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 D | InstCombineMulDivRem.cpp | 1260 bool IsExact = I.isExact() && match(Op0, m_Exact(m_Value())); in visitUDiv() local 1263 if (IsExact) in visitUDiv()
|
| H A D | InstCombineSelect.cpp | 604 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 D | Attributor.cpp | 388 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 D | AMDGPUAttributor.cpp | 614 Range, [](const AAPointerInfo::Access &Acc, bool IsExact) { in funcRetrievesImplicitKernelArg() argument
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | MachineInstr.cpp | 549 MIFlags |= MachineInstr::MIFlag::IsExact; in copyFlagsFromInstruction() 1660 if (getFlag(MachineInstr::IsExact)) in print()
|
| H A D | MIRPrinter.cpp | 780 if (MI.getFlag(MachineInstr::IsExact)) in print()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | MachineInstr.h | 108 IsExact = 1 << 13, // Instruction supports division is enumerator
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Constants.cpp | 2704 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 D | AArch64AsmParser.cpp | 445 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 D | InstrEmitter.cpp | 1077 MI->setFlag(MachineInstr::MIFlag::IsExact); in EmitMachineNode()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCInstrInfo.cpp | 233 NewMI1.clearFlag(MachineInstr::MIFlag::IsExact); in setSpecialOperandAttr() 238 NewMI2.clearFlag(MachineInstr::MIFlag::IsExact); in setSpecialOperandAttr() 246 MI.clearFlag(MachineInstr::MIFlag::IsExact); in setSpecialOperandAttr()
|