/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 47 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector() 244 if (RHS->isNullValue()) in ExtractConstantBytes() 522 if (V->isNullValue() && !DestTy->isX86_MMXTy()) in ConstantFoldCastInstruction() 540 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction() 603 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction() 608 if (V->isNullValue()) in ConstantFoldCastInstruction() 615 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction() 629 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction() 703 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction() 723 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction() [all …]
|
D | Constants.cpp | 61 return isNullValue(); in isNegativeZeroValue() 72 return isNullValue(); in isZeroValue() 75 bool Constant::isNullValue() const { in isNullValue() function in Constant 290 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrapImpl() 801 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in get() 922 isZero = V[0]->isNullValue(); in get() 925 if (!V[i]->isNullValue()) in get() 969 bool isZero = C->isNullValue(); in get() 2662 if (AllSame && ToC->isNullValue()) { in replaceUsesOfWithOnConstant() 2725 if (ToC->isNullValue()) { in replaceUsesOfWithOnConstant() [all …]
|
/external/llvm/include/llvm/IR/ |
D | Constant.h | 54 bool isNullValue() const;
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64SelectionDAGInfo.cpp | 32 (V && V->isNullValue()) in EmitTargetCodeForMemset()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 529 if (L->isNullValue() && R->isNullValue()) in cmpConstants() 531 if (L->isNullValue() && !R->isNullValue()) in cmpConstants() 533 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
|
D | GlobalOpt.cpp | 378 !cast<Constant>(GEPI->getOperand(1))->isNullValue()) in isSafeSROAElementUse() 403 !cast<Constant>(U->getOperand(1))->isNullValue() || in IsUserOfGlobalSafeForSRA() 1577 GV->getInitializer()->isNullValue()) { in OptimizeOnceStoredGlobal() 1640 IsOneZero = InitVal->isNullValue() && CI->isOne(); in TryToShrinkGlobalToBoolean() 2466 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) { in EvaluateBlock()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 1512 if (N1C && N1C->isNullValue()) in visitADD() 1534 cast<ConstantSDNode>(N0.getOperand(0))->isNullValue()) in visitADD() 1538 cast<ConstantSDNode>(N1.getOperand(0))->isNullValue()) in visitADD() 1671 if (N1C && N1C->isNullValue()) in visitADDC() 1838 if (N1C && N1C->isNullValue()) in visitSUBC() 1997 if (N0C && N1C && !N1C->isNullValue()) in visitSDIV() 2015 if (N1C && !N1C->isNullValue() && (N1C->getAPIntValue().isPowerOf2() || in visitSDIV() 2082 if (N0C && N1C && !N1C->isNullValue()) in visitUDIV() 2128 if (N0C && N1C && !N1C->isNullValue()) in visitSREM() 2139 if (N1C && !N1C->isNullValue()) { in visitSREM() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 86 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGC.cpp | 212 if (!C->isNullValue()) in GetFrameMap() 318 return C->isNullValue(); in IsNullValue()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 56 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast() 590 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr() 751 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP() 801 if (Ptr->isNullValue() || BasePtr != 0) { in SymbolicallyEvaluateGEP() 1120 if (TD && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1176 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands() 1199 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr()
|
D | ValueTracking.cpp | 822 if (C->isNullValue()) in isKnownToBeAPowerOfTwo() 981 if (C->isNullValue()) in isKnownNonZero() 1230 if (CLHS->isNullValue()) { in ComputeNumSignBits() 1442 if (CFP->isNullValue()) in CannotBeNegativeZero() 1483 if (C->isNullValue()) in isBytewiseValue() 1797 if (GV->getInitializer()->isNullValue()) { in getConstantStringInfo()
|
D | SparsePropagation.cpp | 158 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
|
D | LazyValueInfo.cpp | 1122 if (Res->isNullValue()) in getPredicateOnEdge() 1129 if (Res->isNullValue()) in getPredicateOnEdge()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
D | SIISelLowering.cpp | 407 && False->isNullValue() in PerformDAGCombine() 427 && C->isNullValue() in PerformDAGCombine()
|
D | AMDGPUISelLowering.cpp | 308 return C->isNullValue(); in isHWFalseValue()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | SIISelLowering.cpp | 407 && False->isNullValue() in PerformDAGCombine() 427 && C->isNullValue() in PerformDAGCombine()
|
D | AMDGPUISelLowering.cpp | 308 return C->isNullValue(); in isHWFalseValue()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 57 if (!C->isNullValue()) in isSuitableForBSS()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 716 return Init->isNullValue() || NumStores--; in canEmitInitWithFewStoresAfterMemset() 747 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) && in emitStoresForInitAfterMemset() 763 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset() 777 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset() 1125 if (!constant->isNullValue() && !isa<llvm::UndefValue>(constant)) { in EmitAutoVarInit()
|
/external/llvm/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1666 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine() 1676 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine() 1699 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine() 1715 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) { in PerformDAGCombine() 1745 if (N1C && N1C->isNullValue()) { in PerformDAGCombine()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 453 if (C->isNullValue()) { in visitLoadInst() 460 if (C->isNullValue()) { in visitLoadInst()
|
D | InstructionCombining.cpp | 807 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred; in FoldOpIntoPhi() 1309 if (!isa<Constant>(*I) || !cast<Constant>(*I)->isNullValue()) { in visitGetElementPtrInst() 1467 cast<Constant>(*GEP.idx_begin())->isNullValue() && in visitGetElementPtrInst() 2184 return TypeInfo->isNullValue(); in isCatchAll() 2426 if (LArray->getOperand(l)->isNullValue()) { in visitLandingPadInst()
|
/external/llvm/lib/Target/X86/ |
D | X86SelectionDAGInfo.cpp | 55 V->isNullValue() ? Subtarget.getBZeroEntry() : nullptr) { in EmitTargetCodeForMemset()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 122 if (CV->isNullValue() || isa<UndefValue>(CV)) in LowerConstant() 1510 if (!Initializer->isNullValue() && !isa<UndefValue>(Initializer)) { in printModuleLevelGV() 1517 if (!GVar->getInitializer()->isNullValue()) { in printModuleLevelGV() 1543 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) { in printModuleLevelGV() 2118 if (isa<UndefValue>(CPV) || CPV->isNullValue()) { in bufferLEByte()
|
/external/llvm/tools/bugpoint/ |
D | ExtractFunction.cpp | 243 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()
|