Home
last modified time | relevance | path

Searched refs:Const (Results 1 – 25 of 64) sorted by relevance

123

/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
Dp2.cpp6 struct Const { struct
7Const(const Const&&) = default; // expected-error {{the parameter for an explicitly-defaulted move…
8Const& operator=(const Const&&) = default; // expected-error {{the parameter for an explicitly-def…
35 struct Const { struct
36 Const(const Const&) = default;
37 Const& operator=(const Const&) = default;
/external/mesa3d/src/glsl/
Dir_variable.cpp109 state->Const.MaxVertexAttribs); in generate_100ES_uniforms()
111 state->Const.MaxVertexUniformComponents); in generate_100ES_uniforms()
113 state->Const.MaxVaryingFloats / 4); in generate_100ES_uniforms()
115 state->Const.MaxVertexTextureImageUnits); in generate_100ES_uniforms()
117 state->Const.MaxCombinedTextureImageUnits); in generate_100ES_uniforms()
119 state->Const.MaxTextureImageUnits); in generate_100ES_uniforms()
121 state->Const.MaxFragmentUniformComponents); in generate_100ES_uniforms()
139 state->Const.MaxLights); in generate_110_uniforms()
141 state->Const.MaxClipPlanes); in generate_110_uniforms()
143 state->Const.MaxTextureUnits); in generate_110_uniforms()
[all …]
Dglsl_parser_extras.cpp69 this->Const.MaxLights = ctx->Const.MaxLights; in _mesa_glsl_parse_state()
70 this->Const.MaxClipPlanes = ctx->Const.MaxClipPlanes; in _mesa_glsl_parse_state()
71 this->Const.MaxTextureUnits = ctx->Const.MaxTextureUnits; in _mesa_glsl_parse_state()
72 this->Const.MaxTextureCoords = ctx->Const.MaxTextureCoordUnits; in _mesa_glsl_parse_state()
73 this->Const.MaxVertexAttribs = ctx->Const.VertexProgram.MaxAttribs; in _mesa_glsl_parse_state()
74 this->Const.MaxVertexUniformComponents = ctx->Const.VertexProgram.MaxUniformComponents; in _mesa_glsl_parse_state()
75 this->Const.MaxVaryingFloats = ctx->Const.MaxVarying * 4; in _mesa_glsl_parse_state()
76 this->Const.MaxVertexTextureImageUnits = ctx->Const.MaxVertexTextureImageUnits; in _mesa_glsl_parse_state()
77 this->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxCombinedTextureImageUnits; in _mesa_glsl_parse_state()
78 this->Const.MaxTextureImageUnits = ctx->Const.MaxTextureImageUnits; in _mesa_glsl_parse_state()
[all …]
Dglsl_compiler.cpp54 ctx->Const.MaxLights = 8; in initialize_context()
55 ctx->Const.MaxClipPlanes = 8; in initialize_context()
56 ctx->Const.MaxTextureUnits = 2; in initialize_context()
61 ctx->Const.MaxTextureCoordUnits = 4; in initialize_context()
63 ctx->Const.VertexProgram.MaxAttribs = 16; in initialize_context()
64 ctx->Const.VertexProgram.MaxUniformComponents = 512; in initialize_context()
65 ctx->Const.MaxVarying = 8; in initialize_context()
66 ctx->Const.MaxVertexTextureImageUnits = 0; in initialize_context()
67 ctx->Const.MaxCombinedTextureImageUnits = 2; in initialize_context()
68 ctx->Const.MaxTextureImageUnits = 2; in initialize_context()
[all …]
Dglsl_parser_extras.h95 } Const; member
/external/valgrind/main/VEX/priv/
Dir_opt.c353 if (ex->Iex.Const.con->tag == Ico_F64i) { in flatten_Expr()
356 IRExpr_Const(ex->Iex.Const.con))); in flatten_Expr()
900 && e1->Iex.Const.con->tag == Ico_U32 in sameIcoU32s()
901 && e2->Iex.Const.con->tag == Ico_U32 in sameIcoU32s()
902 && e1->Iex.Const.con->Ico.U32 in sameIcoU32s()
903 == e2->Iex.Const.con->Ico.U32 ); in sameIcoU32s()
924 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32()
925 && e->Iex.Const.con->Ico.U32 == 0); in isZeroU32()
932 && e->Iex.Const.con->tag == Ico_U64 in isZeroU64()
933 && e->Iex.Const.con->Ico.U64 == 0); in isZeroU64()
[all …]
Dhost_amd64_isel.c275 && e->Iex.Const.con->tag == Ico_U64 in isZeroU64()
276 && e->Iex.Const.con->Ico.U64 == 0ULL; in isZeroU64()
282 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32()
283 && e->Iex.Const.con->Ico.U32 == 0; in isZeroU32()
389 vassert(e->Iex.Const.con->tag == Ico_U64); in iselIntExpr_single_instruction()
390 if (fitsIn32Bits(e->Iex.Const.con->Ico.U64)) { in iselIntExpr_single_instruction()
393 AMD64RMI_Imm(toUInt(e->Iex.Const.con->Ico.U64)), in iselIntExpr_single_instruction()
397 return AMD64Instr_Imm64(e->Iex.Const.con->Ico.U64, dst); in iselIntExpr_single_instruction()
520 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
521 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
[all …]
Dhost_s390_isel.c224 if (arg2->tag == Iex_Const && arg2->Iex.Const.con->tag == Ico_U64) { in s390_isel_amode_wrk()
225 ULong value = arg2->Iex.Const.con->Ico.U64; in s390_isel_amode_wrk()
331 switch (expr->Iex.Const.con->tag) { in s390_expr_is_const_zero()
332 case Ico_U1: value = expr->Iex.Const.con->Ico.U1; break; in s390_expr_is_const_zero()
333 case Ico_U8: value = expr->Iex.Const.con->Ico.U8; break; in s390_expr_is_const_zero()
334 case Ico_U16: value = expr->Iex.Const.con->Ico.U16; break; in s390_expr_is_const_zero()
335 case Ico_U32: value = expr->Iex.Const.con->Ico.U32; break; in s390_expr_is_const_zero()
336 case Ico_U64: value = expr->Iex.Const.con->Ico.U64; break; in s390_expr_is_const_zero()
392 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
393 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
[all …]
Dir_match.c89 return eqIRConst(p->Iex.Const.con, e->Iex.Const.con); in matchWrk()
Dhost_x86_isel.c109 && e->Iex.Const.con->tag == Ico_U8 in isZeroU8()
110 && e->Iex.Const.con->Ico.U8 == 0; in isZeroU8()
116 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32()
117 && e->Iex.Const.con->Ico.U32 == 0; in isZeroU32()
123 && e->Iex.Const.con->tag == Ico_U64 in isZeroU64()
124 && e->Iex.Const.con->Ico.U64 == 0ULL; in isZeroU64()
560 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
561 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
904 vassert(e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U8); in iselIntExpr_R_wrk()
905 nshift = e->Iex.Binop.arg2->Iex.Const.con->Ico.U8; in iselIntExpr_R_wrk()
[all …]
Dguest_s390_helpers.c695 return expr->tag == Iex_Const && expr->Iex.Const.con->tag == Ico_U64; in isC64()
737 cond = cond_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
738 cc_op = cc_op_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
898 mask = cc_dep2->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
972 mask16 = cc_dep2->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
1014 mask16 = cc_dep2->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
Dhost_ppc_isel.c725 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
726 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
834 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
835 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
1948 IRConst* con = e->Iex.Const.con; in iselWordExpr_R_wrk()
2079 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U64 in iselWordExpr_AMode_wrk()
2081 ->Iex.Const.con->Ico.U64) in iselWordExpr_AMode_wrk()
2084 ->Iex.Const.con->Ico.U64)) { in iselWordExpr_AMode_wrk()
2085 return PPCAMode_IR( (Int)e->Iex.Binop.arg2->Iex.Const.con->Ico.U64, in iselWordExpr_AMode_wrk()
2105 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U32 in iselWordExpr_AMode_wrk()
[all …]
Dhost_arm_isel.c450 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
451 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
561 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
562 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
678 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U32) { in iselIntExpr_AMode1_wrk()
679 Int simm = (Int)e->Iex.Binop.arg2->Iex.Const.con->Ico.U32; in iselIntExpr_AMode1_wrk()
744 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U32) { in iselIntExpr_AMode2_wrk()
745 Int simm = (Int)e->Iex.Binop.arg2->Iex.Const.con->Ico.U32; in iselIntExpr_AMode2_wrk()
796 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U32) { in iselIntExpr_AModeV_wrk()
797 Int simm = (Int)e->Iex.Binop.arg2->Iex.Const.con->Ico.U32; in iselIntExpr_AModeV_wrk()
[all …]
/external/clang/test/SemaTemplate/
Dalias-church-numerals.cpp28 template<typename T, T N> struct Const { static const T value = N; }; struct
30 template<typename T, T N> struct IncrementHelper<Const<T, N>> { using Result = Const<T, N+1>; };
33 using Arr = int[TwoHundredAndFiftySix<Increment, Const<int, 0>>::value];
Ddeduction.cpp127 template<typename T> struct Const { typedef void const type; }; struct
129 template<typename T> void f(T, typename Const<T>::type*);
/external/llvm/lib/CodeGen/SelectionDAG/
DSDNodeDbgValue.h44 const Value *Const; // valid for constants member
67 u.Const = C; in SDDbgValue()
90 const Value *getConst() { assert (kind==CONST); return u.Const; } in getConst()
/external/mesa3d/src/pixelflinger2/
Dshader.cpp59 ctx->Const.MaxLights = 8; in InitializeGLContext()
60 ctx->Const.MaxClipPlanes = 8; in InitializeGLContext()
61 ctx->Const.MaxTextureUnits = 2; in InitializeGLContext()
66 ctx->Const.MaxTextureCoordUnits = 4; in InitializeGLContext()
68 ctx->Const.VertexProgram.MaxAttribs = 16; in InitializeGLContext()
69 ctx->Const.VertexProgram.MaxUniformComponents = 512; in InitializeGLContext()
70 ctx->Const.MaxVarying = 8; in InitializeGLContext()
71 ctx->Const.MaxVertexTextureImageUnits = 0; in InitializeGLContext()
72 ctx->Const.MaxCombinedTextureImageUnits = 2; in InitializeGLContext()
73 ctx->Const.MaxTextureImageUnits = 2; in InitializeGLContext()
[all …]
/external/chromium/testing/gmock/test/
Dgmock-generated-function-mockers_test.cc65 using testing::Const;
263 EXPECT_CALL(Const(mock_foo_), OverloadedOnConstness()) in TEST_F()
267 EXPECT_EQ('a', Const(*foo_).OverloadedOnConstness()); in TEST_F()
303 EXPECT_CALL(Const(mock_foo_), CTConst(_)) in TEST_F()
306 EXPECT_EQ('a', Const(*foo_).CTConst(0)); in TEST_F()
/external/llvm/lib/Analysis/
DMemoryBuiltins.cpp591 SizeOffsetType Const = Visitor.compute(V); in compute_() local
592 if (Visitor.bothKnown(Const)) in compute_()
593 return std::make_pair(ConstantInt::get(Context, Const.first), in compute_()
594 ConstantInt::get(Context, Const.second)); in compute_()
/external/zlib/src/old/
Dvisual-basic.txt84 Private Const SUCCESS As Long = 0
85 Private Const strFilExt As String = ".cpr"
/external/llvm/lib/Transforms/Scalar/
DSCCP.cpp1615 Constant *Const = IV.isConstant() in runOnFunction() local
1617 DEBUG(dbgs() << " Constant: " << *Const << " = " << *Inst); in runOnFunction()
1620 Inst->replaceAllUsesWith(Const); in runOnFunction()
1823 Constant *Const = IV.isConstant() in runOnModule() local
1825 DEBUG(dbgs() << " Constant: " << *Const << " = " << *Inst); in runOnModule()
1829 Inst->replaceAllUsesWith(Const); in runOnModule()
/external/clang/include/clang/AST/
DType.h115 Const = 0x1,
118 CVRMask = Const | Volatile | Restrict
187 bool hasConst() const { return Mask & Const; }
189 Mask = (Mask & ~Const) | (flag ? Const : 0);
191 void removeConst() { Mask &= ~Const; }
192 void addConst() { Mask |= Const; }
564 return (getLocalFastQualifiers() & Qualifiers::Const);
657 addFastQualifiers(Qualifiers::Const);
660 return withFastQualifiers(Qualifiers::Const);
2680 bool isConst() const { return getTypeQuals() & Qualifiers::Const; }
[all …]
DCommentCommands.td128 def Const : DeclarationVerbatimLineCommand<"const">;
/external/clang/lib/AST/
DDeclCXX.cpp311 return getCopyConstructor(Qualifiers::Const) != 0; in hasConstCopyConstructor()
373 if (((TypeQuals & Qualifiers::Const) == (FoundTQs & Qualifiers::Const)) || in getCopyConstructor()
374 (!(TypeQuals & Qualifiers::Const) && (FoundTQs & Qualifiers::Const))) in getCopyConstructor()
429 Quals = Qualifiers::fromCVRMask(Qualifiers::Const); in getCopyAssignmentOperator()
/external/clang/lib/Sema/
DSemaLookup.cpp2431 assert(!(Quals & ~(Qualifiers::Const | Qualifiers::Volatile)) && in LookupCopyingConstructor()
2434 LookupSpecialMember(Class, CXXCopyConstructor, Quals & Qualifiers::Const, in LookupCopyingConstructor()
2444 LookupSpecialMember(Class, CXXMoveConstructor, Quals & Qualifiers::Const, in LookupMovingConstructor()
2471 assert(!(Quals & ~(Qualifiers::Const | Qualifiers::Volatile)) && in LookupCopyingAssignment()
2473 assert(!(ThisQuals & ~(Qualifiers::Const | Qualifiers::Volatile)) && in LookupCopyingAssignment()
2476 LookupSpecialMember(Class, CXXCopyAssignment, Quals & Qualifiers::Const, in LookupCopyingAssignment()
2478 ThisQuals & Qualifiers::Const, in LookupCopyingAssignment()
2489 assert(!(ThisQuals & ~(Qualifiers::Const | Qualifiers::Volatile)) && in LookupMovingAssignment()
2492 LookupSpecialMember(Class, CXXMoveAssignment, Quals & Qualifiers::Const, in LookupMovingAssignment()
2494 ThisQuals & Qualifiers::Const, in LookupMovingAssignment()

123