reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1017 O << ".visible "; 1019 O << ".extern "; 1023 O << ".weak "; 1027 O << ".global .texref " << getTextureName(*GVar) << ";\n"; 1032 O << ".global .surfref " << getSurfaceName(*GVar) << ";\n"; 1040 emitPTXGlobalVariable(GVar, O); 1041 O << ";\n"; 1046 O << ".global .samplerref " << getSamplerName(*GVar); 1057 O << " = { "; 1062 O << "addr_mode_" << i << " = "; 1065 O << "wrap"; 1068 O << "clamp_to_border"; 1071 O << "clamp_to_edge"; 1074 O << "wrap"; 1077 O << "mirror"; 1080 O << ", "; 1082 O << "filter_mode = "; 1085 O << "nearest"; 1088 O << "linear"; 1093 O << "nearest"; 1097 O << ", force_unnormalized_coords = 1"; 1099 O << " }"; 1102 O << ";\n"; 1119 O << "// " << GVar->getName() << " has been demoted\n"; 1130 O << "."; 1131 emitPTXAddressSpace(PTy->getAddressSpace(), O); 1134 O << " .attribute(.managed)"; 1138 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); 1140 O << " .align " << GVar->getAlignment(); 1144 O << " ."; 1147 O << "u8"; 1149 O << getPTXFundamentalTypeStr(ETy, false); 1150 O << " "; 1151 getSymbol(GVar)->print(O, MAI); 1161 O << " = "; 1162 printScalarConstant(Initializer, O); 1196 AggBuffer aggBuffer(ElementSize, O, *this); 1200 O << " .u64 "; 1201 getSymbol(GVar)->print(O, MAI); 1202 O << "["; 1203 O << ElementSize / 8; 1205 O << " .u32 "; 1206 getSymbol(GVar)->print(O, MAI); 1207 O << "["; 1208 O << ElementSize / 4; 1210 O << "]"; 1212 O << " .b8 "; 1213 getSymbol(GVar)->print(O, MAI); 1214 O << "["; 1215 O << ElementSize; 1216 O << "]"; 1218 O << " = {"; 1220 O << "}"; 1222 O << " .b8 "; 1223 getSymbol(GVar)->print(O, MAI); 1225 O << "["; 1226 O << ElementSize; 1227 O << "]"; 1231 O << " .b8 "; 1232 getSymbol(GVar)->print(O, MAI); 1234 O << "["; 1235 O << ElementSize; 1236 O << "]"; 1244 O << ";\n";