Lines Matching refs:FieldNo
466 /// Return a ConstantExpr with type DestTy for offsetof on Ty and FieldNo, with
470 static Constant *getFoldedOffsetOf(Type *Ty, Constant *FieldNo, Type *DestTy,
473 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo, false,
475 FieldNo, DestTy);
497 Constant *N = ConstantExpr::getCast(CastInst::getCastOpcode(FieldNo,
501 FieldNo, DestTy);
512 Constant *C = ConstantExpr::getOffsetOf(Ty, FieldNo);