Lines Matching refs:ConstantStruct
187 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(this))
836 StructType *ConstantStruct::getTypeForElements(LLVMContext &Context,
848 StructType *ConstantStruct::getTypeForElements(ArrayRef<Constant*> V,
851 "ConstantStruct::getTypeForElements cannot be called on empty list");
856 ConstantStruct::ConstantStruct(StructType *T, ArrayRef<Constant *> V)
858 OperandTraits<ConstantStruct>::op_end(this) - V.size(),
868 // ConstantStruct accessors.
869 Constant *ConstantStruct::get(StructType *ST, ArrayRef<Constant*> V) {
871 "Incorrect # elements specified to ConstantStruct::get");
897 Constant *ConstantStruct::get(StructType *T, ...) {
1251 //---- ConstantStruct::get() implementation...
1256 void ConstantStruct::destroyConstant() {
2603 void ConstantStruct::replaceUsesOfWithOnConstant(Value *From, Value *To,