Searched refs:promotedType (Results 1 – 2 of 2) sorted by relevance
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | ModifyStruct.cpp | 915 auto &promotedType = CloneType(*field.type()); in PromoteBoolToUint() local 916 promotedType.setBasicType(TBasicType::EbtUInt); in PromoteBoolToUint() 917 state.addModifiedField(field, promotedType, storage, packing, state.symbolEnv.isPointer(field)); in PromoteBoolToUint()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExprScalar.cpp | 2441 QualType promotedType; in EmitScalarPrePostIncDec() local 2444 promotedType = CGF.getContext().getPromotedIntegerType(type); in EmitScalarPrePostIncDec() 2445 assert(promotedType != type && "Shouldn't promote to the same type."); in EmitScalarPrePostIncDec() 2449 CGF.getContext().getCanonicalType(promotedType); in EmitScalarPrePostIncDec() 2452 type, promotedType); in EmitScalarPrePostIncDec() 2455 promotedType->isSignedIntegerOrEnumerationType() || in EmitScalarPrePostIncDec() 2457 ConvertType(promotedType)->getScalarSizeInBits()) && in EmitScalarPrePostIncDec() 2474 value = EmitScalarConversion(value, type, promotedType, E->getExprLoc()); in EmitScalarPrePostIncDec() 2479 value = EmitScalarConversion(value, promotedType, type, E->getExprLoc(), in EmitScalarPrePostIncDec()
|