Lines Matching defs:ConstantStruct
162 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(this))
784 StructType *ConstantStruct::getTypeForElements(LLVMContext &Context,
796 StructType *ConstantStruct::getTypeForElements(ArrayRef<Constant*> V,
799 "ConstantStruct::getTypeForElements cannot be called on empty list");
804 ConstantStruct::ConstantStruct(StructType *T, ArrayRef<Constant *> V)
806 OperandTraits<ConstantStruct>::op_end(this) - V.size(),
816 // ConstantStruct accessors.
817 Constant *ConstantStruct::get(StructType *ST, ArrayRef<Constant*> V) {
819 "Incorrect # elements specified to ConstantStruct::get");
845 Constant *ConstantStruct::get(StructType *T, ...) {
1199 //---- ConstantStruct::get() implementation...
1204 void ConstantStruct::destroyConstant() {
2528 void ConstantStruct::replaceUsesOfWithOnConstant(Value *From, Value *To,