Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCtorUtils.cpp91 if (isa<ConstantAggregateZero>(GV->getInitializer())) in findGlobalCtors()
96 if (isa<ConstantAggregateZero>(V)) in findGlobalCtors()
H A DValueMapper.cpp485 if (isa<ConstantAggregateZero>(C)) in mapValue()
486 return getVM()[V] = ConstantAggregateZero::get(NewTy); in mapValue()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstants.cpp293 return ConstantAggregateZero::get(Ty); in getNullValue()
339 if (const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(this)) in getAggregateElement()
992 return ConstantAggregateZero::get(Ty); in getImpl()
1007 return ConstantAggregateZero::get(Ty); in getImpl()
1065 return ConstantAggregateZero::get(ST); in get()
1105 return ConstantAggregateZero::get(T); in getImpl()
1332 ConstantAggregateZero *ConstantAggregateZero::get(Type *Ty) { in get()
1336 std::unique_ptr<ConstantAggregateZero> &Entry = in get()
1339 Entry.reset(new ConstantAggregateZero(Ty)); in get()
1370 if (isa<ConstantAggregateZero>(this)) in getSplatValue()
[all …]
H A DAutoUpgrade.cpp1004 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(Ty) in UpgradeX86VPERMT2Intrinsics()
1083 ZeroMask ? ConstantAggregateZero::get(CI.getType()) : in upgradeX86ConcatShift()
2352 V0 = (Imm & 0x08) ? ConstantAggregateZero::get(CI->getType()) : V0; in UpgradeIntrinsicCall()
2353 V1 = (Imm & 0x80) ? ConstantAggregateZero::get(CI->getType()) : V1; in UpgradeIntrinsicCall()
3138 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3166 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3202 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
3232 Value *PassThru = ZeroMask ? ConstantAggregateZero::get(CI->getType()) in UpgradeIntrinsicCall()
H A DLLVMContextImpl.h1266 DenseMap<Type *, std::unique_ptr<ConstantAggregateZero>> CAZConstants;
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DConstants.h341 class ConstantAggregateZero final : public ConstantData {
344 explicit ConstantAggregateZero(Type *Ty) in ConstantAggregateZero() function
350 ConstantAggregateZero(const ConstantAggregateZero &) = delete;
352 static ConstantAggregateZero *get(Type *Ty);
H A DValue.def77 HANDLE_CONSTANT(ConstantAggregateZero)
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DLowerEmuTLS.cpp104 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
H A DGlobalMerge.cpp475 Inits.push_back(ConstantAggregateZero::get(Tys.back())); in doMerge()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp340 auto CAZ = dyn_cast<ConstantAggregateZero>(Arg1); in simplifyX86immShift()
380 return ConstantAggregateZero::get(VT); in simplifyX86immShift()
775 ConstantAggregateZero *ZeroVector = ConstantAggregateZero::get(VecTy); in simplifyX86insertps()
878 ConstantAggregateZero::get(ShufTy), ConstantVector::get(ShuffleMask)); in simplifyX86extrq()
1366 if (isa<ConstantAggregateZero>(Mask)) in simplifyX86MaskedLoad()
1402 if (isa<ConstantAggregateZero>(Mask)) { in simplifyX86MaskedStore()
2438 if (isa<ConstantAggregateZero>(Arg)) in visitCallInst()
2439 return replaceInstUsesWith(*II, ConstantAggregateZero::get(RetType)); in visitCallInst()
2910 ConstantAggregateZero::get(II->getType())); in visitCallInst()
3073 if (isa<ConstantAggregateZero>(Mask)) in visitCallInst()
[all …]
H A DInstCombineVectorOps.cpp541 if (isa<ConstantAggregateZero>(V)) { in collectShuffleElements()
723 Constant *ZeroMask = ConstantAggregateZero::get( in foldInsSequenceIntoBroadcast()
1124 if (isa<ConstantAggregateZero>(V)) in evaluateInDifferentElementOrder()
1125 return ConstantAggregateZero::get(VectorType::get(EltTy, Mask.size())); in evaluateInDifferentElementOrder()
H A DInstructionCombining.cpp2812 if (isa<ConstantAggregateZero>(FilterClause)) { in visitLandingPadInst()
2974 if (isa<ConstantAggregateZero>(LFilter)) { // LFilter only contains zeros. in visitLandingPadInst()
2977 if (isa<ConstantAggregateZero>(Filter)) { in visitLandingPadInst()
2987 if (isa<ConstantAggregateZero>(Filter)) { // Filter only contains zeros. in visitLandingPadInst()
H A DInstCombineSimplifyDemanded.cpp1441 return ConstantAggregateZero::get(II->getType()); in SimplifyDemandedVectorElts()
/freebsd-12.1/contrib/llvm/lib/Target/
H A DTargetLoweringObjectFile.cpp110 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp923 const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(C); in getConstantValue()
1200 if (isa<ConstantAggregateZero>(Init)) { in InitializeMemory()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp653 return llvm::ConstantAggregateZero::get( in EmitArrayConstant()
680 Elements.back() = llvm::ConstantAggregateZero::get(FillerType); in EmitArrayConstant()
1532 llvm::ConstantAggregateZero::get( in emitForMemory()
1990 return llvm::ConstantAggregateZero::get(AType); in tryEmitPrivate()
H A DCGDecl.cpp862 if (isa<llvm::ConstantAggregateZero>(Init) || in canEmitInitWithFewStoresAfterBZero()
946 if (isa<llvm::ConstantAggregateZero>(Init)) return true; in shouldUseBZeroPlusStoresToInitialize()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp425 if (isa<ConstantAggregateZero>(CV) || isa<UndefValue>(CV)) in fillGenericConstant()
/freebsd-12.1/contrib/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp402 if (isa<ConstantPointerNull>(L) || isa<UndefValue>(L) || isa<ConstantAggregateZero>(L)) in equivalentAsOperands()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp869 ConstantAggregateZero *CZero; in fold_pow()
874 CZero = dyn_cast<ConstantAggregateZero>(opr1); in fold_pow()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DEfficiencySanitizer.cpp424 ConstantAggregateZero::get(CounterArrayTy), in createCacheFragInfoGV()
/freebsd-12.1/contrib/llvm/tools/bugpoint/
H A DCrashDebugger.cpp216 if (isa<ConstantAggregateZero>(UsedVar->getInitializer())) { in RemoveFunctionReferences()
/freebsd-12.1/contrib/llvm/lib/LTO/
H A DLTO.cpp888 ConstantAggregateZero::get(Ty), ""); in runRegularLTO()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp1299 } else if (isa<ConstantAggregateZero>(initializer)) { in MaterializeInitializer()
/freebsd-12.1/contrib/llvm/include/llvm-c/
H A DCore.h1521 macro(ConstantAggregateZero) \

12