Home
last modified time | relevance | path

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

123456

/external/llvm/lib/IR/
DConstantFold.cpp47 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
259 if (RHS->isNullValue()) in ExtractConstantBytes()
534 if (V->isNullValue() && !DestTy->isX86_MMXTy() && in ConstantFoldCastInstruction()
553 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
621 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
626 if (V->isNullValue()) in ConstantFoldCastInstruction()
633 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
647 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
728 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
748 V = Cond->isNullValue() ? V2Element : V1Element; in ConstantFoldSelectInstruction()
[all …]
DConstants.cpp65 return isNullValue(); in isNegativeZeroValue()
87 return isNullValue(); in isZeroValue()
90 bool Constant::isNullValue() const { in isNullValue() function in Constant
355 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrapImpl()
915 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C)) in getImpl()
963 isZero = V[0]->isNullValue(); in get()
966 if (!V[i]->isNullValue()) in get()
1012 bool isZero = C->isNullValue(); in getImpl()
2746 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl()
2786 if (AllSame && ToC->isNullValue()) in handleOperandChangeImpl()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DConstantFold.cpp48 if (CV->isNullValue()) return Constant::getNullValue(DstTy); in BitCastConstantVector()
241 if (RHS->isNullValue()) in ExtractConstantBytes()
523 if (V->isNullValue() && !DestTy->isX86_MMXTy()) in ConstantFoldCastInstruction()
538 if (!CE->getOperand(i)->isNullValue()) { in ConstantFoldCastInstruction()
597 if (V->isNullValue()) // Is it an integral null value? in ConstantFoldCastInstruction()
602 if (V->isNullValue()) in ConstantFoldCastInstruction()
609 CE->getOperand(0)->isNullValue()) { in ConstantFoldCastInstruction()
623 CE->getOperand(1)->isNullValue()) { in ConstantFoldCastInstruction()
697 if (Cond->isNullValue()) return V2; in ConstantFoldSelectInstruction()
758 if (Val->isNullValue()) // ee(zero, x) -> zero in ConstantFoldExtractElementInstruction()
[all …]
DConstants.cpp49 return isNullValue(); in isNegativeZeroValue()
52 bool Constant::isNullValue() const { in isNullValue() function in Constant
201 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue()) in canTrap()
612 if (!C->isNullValue()) in get()
682 if (!V[i]->isNullValue()) in get()
719 bool isZero = C->isNullValue(); in get()
1016 if (!getOperand(getNumOperands()-1)->isNullValue()) in isCString()
1022 if (getOperand(i)->isNullValue()) in isCString()
1925 if (!ToC->isNullValue()) { in replaceUsesOfWithOnConstant()
1943 if (isAllZeros) isAllZeros = Val->isNullValue(); in replaceUsesOfWithOnConstant()
[all …]
DInstruction.cpp407 return Op && !Op->isNullValue(); in isSafeToSpeculativelyExecute()
414 return Op && !Op->isNullValue() && !Op->isAllOnesValue(); in isSafeToSpeculativelyExecute()
/external/swiftshader/third_party/LLVM/include/llvm/
DConstant.h53 bool isNullValue() const;
/external/llvm/include/llvm/IR/
DConstant.h52 bool isNullValue() const;
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DConstant.h54 bool isNullValue() const;
/external/llvm/lib/Target/AArch64/
DAArch64SelectionDAGInfo.cpp29 (V && V->isNullValue()) ? STI.getBZeroEntry() : nullptr; in EmitTargetCodeForMemset()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp512 cast<ConstantSDNode>(N.getOperand(3))->isNullValue()) { in isSetCCEquivalent()
1340 if (N1C && N1C->isNullValue()) in visitADD()
1362 cast<ConstantSDNode>(N0.getOperand(0))->isNullValue()) in visitADD()
1366 cast<ConstantSDNode>(N1.getOperand(0))->isNullValue()) in visitADD()
1499 if (N1C && N1C->isNullValue()) in visitADDC()
1671 if (N1C && N1C->isNullValue()) in visitMUL()
1756 if (N0C && N1C && !N1C->isNullValue()) in visitSDIV()
1773 if (N1C && !N1C->isNullValue() && !TLI.isIntDivCheap() && in visitSDIV()
1843 if (N0C && N1C && !N1C->isNullValue()) in visitUDIV()
1866 if (N1C && !N1C->isNullValue() && !TLI.isIntDivCheap()) { in visitUDIV()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp49 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast()
487 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr()
600 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP()
646 if (Ptr->isNullValue() || BasePtr != 0) { in SymbolicallyEvaluateGEP()
915 if (TD && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
963 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp69 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
DEvaluator.cpp377 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) { in EvaluateBlock()
/external/llvm/lib/Analysis/
DConstantFolding.cpp57 if (C->isNullValue() && !DestTy->isX86_MMXTy()) in FoldBitCast()
612 if (GV->getInitializer()->isNullValue()) in ConstantFoldLoadFromConstPtr()
774 CE->getOperand(0)->isNullValue()) { in SymbolicallyEvaluateGEP()
824 if (Ptr->isNullValue() || BasePtr != 0) { in SymbolicallyEvaluateGEP()
1103 if (Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
1156 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) { in ConstantFoldCompareInstOperands()
1244 if (!CE->getOperand(1)->isNullValue()) in ConstantFoldLoadThroughGEPConstantExpr()
1875 if (MaskElt->isNullValue()) { in ConstantFoldVectorCall()
DVectorUtils.cpp274 if (Elt->isNullValue()) in findScalarElement()
303 !cast<ConstantInt>(InsertEltInst->getOperand(2))->isNullValue()) in getSplatValue()
DSparsePropagation.cpp158 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DShadowStackGC.cpp212 if (!C->isNullValue()) in GetFrameMap()
318 return C->isNullValue(); in IsNullValue()
DELFWriter.cpp665 if (List->isNullValue()) return; in EmitXXStructorList()
668 if (InitList->getOperand(i)->isNullValue()) in EmitXXStructorList()
672 if (CS->getOperand(1)->isNullValue()) in EmitXXStructorList()
/external/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp208 if (!C->isNullValue()) in GetFrameMap()
321 return C->isNullValue(); in IsNullValue()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp667 if (L->isNullValue() && R->isNullValue()) in cmpConstants()
669 if (L->isNullValue() && !R->isNullValue()) in cmpConstants()
671 if (!L->isNullValue() && R->isNullValue()) in cmpConstants()
/external/swiftshader/third_party/LLVM/lib/Target/
DTargetLoweringObjectFile.cpp55 if (!C->isNullValue()) in isSuitableForBSS()
/external/swiftshader/third_party/LLVM/lib/Target/XCore/
DXCoreISelLowering.cpp1343 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine()
1353 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 0)) { in PerformDAGCombine()
1376 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) { in PerformDAGCombine()
1392 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 0)) { in PerformDAGCombine()
1422 if (N1C && N1C->isNullValue()) { in PerformDAGCombine()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp237 if (C->isNullValue()) { in visitLoadInst()
244 if (C->isNullValue()) { in visitLoadInst()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp57 if (!C->isNullValue()) in isSuitableForBSS()
/external/clang/lib/CodeGen/
DCGDecl.cpp812 return Init->isNullValue() || NumStores--; in canEmitInitWithFewStoresAfterMemset()
843 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) && in emitStoresForInitAfterMemset()
859 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset()
874 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt)) in emitStoresForInitAfterMemset()
1251 if (!constant->isNullValue() && !isa<llvm::UndefValue>(constant)) { in EmitAutoVarInit()

123456