Lines Matching defs:ConstantStruct
184 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(this))
841 StructType *ConstantStruct::getTypeForElements(LLVMContext &Context,
853 StructType *ConstantStruct::getTypeForElements(ArrayRef<Constant*> V,
856 "ConstantStruct::getTypeForElements cannot be called on empty list");
861 ConstantStruct::ConstantStruct(StructType *T, ArrayRef<Constant *> V)
863 OperandTraits<ConstantStruct>::op_end(this) - V.size(),
873 // ConstantStruct accessors.
874 Constant *ConstantStruct::get(StructType *ST, ArrayRef<Constant*> V) {
876 "Incorrect # elements specified to ConstantStruct::get");
902 Constant *ConstantStruct::get(StructType *T, ...) {
1257 //---- ConstantStruct::get() implementation...
1262 void ConstantStruct::destroyConstant() {
2646 void ConstantStruct::replaceUsesOfWithOnConstant(Value *From, Value *To,