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

Declarations

include/llvm/IR/Constant.h
   58   bool isAllOnesValue() const;

References

lib/Analysis/ConstantFolding.cpp
  102   if (C->isAllOnesValue() && !DestTy->isX86_MMXTy() &&
lib/Analysis/InlineCost.cpp
 1395   Value *SelectedV = CondC->isAllOnesValue()
lib/Analysis/InstructionSimplify.cpp
  952   return (C && C->isAllOnesValue());
 3948     if (CondC->isAllOnesValue())
lib/Analysis/MustExecute.cpp
  151   return SimpleCst->isAllOnesValue();
lib/Analysis/ValueTracking.cpp
 2515         if (CRHS->isAllOnesValue()) {
lib/Analysis/VectorUtils.cpp
  773   if (ConstMask->isAllOnesValue() || isa<UndefValue>(ConstMask))
  778       if (MaskElt->isAllOnesValue() || isa<UndefValue>(MaskElt))
lib/CodeGen/ScalarizeMaskedMemIntrin.cpp
  145   if (isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue()) {
  282   if (isa<Constant>(Mask) && cast<Constant>(Mask)->isAllOnesValue()) {
lib/IR/AutoUpgrade.cpp
  960     if (C->isAllOnesValue())
  971     if (C->isAllOnesValue())
 1223     if (C->isAllOnesValue())
 1243     if (C->isAllOnesValue())
 1314     if (!C || !C->isAllOnesValue())
lib/IR/ConstantFold.cpp
   47   if (CV->isAllOnesValue()) return Constant::getAllOnesValue(DstTy);
  737   if (Cond->isAllOnesValue()) return V1;
lib/IR/Constants.cpp
  112       return Splat->isAllOnesValue();
lib/Target/X86/X86ISelLowering.cpp
41827     return C && C->getConstantFPValue()->isAllOnesValue();
lib/Transforms/InstCombine/InstCombineAtomicRMW.cpp
   81     return C->isAllOnesValue();
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1086   if (ConstMask->isAllOnesValue()) {
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2693             ->isAllOnesValue();
 2696             ->isAllOnesValue();
 2699             ->isAllOnesValue();
 2979     if (match(BOp1, m_APInt(BOC)) && BO->hasOneUse() && RHS->isAllOnesValue()) {
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
 1476           else if (CElt->isAllOnesValue())
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 2332         (constOp->isAllOnesValue() &&
lib/Transforms/Instrumentation/PoisonChecking.cpp
  240     if (CI->isAllOnesValue())
lib/Transforms/Utils/SimplifyCFG.cpp
 4650     if (A->isAllOnesValue())
tools/clang/lib/CodeGen/CGBuiltin.cpp
 9660     if (C->isAllOnesValue())
 9672     if (C->isAllOnesValue())
 9687     if (!C || !C->isAllOnesValue())
10938       if (C->isAllOnesValue())
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
  909     if (src->isAllOnesValue()) return src;