/external/llvm/lib/IR/ |
D | ConstantFold.cpp | 47 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 …]
|
D | Constants.cpp | 65 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/ |
D | ConstantFold.cpp | 48 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 …]
|
D | Constants.cpp | 49 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 …]
|
D | Instruction.cpp | 407 return Op && !Op->isNullValue(); in isSafeToSpeculativelyExecute() 414 return Op && !Op->isNullValue() && !Op->isAllOnesValue(); in isSafeToSpeculativelyExecute()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Constant.h | 53 bool isNullValue() const;
|
/external/llvm/include/llvm/IR/ |
D | Constant.h | 52 bool isNullValue() const;
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | Constant.h | 54 bool isNullValue() const;
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64SelectionDAGInfo.cpp | 29 (V && V->isNullValue()) ? STI.getBZeroEntry() : nullptr; in EmitTargetCodeForMemset()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 512 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/ |
D | ConstantFolding.cpp | 49 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/ |
D | CtorUtils.cpp | 69 if (GV->getInitializer()->isNullValue()) in parseGlobalCtors()
|
D | Evaluator.cpp | 377 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) { in EvaluateBlock()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 57 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()
|
D | VectorUtils.cpp | 274 if (Elt->isNullValue()) in findScalarElement() 303 !cast<ConstantInt>(InsertEltInst->getOperand(2))->isNullValue()) in getSplatValue()
|
D | SparsePropagation.cpp | 158 Succs[C->isNullValue()] = true; in getFeasibleSuccessors()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ShadowStackGC.cpp | 212 if (!C->isNullValue()) in GetFrameMap() 318 return C->isNullValue(); in IsNullValue()
|
D | ELFWriter.cpp | 665 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/ |
D | ShadowStackGCLowering.cpp | 208 if (!C->isNullValue()) in GetFrameMap() 321 return C->isNullValue(); in IsNullValue()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 667 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/ |
D | TargetLoweringObjectFile.cpp | 55 if (!C->isNullValue()) in isSuitableForBSS()
|
/external/swiftshader/third_party/LLVM/lib/Target/XCore/ |
D | XCoreISelLowering.cpp | 1343 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/ |
D | InstCombineLoadStoreAlloca.cpp | 237 if (C->isNullValue()) { in visitLoadInst() 244 if (C->isNullValue()) { in visitLoadInst()
|
/external/llvm/lib/Target/ |
D | TargetLoweringObjectFile.cpp | 57 if (!C->isNullValue()) in isSuitableForBSS()
|
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 812 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()
|