Home
last modified time | relevance | path

Searched full:constants (Results 1 – 25 of 6519) sorted by relevance

12345678910>>...261

/external/llvm-project/llvm/test/MC/AMDGPU/
Dmai-err.s64 // GFX908: error: inline constants are not allowed for this operand
67 // GFX908: error: inline constants are not allowed for this operand
71 // GFX908: error: inline constants are not allowed for this operand
75 // GFX908: error: inline constants are not allowed for this operand
79 // GFX908: error: inline constants are not allowed for this operand
83 // GFX908: error: inline constants are not allowed for this operand
87 // GFX908: error: inline constants are not allowed for this operand
91 // GFX908: error: inline constants are not allowed for this operand
95 // GFX908: error: inline constants are not allowed for this operand
99 // GFX908: error: inline constants are not allowed for this operand
[all …]
/external/llvm-project/llvm/test/TableGen/
Dforeach-variable-range.td11 def Constants : ConstantsImpl;
16 foreach Index = Constants.Zero ... Constants.Two in {
23 foreach Index = Constants.Zero...Constants.Two in {
30 foreach Index = Constants.Zero ...Constants.Two in {
37 foreach Index = Constants.Zero... Constants.Two in {
44 foreach Index = 0 ... Constants.Two in {
51 foreach Index = 0...Constants.Two in {
58 foreach Index = 0 ...Constants.Two in {
65 foreach Index = 0... Constants.Two in {
72 foreach Index = Constants.Zero ... 2 in {
[all …]
/external/swiftshader/src/Shader/
DVertexRoutine.cpp18 #include "Constants.hpp"
52 constants = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,constants)); in generate()
120 …clipFlags = *Pointer<Int>(constants + OFFSET(Constants,maxX) + SignMask(maxX) * 4); // FIXME: Ar… in computeClipFlags()
121 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxY) + SignMask(maxY) * 4); in computeClipFlags()
122 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,maxZ) + SignMask(maxZ) * 4); in computeClipFlags()
123 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minX) + SignMask(minX) * 4); in computeClipFlags()
124 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minY) + SignMask(minY) * 4); in computeClipFlags()
125 clipFlags |= *Pointer<Int>(constants + OFFSET(Constants,minZ) + SignMask(minZ) * 4); in computeClipFlags()
127 Int4 finiteX = CmpLE(Abs(o[pos].x), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags()
128 Int4 finiteY = CmpLE(Abs(o[pos].y), *Pointer<Float4>(constants + OFFSET(Constants,maxPos))); in computeClipFlags()
[all …]
DPixelRoutine.cpp18 #include "Constants.hpp"
86 x -= *Pointer<Float4>(constants + OFFSET(Constants,X) + q * sizeof(float4)); in quad()
121 XXXX += *Pointer<Float4>(constants + OFFSET(Constants,sampleX[q]) + 16 * cMask[q]); in quad()
122 YYYY += *Pointer<Float4>(constants + OFFSET(Constants,sampleY[q]) + 16 * cMask[q]); in quad()
123 WWWW += *Pointer<Float4>(constants + OFFSET(Constants,weight) + 16 * cMask[q]); in quad()
247 …occlusion += *Pointer<UInt>(constants + OFFSET(Constants,occlusionCount) + 4 * (zMask[q] & sMask[q… in quad()
714 …Z = As<Float4>(As<Int4>(Z) & *Pointer<Int4>(constants + OFFSET(Constants,maskD4X) + zMask * 16, 16… in writeDepth()
715 …zValue = As<Float4>(As<Int4>(zValue) & *Pointer<Int4>(constants + OFFSET(Constants,invMaskD4X) + z… in writeDepth()
789 newValue &= *Pointer<Byte8>(constants + OFFSET(Constants,maskB4Q) + 8 * cMask); in writeStencil()
790 bufferValue &= *Pointer<Byte8>(constants + OFFSET(Constants,invMaskB4Q) + 8 * cMask); in writeStencil()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dunify_const_test.cpp188 // So far we don't have valid decorations for constants. This is in TEST_F()
273 // duplicated constants. in TEST_F()
319 // preserved constants.
321 // expected uses of the preserved constants.
323 // duplicated constants of the preserved constants.
325 // uses of the duplicated constants, expected to be updated to use the
326 // preserved constants.
329 // constants.
347 // Duplicated constants are killed in the expected output, and the debug in TEST_P()
349 // the corresponding preserved constants. in TEST_P()
[all …]
/external/deqp-deps/SPIRV-Tools/test/opt/
Dunify_const_test.cpp188 // So far we don't have valid decorations for constants. This is in TEST_F()
273 // duplicated constants. in TEST_F()
319 // preserved constants.
321 // expected uses of the preserved constants.
323 // duplicated constants of the preserved constants.
325 // uses of the duplicated constants, expected to be updated to use the
326 // preserved constants.
329 // constants.
347 // Duplicated constants are killed in the expected output, and the debug in TEST_P()
349 // the corresponding preserved constants. in TEST_P()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dunify_const_test.cpp188 // So far we don't have valid decorations for constants. This is in TEST_F()
273 // duplicated constants. in TEST_F()
319 // preserved constants.
321 // expected uses of the preserved constants.
323 // duplicated constants of the preserved constants.
325 // uses of the duplicated constants, expected to be updated to use the
326 // preserved constants.
329 // constants.
347 // Duplicated constants are killed in the expected output, and the debug in TEST_P()
349 // the corresponding preserved constants. in TEST_P()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dfold.cpp242 std::vector<const analysis::Constant*> constants = in FoldInstructionInternal() local
247 if (rule(context_, inst, constants)) { in FoldInstructionInternal()
256 // result in 32 bit word. Scalar constants with longer than 32-bit width are
268 "Scalar constants with longer than 32-bit width are not allowed " in FoldScalars()
289 const analysis::IntConstant* constants[2]; in FoldBinaryIntegerOpToConstant() local
298 constants[i] = (constant != nullptr ? constant->AsIntConstant() : nullptr); in FoldBinaryIntegerOpToConstant()
305 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
318 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
328 if (constants[1] != nullptr) { in FoldBinaryIntegerOpToConstant()
333 uint32_t shift_amount = constants[1]->GetU32BitValue(); in FoldBinaryIntegerOpToConstant()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfold.cpp242 std::vector<const analysis::Constant*> constants = in FoldInstructionInternal() local
247 if (rule(context_, inst, constants)) { in FoldInstructionInternal()
256 // result in 32 bit word. Scalar constants with longer than 32-bit width are
268 "Scalar constants with longer than 32-bit width are not allowed " in FoldScalars()
289 const analysis::IntConstant* constants[2]; in FoldBinaryIntegerOpToConstant() local
298 constants[i] = (constant != nullptr ? constant->AsIntConstant() : nullptr); in FoldBinaryIntegerOpToConstant()
305 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
318 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
328 if (constants[1] != nullptr) { in FoldBinaryIntegerOpToConstant()
333 uint32_t shift_amount = constants[1]->GetU32BitValue(); in FoldBinaryIntegerOpToConstant()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfold.cpp242 std::vector<const analysis::Constant*> constants = in FoldInstructionInternal() local
247 if (rule(context_, inst, constants)) { in FoldInstructionInternal()
256 // result in 32 bit word. Scalar constants with longer than 32-bit width are
268 "Scalar constants with longer than 32-bit width are not allowed " in FoldScalars()
289 const analysis::IntConstant* constants[2]; in FoldBinaryIntegerOpToConstant() local
298 constants[i] = (constant != nullptr ? constant->AsIntConstant() : nullptr); in FoldBinaryIntegerOpToConstant()
305 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
318 if (constants[i] != nullptr && constants[i]->IsZero()) { in FoldBinaryIntegerOpToConstant()
328 if (constants[1] != nullptr) { in FoldBinaryIntegerOpToConstant()
333 uint32_t shift_amount = constants[1]->GetU32BitValue(); in FoldBinaryIntegerOpToConstant()
[all …]
Dfold_spec_constant_op_and_composite_pass.cpp21 #include "source/opt/constants.h"
32 // Constants whose values are determined and do not depend on OpUndef in Process()
35 // Constants later. in Process()
36 // For Spec Constants defined with OpSpecConstantComposite instructions, if in Process()
37 // all of their components are Normal Constants, they will be turned into in Process()
38 // Normal Constants too. For Spec Constants defined with OpSpecConstantOp in Process()
39 // instructions, we check if they only depends on Normal Constants and fold in Process()
40 // them when possible. The two maps for Normal Constants: id_to_const_val_ in Process()
42 // Normal Constants generated from folding can be used to fold following Spec in Process()
43 // Constants. in Process()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemComment.java43 * @see org.apache.xalan.templates.Constants
49 return Constants.ELEMNAME_COMMENT; in getXSLToken()
59 return Constants.ELEMNAME_COMMENT_STRING; in getNodeName()
112 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild()
113 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild()
114 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild()
115 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild()
116 case Constants.ELEMNAME_FOREACH : in appendChild()
117 case Constants.ELEMNAME_VALUEOF : in appendChild()
118 case Constants.ELEMNAME_COPY_OF : in appendChild()
[all …]
DElemPI.java95 * @see org.apache.xalan.templates.Constants
101 return Constants.ELEMNAME_PI; in getXSLToken()
111 return Constants.ELEMNAME_PI_STRING; in getNodeName()
141 new Object[]{ Constants.ATTRNAME_NAME, piName }); in execute()
151 new Object[]{ Constants.ATTRNAME_NAME, piName }); in execute()
193 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild()
194 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild()
195 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild()
196 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild()
197 case Constants.ELEMNAME_FOREACH : in appendChild()
[all …]
DElemAttribute.java53 * @see org.apache.xalan.templates.Constants
59 return Constants.ELEMNAME_ATTRIBUTE; in getXSLToken()
69 return Constants.ELEMNAME_ATTRIBUTE_STRING; in getNodeName()
231 case Constants.ELEMNAME_TEXTLITERALRESULT : in appendChild()
232 case Constants.ELEMNAME_APPLY_TEMPLATES : in appendChild()
233 case Constants.ELEMNAME_APPLY_IMPORTS : in appendChild()
234 case Constants.ELEMNAME_CALLTEMPLATE : in appendChild()
235 case Constants.ELEMNAME_FOREACH : in appendChild()
236 case Constants.ELEMNAME_VALUEOF : in appendChild()
237 case Constants.ELEMNAME_COPY_OF : in appendChild()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_remove_constants.c70 struct rc_constant *constants = c->Program.Constants.Constants; in rc_remove_unused_constants() local
74 if (!c->Program.Constants.Count) { in rc_remove_unused_constants()
79 const_used = malloc(c->Program.Constants.Count); in rc_remove_unused_constants()
80 memset(const_used, 0, c->Program.Constants.Count); in rc_remove_unused_constants()
85 /* Pass 1: Mark used constants. */ in rc_remove_unused_constants()
94 for (unsigned i = 0; i < c->Program.Constants.Count; i++) in rc_remove_unused_constants()
95 if (constants[i].Type == RC_CONSTANT_EXTERNAL) in rc_remove_unused_constants()
99 /* Pass 3: Make the remapping table and remap constants. in rc_remove_unused_constants()
100 * This pass removes unused constants simply by overwriting them by other constants. */ in rc_remove_unused_constants()
101 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants()
[all …]
Dradeon_code.c42 * Copy a constants structure, assuming that the destination structure
47 dst->Constants = malloc(sizeof(struct rc_constant) * src->Count); in rc_constants_copy()
48 memcpy(dst->Constants, src->Constants, sizeof(struct rc_constant) * src->Count); in rc_constants_copy()
55 free(c->Constants); in rc_constants_destroy()
71 memcpy(newlist, c->Constants, sizeof(struct rc_constant) * c->Count); in rc_constants_add()
73 free(c->Constants); in rc_constants_add()
74 c->Constants = newlist; in rc_constants_add()
77 c->Constants[index] = *constant; in rc_constants_add()
93 if (c->Constants[index].Type == RC_CONSTANT_STATE) { in rc_constants_add_state()
94 if (c->Constants[index].u.State[0] == state0 && in rc_constants_add_state()
[all …]
/external/kernel-headers/original/uapi/linux/
Dethtool_netlink.h46 /* add new constants above here */
84 /* add new constants above here */
108 /* add new constants above here */
121 /* add new constants above here */
130 /* add new constants above here */
143 /* add new constants above here */
155 /* add new constants above here */
164 /* add new constants above here */
175 /* add new constants above here */
184 /* add new constants above here */
[all …]
/external/swiftshader/src/Pipeline/
DVertexRoutine.cpp17 #include "Constants.hpp"
49 constants = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, constants)); in generate()
133 clipFlags = Pointer<Int>(constants + OFFSET(Constants, maxX))[SignMask(maxX)]; in computeClipFlags()
134 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxY))[SignMask(maxY)]; in computeClipFlags()
135 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, maxZ))[SignMask(maxZ)]; in computeClipFlags()
136 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minX))[SignMask(minX)]; in computeClipFlags()
137 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minY))[SignMask(minY)]; in computeClipFlags()
138 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, minZ))[SignMask(minZ)]; in computeClipFlags()
146 clipFlags |= Pointer<Int>(constants + OFFSET(Constants, fini))[SignMask(finiteXYZ)]; in computeClipFlags()
248 if(componentCount >= 1) v.x *= *Pointer<Float4>(constants + OFFSET(Constants, unscaleByte)); in readStream()
[all …]
DPixelRoutine.cpp17 #include "Constants.hpp"
120 x -= *Pointer<Float4>(constants + OFFSET(Constants, X) + q * sizeof(float4)); in quad()
161 XXXX += *Pointer<Float4>(constants + OFFSET(Constants, sampleX[q]) + 16 * cMask[q]); in quad()
162 YYYY += *Pointer<Float4>(constants + OFFSET(Constants, sampleY[q]) + 16 * cMask[q]); in quad()
163 WWWW += *Pointer<Float4>(constants + OFFSET(Constants, weight) + 16 * cMask[q]); in quad()
202 xxxx += Float4(Constants::SampleLocationsX[sampleId]); in quad()
203 yyyy += Float4(Constants::SampleLocationsY[sampleId]); in quad()
323 …occlusion += *Pointer<UInt>(constants + OFFSET(Constants, occlusionCount) + 4 * (zMask[q] & sMask[… in quad()
651 …Z = As<Float4>(As<Int4>(Z) & *Pointer<Int4>(constants + OFFSET(Constants, maskD4X) + zMask * 16, 1… in writeDepth32F()
652 …zValue = As<Float4>(As<Int4>(zValue) & *Pointer<Int4>(constants + OFFSET(Constants, invMaskD4X) + … in writeDepth32F()
[all …]
/external/apache-commons-bcel/src/main/java/org/apache/bcel/generic/
DConstantPoolGen.java42 * constants via `addXXX' methods, `addString', `addClass',
47 * Constants.MAX_SHORT entries. Note that the first (0) is used by the
48 * JVM and that Double and Long constants need two slots.
67 protected Constant[] constants; field in ConstantPoolGen
92 * Initialize with given array of constants.
94 * @param cs array of given constants, new ones will be appended
100 constants = new Constant[size]; in ConstantPoolGen()
102 System.arraycopy(cs, 0, constants, 0, cs.length); in ConstantPoolGen()
109 final Constant c = constants[i]; in ConstantPoolGen()
112 final ConstantUtf8 u8 = (ConstantUtf8) constants[s.getStringIndex()]; in ConstantPoolGen()
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DXSLTSchema.java25 import org.apache.xalan.templates.Constants;
230 …new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space", false, false, false, XSLTAttributeDef.W… in build()
231 "default", Constants.ATTRVAL_STRIP, "preserve", in build()
232 Constants.ATTRVAL_PRESERVE); in build()
236 new XSLTAttributeDef(Constants.S_XMLNAMESPACEURI, "space", in build()
254 "single", Constants.NUMBERLEVEL_SINGLE, in build()
255 "multiple", Constants.NUMBERLEVEL_MULTI, in build()
256 "any", Constants.NUMBERLEVEL_ANY); in build()
276 "alphabetic", Constants.NUMBERLETTER_ALPHABETIC, in build()
277 "traditional", Constants.NUMBERLETTER_TRADITIONAL); in build()
[all …]
/external/python/cpython2/Doc/library/
Dcarbon.rst61 :mod:`Carbon.Appearance` --- Appearance Manager constants
102 :mod:`Carbon.CarbonEvents` --- Carbon Event Manager constants
107 :synopsis: Constants for the interface to the Carbon Event Manager.
120 :mod:`Carbon.Components` --- Component Manager constants
125 :synopsis: Constants for the interface to the Component Manager.
137 :mod:`Carbon.Controls` --- Control Manager constants
142 :synopsis: Constants for the interface to the Control Manager.
145 :mod:`Carbon.CoreFounation` --- CoreFounation constants
150 :synopsis: Constants for the interface to CoreFoundation.
153 :mod:`Carbon.CoreGraphics` --- CoreGraphics constants
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
DJDWPCommands.java29 * This class defines constants for JDWP commands and command sets.
34 * JDWP VirtualMachine Command Set constants.
85 * JDWP ReferenceType Command Set constants.
130 * JDWP ClassType Command Set constants.
146 * JDWP ArrayType Command Set constants.
156 * JDWP InterfaceType Command Set constants.
165 * JDWP Method Command Set constants.
183 * JDWP Field Command Set constants.
191 * JDWP ObjectReference Command Set constants.
218 * JDWP String Command Set constants.
[all …]
/external/apache-commons-bcel/src/examples/
DHelloWorldBuilder.java21 import org.apache.bcel.Constants;
66 "<generated>", Constants.ACC_PUBLIC | in main()
67 Constants.ACC_SUPER, in main()
71 MethodGen mg = new MethodGen(Constants.ACC_STATIC | in main()
72 Constants.ACC_PUBLIC,// access flags in main()
90 … il.append(factory.createFieldAccess("java.lang.System", "in", i_stream, Constants.GETSTATIC)); in main()
95 Constants.INVOKESPECIAL)); in main()
98 Constants.INVOKESPECIAL)); in main()
113 … il.append(factory.createFieldAccess("java.lang.System", "out", p_stream, Constants.GETSTATIC)); in main()
117 new Type[]{Type.STRING}, Constants.INVOKEVIRTUAL)); in main()
[all …]
/external/minijail/tools/
Darch.py25 'arch_nr', 'arch_name', 'bits', 'syscalls', 'constants',
48 constants = json.load(json_file)
50 arch_nr=constants['arch_nr'],
51 arch_name=constants['arch_name'],
52 bits=constants['bits'],
53 syscalls=constants['syscalls'],
54 constants=constants['constants'],
55 syscall_groups=constants.get('syscall_groups', {}),

12345678910>>...261