Searched refs:UndefValue (Results 51 - 75 of 113) sorted by relevance

12345

/external/llvm/unittests/IR/
H A DConstantsTest.cpp27 Constant* Undef = UndefValue::get(Int1);
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp174 VMap[A] = UndefValue::get(A->getType());
/external/llvm/lib/Transforms/Scalar/
H A DSROA.cpp1926 V = IRB.CreateShuffleVector(V, UndefValue::get(V->getType()),
1965 Mask.push_back(UndefValue::get(IRB.getInt32Ty()));
1966 V = IRB.CreateShuffleVector(V, UndefValue::get(V->getType()),
2242 = new LoadInst(UndefValue::get(LI.getType()->getPointerTo()));
2891 Value *V = UndefValue::get(LI.getType());
3401 U = UndefValue::get(OldV->getType());
3454 (*DI)->replaceAllUsesWith(UndefValue::get((*DI)->getType()));
3498 I->replaceAllUsesWith(UndefValue::get(I->getType()));
H A DGVN.cpp513 UndefVal // A UndefValue representing a value from dead block (which
1359 return UndefValue::get(LoadTy);
1463 UndefValue::get(LI->getType())));
1985 L->replaceAllUsesWith(UndefValue::get(L->getType()));
1995 L->replaceAllUsesWith(UndefValue::get(L->getType()));
2766 UndefValue::get(Phi.getType()));
H A DReassociate.cpp586 I->setOperand(OpIdx, UndefValue::get(I->getType()));
798 Constant *Undef = UndefValue::get(I->getType());
957 Shl->setOperand(0, UndefValue::get(Shl->getType())); // Drop use of op.
H A DTailRecursionElimination.cpp664 !isa<UndefValue>(Ret->getReturnValue()) &&
H A DScalarReplAggregates.cpp810 Value *Res = UndefValue::get(ST);
824 Value *Res = UndefValue::get(AT);
1910 Value *Insert = UndefValue::get(LIType);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp243 Op<0>() = UndefValue::get(Type::getInt32Ty(Context));
1213 V = UndefValue::get(CurTy);
1266 V = UndefValue::get(CurTy);
1293 V = UndefValue::get(CurTy);
1364 V = UndefValue::get(CurTy); // Unknown binop.
1395 V = UndefValue::get(CurTy); // Unknown cast.
3141 A->replaceAllUsesWith(UndefValue::get(A->getType()));
/external/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1547 Value *Vec = UndefValue::get(Ty);
2026 Value *Undef = UndefValue::get(Ty);
2558 VecLen, UndefValue::get(Builder.getInt32Ty()));
2823 TmpVec, UndefValue::get(TmpVec->getType()), LeftMask, "rdx.shuf.l");
2825 TmpVec, UndefValue::get(TmpVec->getType()), (RightMask),
2833 TmpVec, UndefValue::get(TmpVec->getType()), UpperHalf, "rdx.shuf");
2854 if (!isa<UndefValue>(FirstInsertElem->getOperand(0)))
H A DLoopVectorize.cpp1604 return Builder.CreateShuffleVector(Vec, UndefValue::get(Vec->getType()),
1790 UndefValue::get(VectorType::get(Instr->getType(), VF));
2765 UndefValue::get(Builder.getInt32Ty()));
2769 UndefValue::get(TmpVec->getType()),
2838 LCSSAPhi->addIncoming(UndefValue::get(LCSSAPhi->getType()),
3043 Value *VecVal = UndefValue::get(VectorType::get(P->getType(), VF));
5929 UndefValue::get(Instr->getType());
/external/clang/lib/CodeGen/
H A DCodeGenFunction.cpp271 PN->replaceAllUsesWith(llvm::UndefValue::get(PN->getType()));
471 llvm::UndefValue::get(CGM.getTypes().ConvertType(A->getTypeHint())),
582 llvm::Value *Undef = llvm::UndefValue::get(Int32Ty);
H A DCGExprComplex.cpp360 llvm::Value *U = llvm::UndefValue::get(EltTy);
823 llvm::Value *U = llvm::UndefValue::get(EltTy);
/external/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp1076 Value *ShadowVec = UndefValue::get(ShadowVecTy);
1239 IRB.CreateInsertValue(UndefValue::get(RT), RI.getReturnValue(), 0);
1450 Value *UndefShadow = UndefValue::get(DFSF.DFS.ShadowTy);
H A DThreadSanitizer.cpp537 Value *Res = IRB.CreateInsertValue(UndefValue::get(CASI->getType()), C, 0);
/external/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp538 CI->replaceAllUsesWith(UndefValue::get(CI->getType()));
H A DSjLjEHPrepare.cpp175 Value *LPadVal = UndefValue::get(LPadType);
H A DCodeGenPrepare.cpp1239 Inst->setOperand(It, UndefValue::get(Val->getType()));
1893 // UndefValue are typed, so we have to statically sign extend them.
1894 if (isa<UndefValue>(Opnd)) {
1896 TPT.setOperand(SExtOpnd, OpIdx, UndefValue::get(SExt->getType()));
/external/llvm/lib/IR/
H A DAutoUpgrade.cpp350 Rep = UndefValue::get(VecTy);
H A DInstructions.cpp132 replaceAllUsesWith(UndefValue::get(getType()));
172 return UndefValue::get(getType());
1588 if (isa<UndefValue>(Mask) || isa<ConstantAggregateZero>(Mask))
1597 } else if (!isa<UndefValue>(Op)) {
1632 if (isa<UndefValue>(C))
1650 Result.push_back(isa<UndefValue>(C) ? -1 :
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp122 if (CV->isNullValue() || isa<UndefValue>(CV))
1510 if (!Initializer->isNullValue() && !isa<UndefValue>(Initializer)) {
1543 if (!isa<UndefValue>(Initializer) && !Initializer->isNullValue()) {
2118 if (isa<UndefValue>(CPV) || CPV->isNullValue()) {
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1345 ReplaceInstUsesWith(*Call, UndefValue::get(Call->getType()));
1546 V2 = UndefValue::get(SrcTy);
1594 if (isa<UndefValue>(V)) return true;
1836 return InsertElementInst::Create(UndefValue::get(DestTy), Elem,
/external/llvm/lib/Transforms/ObjCARC/
H A DObjCARCOpts.cpp1336 new StoreInst(UndefValue::get(cast<PointerType>(Ty)->getElementType()),
1339 llvm::Value *NewValue = UndefValue::get(CI->getType());
1355 new StoreInst(UndefValue::get(cast<PointerType>(Ty)->getElementType()),
1359 llvm::Value *NewValue = UndefValue::get(CI->getType());
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp547 Value *NV = UndefValue::get(PN->getType());
H A DSimplifyCFG.cpp1904 if (TrueValue == FalseValue || isa<UndefValue>(FalseValue)) {
1905 } else if (isa<UndefValue>(TrueValue)) {
3019 BBI->replaceAllUsesWith(UndefValue::get(BBI->getType()));
3345 isa<UndefValue>(C);
3577 if (!isa<UndefValue>(TableContents[I - 1])) {
/external/llvm/tools/bugpoint/
H A DCrashDebugger.cpp405 Inst->replaceAllUsesWith(UndefValue::get(Inst->getType()));

Completed in 3818 milliseconds

12345