/external/llvm/tools/bugpoint-passes/ |
TestPasses.cpp | 63 CI->replaceAllUsesWith(Constant::getNullValue(CI->getType()));
|
/external/llvm/unittests/IR/ |
ConstantsTest.cpp | 119 Constant *Zero128 = Constant::getNullValue(Int128Ty); 134 EXPECT_EQ(Constant::getNullValue(Int64Ty), 136 Constant::getNullValue(Int8PtrTy), Int64Ty)); 139 EXPECT_EQ(Constant::getNullValue(Int32PtrTy), 141 Constant::getNullValue(Int8PtrTy), Int32PtrTy)); 144 EXPECT_EQ(Constant::getNullValue(Int64VecTy), 146 Constant::getNullValue(Int8PtrVecTy), Int64VecTy)); 149 EXPECT_EQ(Constant::getNullValue(Int32PtrVecTy), 151 Constant::getNullValue(Int8PtrVecTy), Int32PtrVecTy));
|
ValueHandleTest.cpp | 302 getValPtr()->replaceAllUsesWith(Constant::getNullValue(Type::getInt32Ty(getGlobalContext()))); 319 Constant::getNullValue(Type::getInt32Ty(getGlobalContext())))); 322 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(getGlobalContext())), RVH.AURWArgument); 323 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(getGlobalContext())),
|
InstructionsTest.cpp | 205 const Constant* c8 = Constant::getNullValue(V8x8Ty); 206 const Constant* c64 = Constant::getNullValue(V8x64Ty); 208 const Constant *v2ptr32 = Constant::getNullValue(V2Int32PtrTy); 265 Constant::getNullValue(V4Int32PtrTy), 268 Constant::getNullValue(V2Int32PtrTy), 272 Constant::getNullValue(V4Int32PtrAS1Ty), 275 Constant::getNullValue(V2Int32PtrTy), 283 Constant *NullV2I32Ptr = Constant::getNullValue(V2Int32PtrTy); 491 Value *Callee = Constant::getNullValue(FnTy->getPointerTo());
|
/external/llvm/include/llvm/IR/ |
Constant.h | 53 /// getNullValue. 156 static Constant *getNullValue(Type* Ty);
|
/external/llvm/lib/Transforms/Utils/ |
CtorUtils.cpp | 46 CSVals[1] = Constant::getNullValue(StructTy->getElementType(1)); 51 CSVals[2] = Constant::getNullValue(StructTy->getElementType(2));
|
ModuleUtils.cpp | 56 CSVals[2] = llvm::Constant::getNullValue(IRB.getInt8PtrTy());
|
CodeExtractor.cpp | 364 Idx[0] = Constant::getNullValue(Type::getInt32Ty(header->getContext())); 466 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); 492 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); 515 SwitchInst::Create(Constant::getNullValue(Type::getInt16Ty(Context)), 606 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); 646 Constant::getNullValue(OldFnRetTy), TheSwitch);
|
SimplifyLibCalls.cpp | 516 return Constant::getNullValue(CI->getType()); 553 return Constant::getNullValue(CI->getType()); 828 return Constant::getNullValue(CI->getType()); 834 return Constant::getNullValue(CI->getType()); 884 return Constant::getNullValue(CI->getType()); [all...] |
/external/clang/lib/CodeGen/ |
CGCXXABI.cpp | 67 return llvm::Constant::getNullValue(CGM.getTypes().ConvertType(T)); 86 return llvm::Constant::getNullValue(FTy->getPointerTo()); 95 return llvm::Constant::getNullValue(Ty);
|
CGObjCMac.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
Reg2Mem.cpp | 86 new BitCastInst(Constant::getNullValue(Type::getInt32Ty(F.getContext())),
|
SCCP.cpp | 878 markConstant(IV, &I, Constant::getNullValue(I.getType())); [all...] |
/external/llvm/lib/IR/ |
ConstantFold.cpp | 47 if (CV->isNullValue()) return Constant::getNullValue(DstTy); 113 Constant::getNullValue(Type::getInt32Ty(DPTy->getContext())); 145 return Constant::getNullValue(DestTy); 264 return Constant::getNullValue(IntegerType::get(CE->getContext(), 286 return Constant::getNullValue(IntegerType::get(CE->getContext(), 302 return Constant::getNullValue(IntegerType::get(CE->getContext(), 350 return ConstantExpr::getNullValue(DestTy); 518 return Constant::getNullValue(DestTy); 523 return Constant::getNullValue(DestTy); 655 APInt::getNullValue(DestTy->getPrimitiveSizeInBits())) [all...] |
AutoUpgrade.cpp | 207 Constant::getNullValue(VoidPtrTy), nullptr); 512 Constant::getNullValue(Type::getInt64Ty(I->getContext())), 519 Constant::getNullValue(Type::getInt64Ty(I->getContext()))};
|
ConstantRange.cpp | 94 return ConstantRange(UMin + 1, APInt::getNullValue(W)); 106 return ConstantRange(UMin, APInt::getNullValue(W)); 665 return ConstantRange(APInt::getNullValue(getBitWidth()), umin + 1); 678 return ConstantRange(umax, APInt::getNullValue(getBitWidth()));
|
/cts/tools/dex-tools/src/dex/reader/ |
DexEncodedValueImpl.java | 105 value = getNullValue(valueArg); 125 private Object getNullValue(int valueArg) {
|
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 154 return ConstantInt::getNullValue(Tp); 158 return ConstantFP::getNullValue(Tp); 176 return ConstantInt::getNullValue(Tp); 180 return ConstantFP::getNullValue(Tp); 372 return PT->push_back(ConstantVector::getNullValue(Ty)); 387 return PT->push_back(ConstantFP::getNullValue(Ty)); 398 APInt::getNullValue(Ty->getPrimitiveSizeInBits())));
|
/external/llvm/include/llvm/Transforms/Utils/ |
Local.h | 191 Value *Result = Constant::getNullValue(IntPtrTy);
|
/external/llvm/lib/Analysis/ |
InstructionSimplify.cpp | 67 return Constant::getNullValue(Ty); 604 APInt Offset = APInt::getNullValue(IntPtrTy->getIntegerBitWidth()); 677 return Constant::getNullValue(Op0->getType()); 813 return Constant::getNullValue(Op0->getType()); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineCompares.cpp | 632 Constant::getNullValue(Offset->getType())); [all...] |
InstCombineLoadStoreAlloca.cpp | 198 Value *NullIdx = Constant::getNullValue(IdxTy); 208 return ReplaceInstUsesWith(AI, Constant::getNullValue(AI.getType())); 321 Value *Idx = Constant::getNullValue(IdxTy); 403 Constant::getNullValue(Op->getType()), &LI); 416 Constant::getNullValue(Op->getType()), &LI); 496 Constant *Zero = Constant::getNullValue(Type::getInt32Ty(SI.getContext())); [all...] |
/external/llvm/lib/CodeGen/ |
ShadowStackGC.cpp | 306 Constant::getNullValue(StackEntryPtrTy), 309 Head->setInitializer(Constant::getNullValue(StackEntryPtrTy));
|
UnreachableBlockElim.cpp | 79 PN->replaceAllUsesWith(Constant::getNullValue(PN->getType()));
|
/external/llvm/lib/Target/R600/ |
AMDGPUPromoteAlloca.cpp | 113 return Constant::getNullValue(Type::getInt32Ty(Ptr->getContext())); 315 Indices.push_back(Constant::getNullValue(Type::getInt32Ty(Mod->getContext())));
|