reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Constant.h
   54   bool isOneValue() const;

References

lib/Analysis/BranchProbabilityInfo.cpp
  566            (Result->isOneValue() && B == BI->getSuccessor(1))))
lib/Analysis/ConstantFolding.cpp
 2426       } else if (MaskElt->isOneValue()) {
lib/IR/Constants.cpp
  138       return Splat->isOneValue();
lib/Transforms/Coroutines/CoroInstr.h
  342     return cast<Constant>(getArgOperand(FromArg))->isOneValue();
  385     return cast<Constant>(getArgOperand(FinalArg))->isOneValue();
  447     return cast<Constant>(getArgOperand(UnwindArg))->isOneValue();
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1813     if (Elt->isOneValue()) {
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  234           if (C->isOneValue()) {
tools/clang/lib/CodeGen/CGException.cpp
 2016       C->isOneValue()) {
unittests/Analysis/ValueLatticeTest.cpp
   97   EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_EQ, I1Ty, LV1)->isOneValue());
   98   EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SGE, I1Ty, LV1)->isOneValue());
   99   EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV1)->isOneValue());
  107   EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLT, I1Ty, LV2)->isOneValue());
  108   EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_SLE, I1Ty, LV2)->isOneValue());
  109   EXPECT_TRUE(LV1.getCompare(CmpInst::ICMP_NE, I1Ty, LV2)->isOneValue());
  143   EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OEQ, I1Ty, LV2)->isOneValue());
  144   EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OGE, I1Ty, LV2)->isOneValue());
  145   EXPECT_TRUE(LV1.getCompare(CmpInst::FCMP_OLE, I1Ty, LV2)->isOneValue());
unittests/Transforms/Utils/LocalTest.cpp
  530     else if (CI.isOneValue())
  541     else if (CI.isOneValue())