Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:CGT

109 isSafeToConvert(QualType T, CodeGenTypes &CGT,
117 isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT,
123 const Type *Key = CGT.getContext().getTagDeclType(RD).getTypePtr();
126 if (CGT.isRecordLayoutComplete(Key)) return true;
129 if (CGT.isRecordBeingLaidOut(Key))
140 CGT, AlreadyChecked))
148 if (!isSafeToConvert(I->getType(), CGT, AlreadyChecked))
159 isSafeToConvert(QualType T, CodeGenTypes &CGT,
165 return isSafeToConvert(RT->getDecl(), CGT, AlreadyChecked);
169 return isSafeToConvert(AT->getElementType(), CGT, AlreadyChecked);
181 static bool isSafeToConvert(const RecordDecl *RD, CodeGenTypes &CGT) {
183 if (CGT.noRecordsBeingLaidOut()) return true;
186 return isSafeToConvert(RD, CGT, AlreadyChecked);