Home
last modified time | relevance | path

Searched refs:ConstantAggregateZero (Results 1 – 25 of 49) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp90 if (isa<ConstantAggregateZero>(GV->getInitializer())) in findGlobalCtors()
95 if (isa<ConstantAggregateZero>(V)) in findGlobalCtors()
H A DValueMapper.cpp518 if (isa<ConstantAggregateZero>(C)) in mapValue()
519 return getVM()[V] = ConstantAggregateZero::get(NewTy); in mapValue()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstants.cpp97 return isa<ConstantAggregateZero>(this) || isa<ConstantPointerNull>(this) || in isNullValue()
313 if (isa<ConstantAggregateZero>(C)) in containsUndefinedElement()
379 return ConstantAggregateZero::get(Ty); in getNullValue()
428 if (const auto *CAZ = dyn_cast<ConstantAggregateZero>(this)) in getAggregateElement()
509 delete static_cast<ConstantAggregateZero *>(C); in deleteConstant()
1083 Constant *ConstantAggregateZero::getSequentialElement() const { in getSequentialElement()
1089 Constant *ConstantAggregateZero::getStructElement(unsigned Elt) const { in getStructElement()
1093 Constant *ConstantAggregateZero::getElementValue(Constant *C) const { in getElementValue()
1099 Constant *ConstantAggregateZero::getElementValue(unsigned Idx) const { in getElementValue()
1105 ElementCount ConstantAggregateZero::getElementCount() const { in getElementCount()
[all …]
H A DAutoUpgrade.cpp1256 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(Ty) in UpgradeX86VPERMT2Intrinsics()
1370 ZeroMask ? ConstantAggregateZero::get(CI.getType()) : in upgradeX86ConcatShift()
2701 V0 = (Imm & 0x08) ? ConstantAggregateZero::get(CI->getType()) : V0; in UpgradeIntrinsicCall()
2702 V1 = (Imm & 0x80) ? ConstantAggregateZero::get(CI->getType()) : V1; in UpgradeIntrinsicCall()
3464 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3492 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3528 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3558 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86InstCombineIntrinsic.cpp62 if (isa<ConstantAggregateZero>(Mask)) in simplifyX86MaskedLoad()
92 if (isa<ConstantAggregateZero>(Mask)) { in simplifyX86MaskedStore()
224 return ConstantAggregateZero::get(VT); in simplifyX86immShift()
279 return ConstantAggregateZero::get(VT); in simplifyX86immShift()
580 ConstantAggregateZero *ZeroVector = ConstantAggregateZero::get(VecTy); in simplifyX86insertps()
680 ConstantAggregateZero::get(ShufTy), ShuffleMask); in simplifyX86extrq()
1449 ConstantAggregateZero::get(II.getType())); in instCombineIntrinsic()
1620 if (isa<ConstantAggregateZero>(Mask)) { in instCombineIntrinsic()
1798 return ConstantAggregateZero::get(II.getType()); in simplifyDemandedVectorEltsIntrinsic()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstants.h334 class ConstantAggregateZero final : public ConstantData {
337 explicit ConstantAggregateZero(Type *Ty) in ConstantAggregateZero() function
343 ConstantAggregateZero(const ConstantAggregateZero &) = delete;
345 static ConstantAggregateZero *get(Type *Ty);
H A DValue.def92 HANDLE_CONSTANT(ConstantAggregateZero)
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/
H A DMangling.cpp63 if (isa<ConstantAggregateZero>(InitVal)) in add()
H A DLayer.cpp66 if (isa<ConstantAggregateZero>(InitVal)) in IRMaterializationUnit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp106 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
H A DGlobalMerge.cpp477 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-offload-wrapper/
H A DClangOffloadWrapper.cpp192 ConstantAggregateZero::get(ArrayType::get(getEntryTy(), 0u)); in createBinDesc()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp123 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprConstant.cpp69 return llvm::ConstantAggregateZero::get(Ty); in getZeroes()
368 if (isa<llvm::ConstantAggregateZero>(C)) { in split()
942 return llvm::ConstantAggregateZero::get(DesiredType); in EmitArrayConstant()
965 Elements.back() = llvm::ConstantAggregateZero::get(FillerType); in EmitArrayConstant()
1700 llvm::ConstantAggregateZero::get( in emitForMemory()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp919 const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(C); in getConstantValue()
1146 if (isa<ConstantAggregateZero>(Init)) { in InitializeMemory()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1047 bool isSumZero = isa<ConstantAggregateZero>(Result.getColumn(J)); in emitMatrixMultiply()
1076 bool isSumZero = isa<ConstantAggregateZero>(Result.getRow(I)); in emitMatrixMultiply()
1223 Res.addVector(ConstantAggregateZero::get(ColumType)); in getZeroMatrix()
1251 Phi->addIncoming(ConstantAggregateZero::get(TileVecTy), in createTiledLoops()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp396 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp189 } else if (isa<ConstantAggregateZero>(Init)) { in lowerPrintfForGpu()
H A DAMDGPULibCalls.cpp860 ConstantAggregateZero *CZero; in fold_pow()
865 CZero = dyn_cast<ConstantAggregateZero>(opr1); in fold_pow()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp401 if (isa<ConstantPointerNull>(L) || isa<UndefValue>(L) || isa<ConstantAggregateZero>(L)) in equivalentAsOperands()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp639 if (isa<ConstantAggregateZero>(V)) { in collectShuffleElements()
1639 if (isa<ConstantAggregateZero>(V)) in evaluateInDifferentElementOrder()
1640 return ConstantAggregateZero::get(FixedVectorType::get(EltTy, Mask.size())); in evaluateInDifferentElementOrder()
H A DInstructionCombining.cpp3216 if (isa<ConstantAggregateZero>(FilterClause)) { in visitLandingPadInst()
3378 if (isa<ConstantAggregateZero>(LFilter)) { // LFilter only contains zeros. in visitLandingPadInst()
3381 if (isa<ConstantAggregateZero>(Filter)) { in visitLandingPadInst()
3391 if (isa<ConstantAggregateZero>(Filter)) { // Filter only contains zeros. in visitLandingPadInst()
H A DInstCombineCalls.cpp1533 if (isa<ConstantAggregateZero>(Arg0) || isa<ConstantAggregateZero>(Arg1)) { in visitCallInst()
1534 return replaceInstUsesWith(CI, ConstantAggregateZero::get(II->getType())); in visitCallInst()
/netbsd-src/external/apache2/llvm/dist/llvm/examples/ExceptionDemo/
H A DExceptionDemo.cpp982 llvm::ConstantAggregateZero::get( in createFinallyBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c639 ConstantAggregateZero, enumerator
667 DEFINE_CASE(Val, ConstantAggregateZero); in llvm_classify_value()

12