Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp103 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 DConstantFold.cpp417 if (isa<ConstantAggregateZero>(Val) && Elt->isNullValue()) in ConstantFoldInsertElementInstruction()
473 return ConstantAggregateZero::get(VTy); in ConstantFoldShuffleVectorInstruction()
H A DAutoUpgrade.cpp1708 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 DX86InstCombineIntrinsic.cpp64 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 DMangling.cpp61 if (isa<ConstantAggregateZero>(InitVal)) in add()
H A DLayer.cpp65 if (isa<ConstantAggregateZero>(InitVal)) in IRMaterializationUnit()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h351 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 DValue.def94 HANDLE_CONSTANT(ConstantAggregateZero)
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp94 if (isa<ConstantAggregateZero>(V)) in findGlobalCtors()
H A DValueMapper.cpp532 if (isa<ConstantAggregateZero>(C)) in mapValue()
533 return getVM()[V] = ConstantAggregateZero::get(NewTy); in mapValue()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp128 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
H A DGlobalMerge.cpp506 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
H A DComplexDeinterleavingPass.cpp1696 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 DUtility.cpp93 ConstantAggregateZero::get(ArrayType::get(getEntryTy(M), 0u)); in getOffloadEntryArray()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULateCodeGenPrepare.cpp307 if (!IncInst && !isa<ConstantAggregateZero>(V)) in optimizeLiveType()
359 if (isa<ConstantAggregateZero>(IncVal)) { in optimizeLiveType()
/freebsd/contrib/llvm-project/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp121 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp937 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 DCGExprConstant.cpp72 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 DCGHLSLRuntime.cpp415 if (isa<ConstantAggregateZero>(Ctor)) in gatherFunctions()
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp393 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1550 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 DSPIRVPrepareFunctions.cpp183 } else if (auto *Struct = dyn_cast<ConstantAggregateZero>(MaybeStruct)) { in getAnnotation()
H A DSPIRVEmitIntrinsics.cpp210 (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 DDifferenceEngine.cpp572 if (isa<ConstantPointerNull>(L) || isa<UndefValue>(L) || isa<ConstantAggregateZero>(L)) in equivalentAsOperands()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp793 if (isa<ConstantAggregateZero>(V)) { in collectShuffleElements()
1938 if (isa<ConstantAggregateZero>(V)) in evaluateInDifferentElementOrder()
1939 return ConstantAggregateZero::get(FixedVectorType::get(EltTy, Mask.size())); in evaluateInDifferentElementOrder()

12