Home
last modified time | relevance | path

Searched refs:isNullValue (Results 1 – 25 of 77) sorted by relevance

1234

/external/llvm/lib/IR/
DConstantFold.cpp47 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 …]
DConstants.cpp61 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/
DConstant.h54 bool isNullValue() const;
/external/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp32 (V && V->isNullValue()) in EmitTargetCodeForMemset()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp529 if (L->isNullValue() && R->isNullValue()) in cmpConstants()
531 if (L->isNullValue() && !R->isNullValue()) in cmpConstants()
533 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
DGlobalOpt.cpp378 !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/
DDAGCombiner.cpp1512 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/
DCtorUtils.cpp86 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
/external/llvm/lib/CodeGen/
DShadowStackGC.cpp212 if (!C->isNullValue()) in GetFrameMap()
318 return C->isNullValue(); in IsNullValue()
/external/llvm/lib/Analysis/
DConstantFolding.cpp56 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()
DValueTracking.cpp822 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()
DSparsePropagation.cpp158 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
DLazyValueInfo.cpp1122 if (Res->isNullValue()) in getPredicateOnEdge()
1129 if (Res->isNullValue()) in getPredicateOnEdge()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DSIISelLowering.cpp407 && False->isNullValue() in PerformDAGCombine()
427 && C->isNullValue() in PerformDAGCombine()
DAMDGPUISelLowering.cpp308 return C->isNullValue(); in isHWFalseValue()
/external/mesa3d/src/gallium/drivers/radeon/
DSIISelLowering.cpp407 && False->isNullValue() in PerformDAGCombine()
427 && C->isNullValue() in PerformDAGCombine()
DAMDGPUISelLowering.cpp308 return C->isNullValue(); in isHWFalseValue()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp57 if (!C->isNullValue()) in isSuitableForBSS()
/external/clang/lib/CodeGen/
DCGDecl.cpp716 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/
DXCoreISelLowering.cpp1666 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/
DInstCombineLoadStoreAlloca.cpp453 if (C->isNullValue()) { in visitLoadInst()
460 if (C->isNullValue()) { in visitLoadInst()
DInstructionCombining.cpp807 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/
DX86SelectionDAGInfo.cpp55 V->isNullValue() ? Subtarget.getBZeroEntry() : nullptr) { in EmitTargetCodeForMemset()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp122 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/
DExtractFunction.cpp243 if (CS->getOperand(1)->isNullValue()) in SplitStaticCtorDtor()

1234