Home
last modified time | relevance | path

Searched refs:ConstantAggregateZero (Results 1 – 25 of 38) 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.cpp141 if (isa<ConstantAggregateZero>(C)) in MapValue()
142 return VM[V] = ConstantAggregateZero::get(NewTy); in MapValue()
/external/llvm/lib/IR/
DConstants.cpp85 return isa<ConstantAggregateZero>(this) || isa<ConstantPointerNull>(this); in isNullValue()
206 return ConstantAggregateZero::get(Ty); in getNullValue()
260 if (const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(this)) in getAggregateElement()
741 Constant *ConstantAggregateZero::getSequentialElement() const { in getSequentialElement()
747 Constant *ConstantAggregateZero::getStructElement(unsigned Elt) const { in getStructElement()
753 Constant *ConstantAggregateZero::getElementValue(Constant *C) const { in getElementValue()
761 Constant *ConstantAggregateZero::getElementValue(unsigned Idx) const { in getElementValue()
767 unsigned ConstantAggregateZero::getNumElements() const { in getNumElements()
849 return ConstantAggregateZero::get(Ty); in getImpl()
864 return ConstantAggregateZero::get(Ty); in getImpl()
[all …]
DLLVMContextImpl.h894 DenseMap<Type*, ConstantAggregateZero*> CAZConstants;
/external/llvm/include/llvm/IR/
DConstants.h296 class ConstantAggregateZero : public Constant {
298 ConstantAggregateZero(const ConstantAggregateZero &) = delete;
300 explicit ConstantAggregateZero(Type *ty) in ConstantAggregateZero() function
308 static ConstantAggregateZero *get(Type *Ty);
DPatternMatch.h871 isa<ConstantAggregateZero>(LHS)) && in matchIfNeg()
DIRBuilder.h1587 Value *Zeros = ConstantAggregateZero::get(VectorType::get(I32Ty, NumElts));
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp204 ConstantAggregateZero *ZeroVector = ConstantAggregateZero::get(VecTy); in SimplifyX86insertps()
246 ConstantAggregateZero *ZeroVector = ConstantAggregateZero::get(VecTy); in SimplifyX86vperm2()
723 CI, ConstantAggregateZero::get(Vec->getType())); in visitCallInst()
917 } else if (isa<ConstantAggregateZero>(V)) { in visitCallInst()
1040 if (isa<ConstantAggregateZero>(Arg0) || isa<ConstantAggregateZero>(Arg1)) { in visitCallInst()
1041 return ReplaceInstUsesWith(CI, ConstantAggregateZero::get(II->getType())); in visitCallInst()
DInstCombineVectorOps.cpp427 if (isa<ConstantAggregateZero>(V)) { in CollectShuffleElements()
754 if (isa<ConstantAggregateZero>(V)) { in EvaluateInDifferentElementOrder()
755 return ConstantAggregateZero::get( in EvaluateInDifferentElementOrder()
DInstructionCombining.cpp2382 if (isa<ConstantAggregateZero>(FilterClause)) { in visitLandingPadInst()
2530 if (isa<ConstantAggregateZero>(LFilter)) { // LFilter only contains zeros. in visitLandingPadInst()
2533 if (isa<ConstantAggregateZero>(Filter)) { in visitLandingPadInst()
2543 if (isa<ConstantAggregateZero>(Filter)) { // Filter only contains zeros. in visitLandingPadInst()
DInstCombineAndOrXor.cpp1146 if (isa<ConstantAggregateZero>(LHS->getOperand(1)) && in FoldAndOfFCmps()
1147 isa<ConstantAggregateZero>(RHS->getOperand(1))) in FoldAndOfFCmps()
2043 if (isa<ConstantAggregateZero>(LHS->getOperand(1)) && in FoldOrOfFCmps()
2044 isa<ConstantAggregateZero>(RHS->getOperand(1))) in FoldOrOfFCmps()
DInstCombineSelect.cpp1261 if (isa<ConstantAggregateZero>(CondVal)) { in visitSelectInst()
/external/llvm/lib/Target/
DTargetLoweringObjectFile.cpp98 if (isa<ConstantAggregateZero>(C)) in IsNullTerminatedString()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp770 return llvm::ConstantAggregateZero::get(AType); in EmitArrayInitialization()
1088 llvm::ConstantAggregateZero::get( in EmitConstantValue()
1234 return llvm::ConstantAggregateZero::get(AType); in EmitConstantValue()
1413 return llvm::ConstantAggregateZero::get(ATy); in EmitNullConstant()
DCGDecl.cpp746 if (isa<llvm::ConstantAggregateZero>(Init) || in canEmitInitWithFewStoresAfterMemset()
830 if (isa<llvm::ConstantAggregateZero>(Init)) return true; in shouldUseMemSetPlusStoresToInitialize()
DCGExprScalar.cpp3046 Value *Zero = llvm::ConstantAggregateZero::get(LHS->getType()); in VisitBinLAnd()
3125 Value *Zero = llvm::ConstantAggregateZero::get(LHS->getType()); in VisitBinLOr()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp900 const ConstantAggregateZero *CAZ = dyn_cast<ConstantAggregateZero>(C); in getConstantValue()
1177 if (isa<ConstantAggregateZero>(Init)) { in InitializeMemory()
/external/llvm/lib/Transforms/IPO/
DLowerBitSets.cpp510 ConstantAggregateZero::get(ArrayType::get(Int8Ty, Padding))); in buildBitSetsFromGlobals()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1033 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.h1164 macro(ConstantAggregateZero) \
/external/llvm/lib/Linker/
DLinkModules.cpp893 if (!OldInit && !isa<ConstantAggregateZero>(OldInitC)) in upgradeGlobalArray()
/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1861 } else if (isa<ConstantAggregateZero>(CPV)) in bufferLEByte()
/external/llvm/lib/Analysis/
DConstantFolding.cpp287 if (isa<ConstantAggregateZero>(C) || isa<UndefValue>(C)) in ReadDataFromGlobal()
/external/lldb/source/Expression/
DIRForTarget.cpp1419 else if (isa<ConstantAggregateZero>(initializer)) in MaterializeInitializer()

12