Searched refs:isNullValue (Results 1 - 25 of 65) sorted by relevance

123

/freebsd-10.0-release/contrib/llvm/include/llvm/IR/
H A DConstant.h52 /// isNullValue - Return true if this is the value that would be returned by
54 bool isNullValue() const;
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DConstantFold.cpp47 if (CV->isNullValue()) return Constant::getNullValue(DstTy);
243 if (RHS->isNullValue())
521 if (V->isNullValue() && !DestTy->isX86_MMXTy())
536 if (!CE->getOperand(i)->isNullValue()) {
599 if (V->isNullValue()) // Is it an integral null value?
604 if (V->isNullValue())
611 CE->getOperand(0)->isNullValue()) {
625 CE->getOperand(1)->isNullValue()) {
697 if (Cond->isNullValue()) return V2;
708 Constant *V = Cond->isNullValue()
[all...]
H A DConstants.cpp61 return isNullValue();
72 return isNullValue();
75 bool Constant::isNullValue() const { function in class:Constant
267 if (!isa<ConstantInt>(CE->getOperand(1)) ||CE->getOperand(1)->isNullValue())
765 if (C->isNullValue() && rangeOnlyContains(V.begin(), V.end(), C))
886 isZero = V[0]->isNullValue();
889 if (!V[i]->isNullValue())
933 bool isZero = C->isNullValue();
2564 if (AllSame && ToC->isNullValue()) {
2627 if (ToC->isNullValue()) {
[all...]
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/
H A DShadowStackGC.cpp211 if (!C->isNullValue())
317 return C->isNullValue();
/freebsd-10.0-release/contrib/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp54 if (!C->isNullValue())
/freebsd-10.0-release/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp51 if (C->isNullValue() && !DestTy->isX86_MMXTy())
518 if (GV->getInitializer()->isNullValue())
673 CE->getOperand(0)->isNullValue()) {
720 if (Ptr->isNullValue() || BasePtr != 0) {
1026 if (TD && Ops1->isNullValue()) {
1074 CE0->getOpcode() == Instruction::Or && Ops1->isNullValue()) {
1097 if (!CE->getOperand(1)->isNullValue())
H A DSparsePropagation.cpp157 Succs[C->isNullValue()] = true;
H A DValueTracking.cpp813 if (C->isNullValue())
941 if (C->isNullValue())
1191 if (CLHS->isNullValue()) {
1403 if (CFP->isNullValue())
1444 if (C->isNullValue())
1754 if (GV->getInitializer()->isNullValue()) {
H A DLazyValueInfo.cpp1120 if (Res->isNullValue())
1127 if (Res->isNullValue())
H A DLoopInfo.cpp163 if (CI->isNullValue())
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp557 cast<ConstantSDNode>(N.getOperand(3))->isNullValue()) {
1405 if (N1C && N1C->isNullValue())
1427 cast<ConstantSDNode>(N0.getOperand(0))->isNullValue())
1431 cast<ConstantSDNode>(N1.getOperand(0))->isNullValue())
1562 if (N1C && N1C->isNullValue())
1734 if (N1C && N1C->isNullValue())
1782 if (N1C && N1C->isNullValue())
1867 if (N0C && N1C && !N1C->isNullValue())
1884 if (N1C && !N1C->isNullValue() &&
1922 if (N1C && !N1C->isNullValue()
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Target/X86/
H A DX86SelectionDAGInfo.cpp55 V->isNullValue() ? Subtarget->getBZeroEntry() : 0) {
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGDecl.cpp703 return Init->isNullValue() || NumStores--;
734 assert(!Init->isNullValue() && !isa<llvm::UndefValue>(Init) &&
750 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt))
764 if (!Elt->isNullValue() && !isa<llvm::UndefValue>(Elt))
1111 if (!constant->isNullValue() && !isa<llvm::UndefValue>(constant)) {
H A DCGExprConstant.cpp1095 assert(Offset->isNullValue() && "offset on array initializer");
1103 if (!Offset->isNullValue()) {
1497 if (Element->isNullValue())
/freebsd-10.0-release/contrib/llvm/lib/Target/XCore/
H A DXCoreISelLowering.cpp1324 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
1334 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) {
1357 if (N0C && N0C->isNullValue() && N1C && N1C->isNullValue()) {
1373 if (N1C && N1C->isNullValue() && N->hasNUsesOfValue(0, 1)) {
1403 if (N1C && N1C->isNullValue()) {
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp127 if (CV->isNullValue() || isa<UndefValue>(CV))
1234 if (!Initializer->isNullValue()) {
1258 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) {
1818 if (isa<UndefValue>(CPV) || CPV->isNullValue()) {
/freebsd-10.0-release/contrib/llvm/tools/bugpoint/
H A DExtractFunction.cpp242 if (CS->getOperand(1)->isNullValue())
/freebsd-10.0-release/contrib/llvm/lib/Target/R600/
H A DSIISelLowering.cpp405 && False->isNullValue()
425 && C->isNullValue()
H A DAMDGPUISelLowering.cpp367 return C->isNullValue();
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp397 if (C1->isNullValue() && C2->isNullValue() &&
H A DGlobalOpt.cpp568 !cast<Constant>(GEPI->getOperand(1))->isNullValue())
594 !cast<Constant>(U->getOperand(1))->isNullValue() ||
1775 GV->getInitializer()->isNullValue()) {
1840 IsOneZero = InitVal->isNullValue() && CI->isOne();
2191 if (GV->getInitializer()->isNullValue())
2760 if (Val->isNullValue() && DestVal && DestVal->isNullValue()) {
/freebsd-10.0-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp430 if (C->isNullValue()) {
437 if (C->isNullValue()) {
H A DInstructionCombining.cpp703 InV = InC->isNullValue() ? FalseVInPred : TrueVInPred;
1092 if (!isa<Constant>(*I) || !cast<Constant>(*I)->isNullValue()) {
1165 cast<Constant>(*GEP.idx_begin())->isNullValue() &&
1836 return TypeInfo->isNullValue();
2078 if (LArray->getOperand(l)->isNullValue()) {
H A DInstCombineCompares.cpp676 !cast<Constant>(GEPLHS->getOperand(i))->isNullValue()) {
688 !cast<Constant>(GEPRHS->getOperand(i))->isNullValue()) {
1290 if (!ICI.isEquality() || !RHS->isNullValue() || !LHSI->hasOneUse())
1557 if (!ConstantExpr::getAnd(BOC, NotCI)->isNullValue())
2317 if (RHSC->isNullValue() &&
2359 if (RHSC->isNullValue() && TD &&
3175 if (RHSC->isNullValue() && CI->getCalledFunction() &&
H A DInstCombineMulDivRem.cpp573 if (ST->isNullValue())
577 if (ST->isNullValue())

Completed in 401 milliseconds

123