/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | Constants.cpp | 103 return isa<ConstantAggregateZero>(this) || isa<ConstantPointerNull>(this) || in isNullValue() 328 if (isa<ConstantAggregateZero>(C)) in containsUndefinedElement() 389 return ConstantAggregateZero::get(Ty); in getNullValue() 439 if (const auto *CAZ = dyn_cast<ConstantAggregateZero>(this)) in getAggregateElement() 521 delete static_cast<ConstantAggregateZero *>(C); in deleteConstant() 1113 Constant *ConstantAggregateZero::getSequentialElement() const { in getSequentialElement() 1119 Constant *ConstantAggregateZero::getStructElement(unsigned Elt) const { in getStructElement() 1123 Constant *ConstantAggregateZero::getElementValue(Constant *C) const { in getElementValue() 1129 Constant *ConstantAggregateZero::getElementValue(unsigned Idx) const { in getElementValue() 1135 ElementCount ConstantAggregateZero::getElementCount() const { in getElementCount() [all …]
|
H A D | ConstantFold.cpp | 417 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction() 473 return ConstantAggregateZero::get(VTy); in ConstantFoldShuffleVectorInstruction()
|
H A D | AutoUpgrade.cpp | 1708 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(Ty) in upgradeX86VPERMT2Intrinsics() 1822 ZeroMask ? ConstantAggregateZero::get(CI.getType()) : in upgradeX86ConcatShift() 3047 V0 = (Imm & 0x08) ? ConstantAggregateZero::get(CI->getType()) : V0; in upgradeX86IntrinsicCall() 3048 V1 = (Imm & 0x80) ? ConstantAggregateZero::get(CI->getType()) : V1; in upgradeX86IntrinsicCall() 3801 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in upgradeX86IntrinsicCall() 3829 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in upgradeX86IntrinsicCall() 3865 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in upgradeX86IntrinsicCall() 3895 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in upgradeX86IntrinsicCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstCombineIntrinsic.cpp | 64 if (isa<ConstantAggregateZero>(Mask)) in simplifyX86MaskedLoad() 94 if (isa<ConstantAggregateZero>(Mask)) { in simplifyX86MaskedStore() 226 return ConstantAggregateZero::get(VT); in simplifyX86immShift() 281 return ConstantAggregateZero::get(VT); in simplifyX86immShift() 518 return ConstantAggregateZero::get(ResTy); in simplifyX86pmulh() 521 if (isa<ConstantAggregateZero>(Arg0) || isa<ConstantAggregateZero>(Arg1)) in simplifyX86pmulh() 522 return ConstantAggregateZero::get(ResTy); in simplifyX86pmulh() 528 : ConstantAggregateZero::get(ResTy); in simplifyX86pmulh() 531 : ConstantAggregateZero::get(ResTy); in simplifyX86pmulh() 578 return ConstantAggregateZero::get(ResTy); in simplifyX86pmadd() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | Mangling.cpp | 61 if (isa<ConstantAggregateZero>(InitVal)) in add()
|
H A D | Layer.cpp | 65 if (isa<ConstantAggregateZero>(InitVal)) in IRMaterializationUnit()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Constants.h | 351 class ConstantAggregateZero final : public ConstantData { 354 explicit ConstantAggregateZero(Type *Ty) in ConstantAggregateZero() function 360 ConstantAggregateZero(const ConstantAggregateZero &) = delete; 362 static ConstantAggregateZero *get(Type *Ty);
|
H A D | Value.def | 94 HANDLE_CONSTANT(ConstantAggregateZero)
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CtorUtils.cpp | 94 if (isa<ConstantAggregateZero>(V)) in findGlobalCtors()
|
H A D | ValueMapper.cpp | 532 if (isa<ConstantAggregateZero>(C)) in mapValue() 533 return getVM()[V] = ConstantAggregateZero::get(NewTy); in mapValue()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | LowerEmuTLS.cpp | 128 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
|
H A D | GlobalMerge.cpp | 506 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
|
H A D | ComplexDeinterleavingPass.cpp | 1696 if (!isa<UndefValue>(RealOp1) && !isa<ConstantAggregateZero>(RealOp1)) { in identifyDeinterleave() 1701 if (!isa<UndefValue>(ImagOp1) && !isa<ConstantAggregateZero>(ImagOp1)) { in identifyDeinterleave()
|
/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/ |
H A D | Utility.cpp | 93 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in getOffloadEntryArray()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPULateCodeGenPrepare.cpp | 307 if (!IncInst && !isa<ConstantAggregateZero>(V)) in optimizeLiveType() 359 if (isa<ConstantAggregateZero>(IncVal)) { in optimizeLiveType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ |
H A D | TargetLoweringObjectFile.cpp | 121 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngine.cpp | 937 const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(C); in getConstantValue() 1172 if (isa<ConstantAggregateZero>(Init)) { in InitializeMemory()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 72 return llvm::ConstantAggregateZero::get(Ty); in getZeroes() 371 if (isa<llvm::ConstantAggregateZero>(C)) { in split() 983 return llvm::ConstantAggregateZero::get(DesiredType); in EmitArrayConstant() 1006 Elements.back() = llvm::ConstantAggregateZero::get(FillerType); in EmitArrayConstant() 1887 llvm::ConstantAggregateZero::get( in emitForMemory()
|
H A D | CGHLSLRuntime.cpp | 415 if (isa<ConstantAggregateZero>(Ctor)) in gatherFunctions()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFISelDAGToDAG.cpp | 393 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LowerMatrixIntrinsics.cpp | 1550 bool isSumZero = isa<ConstantAggregateZero>(Result.getColumn(J)); in emitMatrixMultiply() 1579 bool isSumZero = isa<ConstantAggregateZero>(Result.getRow(I)); in emitMatrixMultiply() 1732 Res.addVector(ConstantAggregateZero::get(ColumType)); in getZeroMatrix() 1759 Phi->addIncoming(ConstantAggregateZero::get(TileVecTy), in createTiledLoops()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVPrepareFunctions.cpp | 183 } else if (auto *Struct = dyn_cast<ConstantAggregateZero>(MaybeStruct)) { in getAnnotation()
|
H A D | SPIRVEmitIntrinsics.cpp | 210 (isa<ConstantAggregateZero>(V) && !V->getType()->isVectorTy()); in isAggrConstForceInt32() 891 } else if (auto *COp = dyn_cast<ConstantAggregateZero>(Op)) { in preprocessCompositeConstants()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-diff/lib/ |
H A D | DifferenceEngine.cpp | 572 if (isa<ConstantPointerNull>(L) || isa<UndefValue>(L) || isa<ConstantAggregateZero>(L)) in equivalentAsOperands()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineVectorOps.cpp | 793 if (isa<ConstantAggregateZero>(V)) { in collectShuffleElements() 1938 if (isa<ConstantAggregateZero>(V)) in evaluateInDifferentElementOrder() 1939 return ConstantAggregateZero::get(FixedVectorType::get(EltTy, Mask.size())); in evaluateInDifferentElementOrder()
|