Searched defs:Const (Results 1 - 25 of 33) sorted by relevance

12

/external/clang/test/SemaTemplate/
H A Dalias-church-numerals.cpp29 template<typename T, T N> struct Const { static const T value = N; }; struct
31 template<typename T, T N> struct IncrementHelper<Const<T, N>> { using Result = Const<T, N+1>; };
34 using Arr = int[TwoHundredAndFiftySix<Increment, Const<int, 0>>::value];
H A Ddeduction.cpp127 template<typename T> struct Const { typedef void const type; }; struct in namespace:test2
129 template<typename T> void f(T, typename Const<T>::type*);
/external/jacoco/org.jacoco.examples/build/src/main/java/org/jacoco/examples/expressions/
H A DConst.java14 public class Const implements IExpression { class in inherits:IExpression
18 public Const(final double value) { method in class:Const
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/
H A Dp2.cpp6 struct Const { struct in namespace:move
7 Const(const Const&&) = default; // expected-error {{the parameter for an explicitly-defaulted move constructor may not be const}}
8 Const& operator=(const Const&&) = default; // expected-error {{the parameter for an explicitly-defaulted move assignment operator may not be const}}
35 struct Const { struct in namespace:copy
36 Const(const Const&) = default;
37 Const& operator=(const Const
[all...]
/external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
H A Dast.py117 class Const(Definition): class in inherits:Definition
126 super(Const, self).__init__(name, **kwargs)
131 return super(Const, self).__eq__(other) and \
240 _list_item_type = (Const, Enum, Method)
370 _list_item_type = (Const, Enum, StructField)
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h44 const Value *Const; // valid for constants member in union:llvm::SDDbgValue::__anon18570
67 u.Const = C;
90 const Value *getConst() { assert (kind==CONST); return u.Const; }
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSDNodeDbgValue.h43 const Value *Const; // valid for constants member in union:llvm::SDDbgValue::__anon12630
72 u.Const = C;
100 const Value *getConst() const { assert (kind==CONST); return u.Const; }
H A DSelectionDAG.cpp6682 ConstantSDNode *Const = dyn_cast<ConstantSDNode>(V); local
6683 return Const != nullptr && Const->isNullValue();
6687 ConstantFPSDNode *Const = dyn_cast<ConstantFPSDNode>(V); local
6688 return Const != nullptr && Const->isZero() && !Const->isNegative();
6692 ConstantSDNode *Const = dyn_cast<ConstantSDNode>(V); local
6693 return Const != nullptr && Const
6697 ConstantSDNode *Const = dyn_cast<ConstantSDNode>(V); local
[all...]
/external/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp124 auto *Const = dyn_cast<ConstantFP>(I.getOperand(1)); local
127 if (!Const)
134 // Check if Const is one of our recognized consts.
136 if (Const->isZero()) {
139 } else if (Const->isInfinity()) {
141 WhichConst = Const->isNegative() ? 2 : 1;
142 } else if (Const->isExactlyValue(Smallest)) {
148 } else if (Const->isExactlyValue(NegSmallest)) {
234 auto *Const = dyn_cast<ConstantInt>(I.getOperand(1)); local
237 if (!Const)
[all...]
/external/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-member-pointers.cpp122 namespace Const { namespace
128 // CHECK: @"\01?s_f_mp@Const@@3P8Single@@AEXXZQ2@" =
130 // CHECK: @"\01?m_f_mp@Const@@3P8Multiple@@AEXXZQ2@" =
132 // CHECK: @"\01?v_f_mp@Const@@3P8Virtual@@AEXXZQ2@" =
134 // CHECK: @"\01?u_f_mp@Const@@3P8Unspecified@@AEXXZQ2@" =
136 // CHECK: @"\01?us_f_mp@Const@@3P8UnspecSingle@@AEXXZQ2@" =
/external/libmojo/third_party/jinja2/
H A Dnodes.py430 class Const(Literal): class in inherits:Literal
898 EvalContextModifier(options=[Keyword('autoescape', Const(True))])
/external/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp677 SizeOffsetType Const = Visitor.compute(V); local
678 if (Visitor.bothKnown(Const))
679 return std::make_pair(ConstantInt::get(Context, Const.first),
680 ConstantInt::get(Context, Const.second));
/external/mesa3d/src/glsl/
H A Dglsl_parser_extras.h132 } Const; member in struct:_mesa_glsl_parse_state
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DSCCP.cpp1784 Constant *Const = IV.isConstant() local
1786 DEBUG(dbgs() << " Constant: " << *Const << " = " << *Inst);
1789 Inst->replaceAllUsesWith(Const);
1983 Constant *Const = IV.isConstant() local
1985 DEBUG(dbgs() << " Constant: " << *Const << " = " << *Inst);
1989 Inst->replaceAllUsesWith(Const);
/external/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp1514 Constant *Const = nullptr; local
1528 Const = ConstantStruct::get(ST, ConstVals);
1533 Const = IV.isConstant() ? IV.getConstant() : UndefValue::get(V->getType());
1535 assert(Const && "Constant is nullptr here!");
1536 DEBUG(dbgs() << " Constant: " << *Const << " = " << *V << '\n');
1539 V->replaceAllUsesWith(Const);
/external/spirv-llvm/lib/SPIRV/
H A DSPIRVInternal.h81 const static char *Const = "const"; member in namespace:SPIRV::kOCLTypeQualifierName
/external/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.cpp1252 Mods |= ModifierOptions::Const;
1729 ModifierRecord MR(TypeIndex::Int32(), ModifierOptions::Const); member in class:ModifierOptions
/external/valgrind/coregrind/m_debuginfo/
H A Dpriv_storage.h433 } Const; member in union:__anon22891::__anon22892
/external/llvm/include/llvm/DebugInfo/CodeView/
H A DCodeView.h283 Const = 0x0001, member in class:llvm::codeview::CallingConvention::ClassOptions::FrameProcedureOptions::FunctionOptions::HfaKind::MemberAccess::MethodKind::MethodOptions::ModifierOptions
340 Const = 0x00000400, member in class:llvm::codeview::CallingConvention::ClassOptions::FrameProcedureOptions::FunctionOptions::HfaKind::MemberAccess::MethodKind::MethodOptions::ModifierOptions::PointerKind::PointerMode::PointerOptions
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
H A Dllvm_ocaml.c616 CAMLprim value llvm_int64_of_const(LLVMValueRef Const) argument
619 if (LLVMIsAConstantInt(Const) &&
620 LLVMGetIntTypeWidth(LLVMTypeOf(Const)) <= 64) {
622 Field(Option, 0) = caml_copy_int64(LLVMConstIntGetSExtValue(Const));
/external/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c778 CAMLprim value llvm_int64_of_const(LLVMValueRef Const) argument
781 if (LLVMIsAConstantInt(Const) &&
782 LLVMGetIntTypeWidth(LLVMTypeOf(Const)) <= 64) {
784 Field(Option, 0) = caml_copy_int64(LLVMConstIntGetSExtValue(Const));
804 CAMLprim value llvm_float_of_const(LLVMValueRef Const) argument
811 if (LLVMIsAConstantFP(Const)) {
812 Result = LLVMConstRealGetDouble(Const, &LosesInfo);
878 CAMLprim value llvm_string_of_const(LLVMValueRef Const) { argument
884 if(LLVMIsAConstantDataSequential(Const) && LLVMIsConstantString(Const)) {
898 llvm_const_element(LLVMValueRef Const, value N) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
H A DPPCISelLowering.cpp3182 SDValue Const = DAG.getConstant(4 - Size, PtrOff.getValueType()); local
3183 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, Const);
3210 SDValue Const = DAG.getConstant(j, PtrOff.getValueType()); local
3211 SDValue AddArg = DAG.getNode(ISD::ADD, dl, PtrVT, Arg, Const);
/external/clang/include/clang/AST/
H A DType.h120 Const = 0x1, enumerator in enum:clang::Qualifiers::TQ
123 CVRMask = Const | Volatile | Restrict
236 bool hasConst() const { return Mask & Const; }
238 Mask = (Mask & ~Const) | (flag ? Const : 0);
240 void removeConst() { Mask &= ~Const; }
241 void addConst() { Mask |= Const; }
673 return (getLocalFastQualifiers() & Qualifiers::Const);
762 addFastQualifiers(Qualifiers::Const);
765 return withFastQualifiers(Qualifiers::Const);
[all...]
/external/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp5242 SDValue Const = DAG.getConstant(PtrByteSize - Size, dl, local
5244 AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, Const);
5282 SDValue Const = DAG.getConstant(8 - Size, dl, PtrOff.getValueType()); local
5283 AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, Const);
5304 SDValue Const = DAG.getConstant(j, dl, PtrOff.getValueType()); local
5305 SDValue AddArg = DAG.getNode(ISD::ADD, dl, PtrVT, Arg, Const);
5791 SDValue Const = DAG.getConstant(PtrByteSize - Size, dl, local
5793 SDValue AddPtr = DAG.getNode(ISD::ADD, dl, PtrVT, PtrOff, Const);
5812 SDValue Const = DAG.getConstant(j, dl, PtrOff.getValueType()); local
5813 SDValue AddArg = DAG.getNode(ISD::ADD, dl, PtrVT, Arg, Const);
[all...]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
H A DARMISelLowering.cpp1333 SDValue Const = DAG.getConstant(4*i, MVT::i32); local
1334 SDValue AddArg = DAG.getNode(ISD::ADD, dl, PtrVT, Arg, Const);

Completed in 826 milliseconds

12