/external/llvm/lib/Transforms/InstCombine/ |
InstCombineVectorOps.cpp | 66 return UndefValue::get(VTy->getElementType()); 91 return UndefValue::get(VTy->getElementType()); 191 return ReplaceInstUsesWith(EI, UndefValue::get(EI.getType())); 264 return ReplaceInstUsesWith(EI, UndefValue::get(EI.getType())); 299 if (isa<UndefValue>(V)) { 300 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); 327 if (isa<UndefValue>(ScalarOp)) { // inserting undef into vector. 332 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); 378 if (isa<UndefValue>(V)) { 379 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))) [all...] |
InstCombineCalls.cpp | 372 UndefValue::get(LHS->getType()), 386 UndefValue::get(LHS->getType()), 407 if (isa<UndefValue>(II->getArgOperand(1))) 408 return ReplaceInstUsesWith(CI, UndefValue::get(II->getType())); 414 UndefValue::get(II->getArgOperand(0)->getType()), 427 if (isa<UndefValue>(II->getArgOperand(0)) || 428 isa<UndefValue>(II->getArgOperand(1))) 429 return ReplaceInstUsesWith(CI, UndefValue::get(II->getType())); 435 UndefValue::get(II->getArgOperand(0)->getType()), 466 UndefValue::get(LHS->getType()) [all...] |
InstCombineLoadStoreAlloca.cpp | 194 } else if (isa<UndefValue>(AI.getArraySize())) { 379 new StoreInst(UndefValue::get(LI.getType()), 381 return ReplaceInstUsesWith(LI, UndefValue::get(LI.getType())); 387 if (isa<UndefValue>(Op) || 392 new StoreInst(UndefValue::get(LI.getType()), 394 return ReplaceInstUsesWith(LI, UndefValue::get(LI.getType())); 645 if (!isa<UndefValue>(Val)) { 646 SI.setOperand(0, UndefValue::get(Val->getType())); 654 if (isa<UndefValue>(Val))
|
InstCombineSimplifyDemanded.cpp | 133 if (isa<UndefValue>(V)) 135 return UndefValue::get(VTy); [all...] |
/art/compiler/llvm/ |
runtime_support_builder_x86.cc | 37 using ::llvm::UndefValue; 79 return UndefValue::get(irb_.getJObjectTy());
|
/external/llvm/lib/Transforms/IPO/ |
IPConstantPropagation.cpp | 142 if (V == 0) V = UndefValue::get(AI->getType()); 173 RetVals.push_back(UndefValue::get(STy->getElementType(i))); 175 RetVals.push_back(UndefValue::get(F.getReturnType())); 195 if (isa<UndefValue>(V)) 200 if (isa<UndefValue>(RV)) {
|
/external/llvm/lib/IR/ |
ConstantFold.cpp | 512 if (isa<UndefValue>(V)) { 519 return UndefValue::get(DestTy); 719 if (isa<UndefValue>(Cond)) { 720 if (isa<UndefValue>(V1)) return V1; 723 if (isa<UndefValue>(V1)) return V2; 724 if (isa<UndefValue>(V2)) return V1; 743 if (isa<UndefValue>(Val)) // ee(undef, x) -> undef 744 return UndefValue::get(Val->getType()->getVectorElementType()); 748 if (isa<UndefValue>(Idx)) 749 return UndefValue::get(Val->getType()->getVectorElementType()) [all...] |
Constants.cpp | 196 if (const UndefValue *UV = dyn_cast<UndefValue>(this)) 688 // UndefValue Implementation 693 UndefValue *UndefValue::getSequentialElement() const { 694 return UndefValue::get(getType()->getSequentialElementType()); 699 UndefValue *UndefValue::getStructElement(unsigned Elt) const { 700 return UndefValue::get(getType()->getStructElementType(Elt)); 705 UndefValue *UndefValue::getElementValue(Constant *C) const [all...] |
/external/llvm/lib/Transforms/Scalar/ |
SCCP.cpp | 230 if (!isa<UndefValue>(GV->getInitializer())) 379 if (!isa<UndefValue>(V)) 408 else if (isa<UndefValue>(Elt)) [all...] |
SimplifyCFGPass.cpp | 92 BBI->replaceAllUsesWith(UndefValue::get(BBI->getType())); 153 if (isa<UndefValue>(Ptr) || 166 if (isa<ConstantPointerNull>(Callee) || isa<UndefValue>(Callee)) {
|
JumpThreading.cpp | 310 if (UndefValue *U = dyn_cast<UndefValue>(Val)) 424 isa<UndefValue>(LHSVals[i].first)) { 431 isa<UndefValue>(RHSVals[i].first)) { 576 assert(isa<UndefValue>(Cond) && "Unexpected condition value"); 705 if (isa<UndefValue>(Condition)) { [all...] |
StructurizeCFG.cpp | 162 UndefValue *BoolUndef; 271 BoolUndef = UndefValue::get(Boolean); 513 Value *Undef = UndefValue::get(Phi.getType()); 536 Value *Undef = UndefValue::get(Phi->getType()); 832 Value *Undef = UndefValue::get(II->getType());
|
/external/llvm/include/llvm/IR/ |
Constants.h | [all...] |
/external/llvm/lib/Transforms/Utils/ |
Local.cpp | 302 return isa<UndefValue>(II->getArgOperand(1)); 309 return C->isNullValue() || isa<UndefValue>(C); 388 I->replaceAllUsesWith(UndefValue::get(I->getType())); 485 if (NewVal == PN) NewVal = UndefValue::get(PN->getType()); 532 return First == Second || isa<UndefValue>(First) || isa<UndefValue>(Second); 612 if (!isa<UndefValue>(OldVal)) { 641 if (!isa<UndefValue>(V)) 656 if (!isa<UndefValue>(V)) continue; [all...] |
ValueMapper.cpp | 172 if (isa<UndefValue>(C)) 173 return VM[V] = UndefValue::get(NewTy);
|
SSAUpdater.cpp | 130 return UndefValue::get(ProtoType); 260 return UndefValue::get(Updater->ProtoType); 448 if (NewVal == ALoad) NewVal = UndefValue::get(NewVal->getType());
|
PromoteMemoryToRegister.cpp | 459 ReplVal = UndefValue::get(LI->getType()); 551 LI->replaceAllUsesWith(UndefValue::get(LI->getType())); 701 Values[i] = UndefValue::get(Allocas[i]->getAllocatedType()); 727 A->replaceAllUsesWith(UndefValue::get(A->getType())); 822 Value *UndefVal = UndefValue::get(SomePHI->getType()); [all...] |
/external/llvm/lib/Analysis/ |
Lint.cpp | 381 Assert1(!isa<UndefValue>(UnderlyingObject), 475 Assert1(!isa<UndefValue>(I.getOperand(0)) || 476 !isa<UndefValue>(I.getOperand(1)), 481 Assert1(!isa<UndefValue>(I.getOperand(0)) || 482 !isa<UndefValue>(I.getOperand(1)), 509 if (isa<UndefValue>(V)) return true; 600 return UndefValue::get(V->getType());
|
ConstantFolding.cpp | 265 if (isa<ConstantAggregateZero>(C) || isa<UndefValue>(C)) 430 return UndefValue::get(IntType); 520 if (isa<UndefValue>(GV->getInitializer())) 521 return UndefValue::get(ResTy); [all...] |
MemoryBuiltins.cpp | 419 if (UndefValue *UV = dyn_cast<UndefValue>(V)) 572 SizeOffsetType ObjectSizeOffsetVisitor::visitUndefValue(UndefValue&) { 748 OffsetPHI->replaceAllUsesWith(UndefValue::get(IntTy)); 750 SizePHI->replaceAllUsesWith(UndefValue::get(IntTy));
|
/external/llvm/lib/Transforms/Vectorize/ |
BBVectorize.cpp | 677 if (!isa<UndefValue>(IENext->getOperand(0)) && [all...] |
/external/llvm/lib/CodeGen/ |
DwarfEHPrepare.cpp | 80 if (ExcIVI && isa<UndefValue>(ExcIVI->getOperand(0)) &&
|
Analysis.cpp | 334 if (isa<UndefValue>(RetVal)) 518 if (isa<UndefValue>(Ret->getOperand(0))) return true; 561 CallVal = UndefValue::get(SlotType);
|
/external/llvm/lib/Target/R600/ |
SIAnnotateControlFlow.cpp | 53 UndefValue *BoolUndef; 123 BoolUndef = UndefValue::get(Boolean);
|
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 158 return UndefValue::get(Tp); 191 return UndefValue::get(Tp); 202 return UndefValue::get(pickPointerType()); 213 return UndefValue::get(pickVectorType()); 444 CI = UndefValue::get(I32);
|