Searched defs:Const (Results 1 - 25 of 40) 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/r8/src/main/java/com/android/tools/r8/code/
H A DConst.java12 public class Const extends Format31i implements SingleConstant { class in inherits:Format31i,SingleConstant
15 public static final String NAME = "Const";
18 Const(int high, BytecodeStream stream) { method in class:Const
22 public Const(int register, int constant) { method in class:Const
/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::__anon19858
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::__anon12752
72 u.Const = C;
100 const Value *getConst() const { assert (kind==CONST); return u.Const; }
/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/python/cpython2/Lib/compiler/
H A Dast.py360 class Const(Node): class in inherits:Node
372 return "Const(%s)" % (repr(self.value),)
/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/swiftshader/third_party/subzero/src/
H A DIceConverter.cpp132 Ice::Constant *convertConstant(const Constant *Const) { argument
133 if (const auto GV = dyn_cast<GlobalValue>(Const)) {
149 } else if (const auto CI = dyn_cast<ConstantInt>(Const)) {
152 } else if (const auto CFP = dyn_cast<ConstantFP>(Const)) {
160 } else if (const auto CU = dyn_cast<UndefValue>(Const)) {
215 if (const auto Const = dyn_cast<Constant>(Op)) {
216 return convertConstant(Const);
H A DIceOperand.h196 auto *Const = local
198 Const->initShouldBePooled();
199 if (Const->getShouldBePooled())
200 Const->initName(Ctx);
201 return Const;
H A DWasmTranslator.cpp366 auto *Const = Ctx->getConstantInt32(Value); local
367 assert(Const);
369 LOG(out << Node(Const) << "\n");
370 return OperandNode(Const);
374 auto *Const = Ctx->getConstantInt64(Value); local
375 assert(Const);
376 LOG(out << Node(Const) << "\n");
377 return OperandNode(Const);
381 auto *Const = Ctx->getConstantFloat(Value); local
382 assert(Const);
388 auto *Const = Ctx->getConstantDouble(Value); local
[all...]
H A DIceTargetLoweringX86BaseImpl.h1390 if (auto *Const = llvm::dyn_cast<ConstantInteger64>(Operand)) {
1392 Ctx->getConstantInt32(static_cast<int32_t>(Const->getValue())));
1419 if (auto *Const = llvm::dyn_cast<ConstantInteger64>(Operand)) {
1421 Ctx->getConstantInt32(static_cast<int32_t>(Const->getValue() >> 32)));
2232 auto *Const = llvm::dyn_cast<Constant>(Instr->getSrc(1)); local
2234 Const != nullptr && (llvm::isa<ConstantInteger32>(Const) ||
2235 llvm::isa<ConstantRelocatable>(Const));
2238 auto *Mem = Traits::X86OperandMem::create(Func, IceType_void, Var, Const);
5444 } else if (auto *Const
[all...]
/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.h420 } Const; member in union:__anon24487::__anon24488
/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/mesa3d/src/compiler/glsl/
H A Dglsl_parser_extras.h533 } Const; member in struct:_mesa_glsl_parse_state
/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));

Completed in 2581 milliseconds

12