Home
last modified time | relevance | path

Searched refs:NonZero (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DScaledNumber.cpp192 size_t NonZero = Float.find_last_not_of('0'); in stripTrailingZeros() local
193 assert(NonZero != std::string::npos && "no . in floating point string"); in stripTrailingZeros()
195 if (Float[NonZero] == '.') in stripTrailingZeros()
196 ++NonZero; in stripTrailingZeros()
198 return Float.substr(0, NonZero + 1); in stripTrailingZeros()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonConstPropagation.cpp63 NonZero = 0x0002, enumerator
435 uint32_t Props = (NonZero | Finite); in deduce()
447 Props = (Props & ~NumericProperties) | NonZero; in deduce()
486 if (Ps & ConstantProperties::NonZero) in print()
1267 else if (Props & ConstantProperties::NonZero) in evaluateCMPpi()
1321 bool NonZero1 = (Props1 & P::NonZero), NonZero2 = (Props2 & P::NonZero); in evaluateCMPpp()
2014 bool NonZero = (Opc == Hexagon::PS_true); in evaluate() local
2015 uint32_t P = NonZero ? ConstantProperties::NonZero in evaluate()
2314 else if (Props & ConstantProperties::NonZero) in evaluate()
2693 else if (Ps & ConstantProperties::NonZero) in evaluateHexCondMove()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1014 auto GetKnownNonZeroAndOther = [&](Value *&NonZero, Value *&Other) { in foldUnsignedUnderflowCheck() argument
1015 if (!IsKnownNonZero(NonZero)) in foldUnsignedUnderflowCheck()
1016 std::swap(NonZero, Other); in foldUnsignedUnderflowCheck()
1017 return IsKnownNonZero(NonZero); in foldUnsignedUnderflowCheck()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoC.td53 let ParserMatchClass = SImmAsmOperand<6, "NonZero">;
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprScalar.cpp3199 llvm::Value *NonZero = Builder.CreateFCmpUNE(Ops.RHS, Zero); in EmitDiv() local
3200 EmitBinOpCheck(std::make_pair(NonZero, SanitizerKind::FloatDivideByZero), in EmitDiv()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp17355 bool NonZero = false; in tryStoreMergeOfConstants() local
17366 if (NonZero && FirstZeroAfterNonZero == NumConsecutiveStores) in tryStoreMergeOfConstants()
17369 NonZero |= !IsElementZero; in tryStoreMergeOfConstants()
17405 if ((!NonZero || in tryStoreMergeOfConstants()