Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Utils/
DCtorUtils.cpp93 if (isa<ConstantAggregateZero>(GV->getInitializer())) in findGlobalCtors()
98 if (isa<ConstantAggregateZero>(*i)) in findGlobalCtors()
DValueMapper.cpp163 if (isa<ConstantAggregateZero>(C)) in MapValue()
164 return VM[V] = ConstantAggregateZero::get(NewTy); in MapValue()
/external/llvm/lib/IR/
DConstants.cpp102 return isa<ConstantAggregateZero>(this) || isa<ConstantPointerNull>(this) || in isNullValue()
224 return ConstantAggregateZero::get(Ty); in getNullValue()
280 if (const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(this)) in getAggregateElement()
772 Constant *ConstantAggregateZero::getSequentialElement() const { in getSequentialElement()
778 Constant *ConstantAggregateZero::getStructElement(unsigned Elt) const { in getStructElement()
784 Constant *ConstantAggregateZero::getElementValue(Constant *C) const { in getElementValue()
792 Constant *ConstantAggregateZero::getElementValue(unsigned Idx) const { in getElementValue()
798 unsigned ConstantAggregateZero::getNumElements() const { in getNumElements()
934 return ConstantAggregateZero::get(Ty); in getImpl()
949 return ConstantAggregateZero::get(Ty); in getImpl()
[all …]
DLLVMContextImpl.h944 DenseMap<Type*, ConstantAggregateZero*> CAZConstants;
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp251 auto CAZ = dyn_cast<ConstantAggregateZero>(Arg1); in SimplifyX86immshift()
291 return ConstantAggregateZero::get(VT); in SimplifyX86immshift()
344 ConstantAggregateZero *ZeroVector = ConstantAggregateZero::get(VecTy); in SimplifyX86insertps()
449 ConstantAggregateZero::get(ShufTy), ConstantVector::get(ShuffleMask)); in SimplifyX86extrq()
581 ConstantAggregateZero *ZeroVector = ConstantAggregateZero::get(VecTy); in SimplifyX86vperm2()
1072 if (isa<ConstantAggregateZero>(Arg)) in visitCallInst()
1073 return ReplaceInstUsesWith(*II, ConstantAggregateZero::get(RetType)); in visitCallInst()
1358 if (isa<ConstantAggregateZero>(Mask)) in visitCallInst()
1414 } else if (!isa<ConstantAggregateZero>(V)) in visitCallInst()
1448 } else if (isa<ConstantAggregateZero>(V)) { in visitCallInst()
[all …]
DInstCombineVectorOps.cpp378 if (isa<ConstantAggregateZero>(V)) { in collectShuffleElements()
705 if (isa<ConstantAggregateZero>(V)) { in EvaluateInDifferentElementOrder()
706 return ConstantAggregateZero::get( in EvaluateInDifferentElementOrder()
DInstructionCombining.cpp2443 if (isa<ConstantAggregateZero>(FilterClause)) { in visitLandingPadInst()
2605 if (isa<ConstantAggregateZero>(LFilter)) { // LFilter only contains zeros. in visitLandingPadInst()
2608 if (isa<ConstantAggregateZero>(Filter)) { in visitLandingPadInst()
2618 if (isa<ConstantAggregateZero>(Filter)) { // Filter only contains zeros. in visitLandingPadInst()
DInstCombineAndOrXor.cpp1143 if (isa<ConstantAggregateZero>(LHS->getOperand(1)) && in FoldAndOfFCmps()
1144 isa<ConstantAggregateZero>(RHS->getOperand(1))) in FoldAndOfFCmps()
2131 if (isa<ConstantAggregateZero>(LHS->getOperand(1)) && in FoldOrOfFCmps()
2132 isa<ConstantAggregateZero>(RHS->getOperand(1))) in FoldOrOfFCmps()
DInstCombineSelect.cpp1208 if (isa<ConstantAggregateZero>(CondVal)) { in visitSelectInst()
/external/llvm/include/llvm/IR/
DConstants.h307 class ConstantAggregateZero : public Constant {
309 ConstantAggregateZero(const ConstantAggregateZero &) = delete;
316 explicit ConstantAggregateZero(Type *ty) in ConstantAggregateZero() function
324 static ConstantAggregateZero *get(Type *Ty);
DValue.def64 HANDLE_CONSTANT(ConstantAggregateZero)
DPatternMatch.h871 isa<ConstantAggregateZero>(LHS)) && in matchIfNeg()
/external/llvm/lib/CodeGen/
DLowerEmuTLS.cpp99 if (isa<ConstantAggregateZero>(InitValue) || in addEmuTlsVar()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp97 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp922 const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(C); in getConstantValue()
1199 if (isa<ConstantAggregateZero>(Init)) { in InitializeMemory()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp790 return llvm::ConstantAggregateZero::get(AType); in EmitArrayInitialization()
1258 llvm::ConstantAggregateZero::get( in EmitConstantValue()
1406 return llvm::ConstantAggregateZero::get(AType); in EmitConstantValue()
DCGDecl.cpp804 if (isa<llvm::ConstantAggregateZero>(Init) || in canEmitInitWithFewStoresAfterMemset()
888 if (isa<llvm::ConstantAggregateZero>(Init)) return true; in shouldUseMemSetPlusStoresToInitialize()
DCGExprScalar.cpp3046 Value *Zero = llvm::ConstantAggregateZero::get(LHS->getType()); in VisitBinLAnd()
3124 Value *Zero = llvm::ConstantAggregateZero::get(LHS->getType()); in VisitBinLOr()
/external/llvm/tools/bugpoint/
DCrashDebugger.cpp213 if (isa<ConstantAggregateZero>(UsedVar->getInitializer())) { in RemoveFunctionReferences()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp550 ConstantAggregateZero::get(ArrayType::get(Int8Ty, Padding))); in buildBitSetsFromGlobalVariables()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1034 llvm::ConstantAggregateZero::get( in createFinallyBlock()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c482 ConstantAggregateZero, enumerator
509 DEFINE_CASE(Val, ConstantAggregateZero); in llvm_classify_value()
/external/llvm/include/llvm-c/
DCore.h1076 macro(ConstantAggregateZero) \
/external/llvm/lib/Analysis/
DConstantFolding.cpp286 if (isa<ConstantAggregateZero>(C) || isa<UndefValue>(C)) in ReadDataFromGlobal()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1892 } else if (isa<ConstantAggregateZero>(CPV)) in bufferLEByte()

12