Home
last modified time | relevance | path

Searched refs:AsInteger (Results 1 – 25 of 40) sorted by relevance

12

/external/deqp-deps/SPIRV-Tools/source/opt/
Dconstants.cpp59 assert(type()->AsInteger() != nullptr); in GetU32()
60 assert(type()->AsInteger()->width() == 32); in GetU32()
71 assert(type()->AsInteger() != nullptr); in GetU64()
72 assert(type()->AsInteger()->width() == 64); in GetU64()
83 assert(type()->AsInteger() != nullptr); in GetS32()
84 assert(type()->AsInteger()->width() == 32); in GetS32()
95 assert(type()->AsInteger() != nullptr); in GetS64()
96 assert(type()->AsInteger()->width() == 64); in GetS64()
209 } else if (auto* it = type->AsInteger()) { in CreateConstant()
219 if (c->type()->AsBool() || c->type()->AsInteger() || in CreateConstant()
Dcombine_access_chains.cpp60 if (constant_inst->type()->AsInteger()->width() <= 32) { in GetConstantValue()
61 if (constant_inst->type()->AsInteger()->IsSigned()) { in GetConstantValue()
283 if (!index_type->AsInteger() || index_type->AsInteger()->width() != 32) in Has64BitIndices()
Dfold_spec_constant_op_and_composite_pass.cpp301 } else if (auto* it = type->AsInteger()) { in IsValidTypeForComponentWiseOperation()
306 } else if (auto* vit = vt->element_type()->AsInteger()) { in IsValidTypeForComponentWiseOperation()
339 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
Dupgrade_memory_model.cpp354 if (index_constant->type()->AsInteger()->IsSigned()) { in GetIndexValue()
355 if (index_constant->type()->AsInteger()->width() == 32) { in GetIndexValue()
361 if (index_constant->type()->AsInteger()->width() == 32) { in GetIndexValue()
565 const analysis::Integer* type = constant->type()->AsInteger(); in IsDeviceScope()
Dset_spec_constant_default_value_pass.cpp55 if (const auto* IT = type->AsInteger()) { in ParseDefaultValueStr()
100 } else if (const auto* IT = type->AsInteger()) { in ParseDefaultValueBitPattern()
Dfolding_rules.cpp45 assert(type->AsInteger()); in ElementWidth()
46 return type->AsInteger()->width(); in ElementWidth()
120 assert(c->type()->AsInteger()); in NegateIntegerConstant()
121 uint32_t width = c->type()->AsInteger()->width(); in NegateIntegerConstant()
152 assert(component_type->AsInteger()); in NegateVectorConstant()
171 assert(c->type()->AsInteger()); in NegateConstant()
463 assert(input1->type()->AsInteger()); in PerformIntegerOperation()
464 const analysis::Integer* type = input1->type()->AsInteger(); in PerformIntegerOperation()
465 uint32_t width = type->AsInteger()->width(); in PerformIntegerOperation()
546 assert(ele_type->AsInteger()); in PerformOperation()
[all …]
Dloop_peeling.h94 ->AsInteger();
Dloop_descriptor.cpp195 constant->AsIntConstant()->type()->AsInteger(); in GetInductionInitValue()
671 upper_bound->AsIntConstant()->type()->AsInteger(); in FindNumberOfIterations()
696 step_constant->AsIntConstant()->type()->AsInteger(); in FindNumberOfIterations()
Dtypes.h221 Integer* AsInteger() override { return this; } in AsInteger() function
222 const Integer* AsInteger() const override { return this; } in AsInteger() function
Dtypes.cpp241 const Integer* it = that->AsInteger(); in IsSameImpl()
276 assert(type->AsBool() || type->AsInteger() || type->AsFloat()); in Vector()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.cpp59 assert(type()->AsInteger() != nullptr); in GetU32()
60 assert(type()->AsInteger()->width() == 32); in GetU32()
71 assert(type()->AsInteger() != nullptr); in GetU64()
72 assert(type()->AsInteger()->width() == 64); in GetU64()
83 assert(type()->AsInteger() != nullptr); in GetS32()
84 assert(type()->AsInteger()->width() == 32); in GetS32()
95 assert(type()->AsInteger() != nullptr); in GetS64()
96 assert(type()->AsInteger()->width() == 64); in GetS64()
209 } else if (auto* it = type->AsInteger()) { in CreateConstant()
219 if (c->type()->AsBool() || c->type()->AsInteger() || in CreateConstant()
Dcombine_access_chains.cpp60 if (constant_inst->type()->AsInteger()->width() <= 32) { in GetConstantValue()
61 if (constant_inst->type()->AsInteger()->IsSigned()) { in GetConstantValue()
283 if (!index_type->AsInteger() || index_type->AsInteger()->width() != 32) in Has64BitIndices()
Dfold_spec_constant_op_and_composite_pass.cpp301 } else if (auto* it = type->AsInteger()) { in IsValidTypeForComponentWiseOperation()
306 } else if (auto* vit = vt->element_type()->AsInteger()) { in IsValidTypeForComponentWiseOperation()
339 if (result_type->AsInteger() || result_type->AsBool()) { in DoComponentWiseOperation()
Dset_spec_constant_default_value_pass.cpp55 if (const auto* IT = type->AsInteger()) { in ParseDefaultValueStr()
100 } else if (const auto* IT = type->AsInteger()) { in ParseDefaultValueBitPattern()
Dupgrade_memory_model.cpp371 if (index_constant->type()->AsInteger()->IsSigned()) { in GetIndexValue()
372 if (index_constant->type()->AsInteger()->width() == 32) { in GetIndexValue()
378 if (index_constant->type()->AsInteger()->width() == 32) { in GetIndexValue()
582 const analysis::Integer* type = constant->type()->AsInteger(); in IsDeviceScope()
Dfolding_rules.cpp45 assert(type->AsInteger()); in ElementWidth()
46 return type->AsInteger()->width(); in ElementWidth()
120 assert(c->type()->AsInteger()); in NegateIntegerConstant()
121 uint32_t width = c->type()->AsInteger()->width(); in NegateIntegerConstant()
152 assert(component_type->AsInteger()); in NegateVectorConstant()
171 assert(c->type()->AsInteger()); in NegateConstant()
463 assert(input1->type()->AsInteger()); in PerformIntegerOperation()
464 const analysis::Integer* type = input1->type()->AsInteger(); in PerformIntegerOperation()
465 uint32_t width = type->AsInteger()->width(); in PerformIntegerOperation()
546 assert(ele_type->AsInteger()); in PerformOperation()
[all …]
Dloop_peeling.h94 ->AsInteger();
Dloop_descriptor.cpp195 constant->AsIntConstant()->type()->AsInteger(); in GetInductionInitValue()
671 upper_bound->AsIntConstant()->type()->AsInteger(); in FindNumberOfIterations()
696 step_constant->AsIntConstant()->type()->AsInteger(); in FindNumberOfIterations()
Dtypes.h221 Integer* AsInteger() override { return this; } in AsInteger() function
222 const Integer* AsInteger() const override { return this; } in AsInteger() function
Dtypes.cpp241 const Integer* it = that->AsInteger(); in IsSameImpl()
276 assert(type->AsBool() || type->AsInteger() || type->AsFloat()); in Vector()
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tools.Tests.pas587 Locals.AsInteger['x'] := 2;
588 Locals.AsInteger['X'] := 3;
589 CheckEquals(2, Locals.AsInteger['x']);
590 CheckEquals(3, Locals.AsInteger['X']);
591 CheckEquals(0, Locals.AsInteger['y']);
592 Locals.AsInteger['X'] := Locals.AsInteger['x'] * 2;
593 CheckEquals(4, Locals.AsInteger['X']);
/external/libtextclassifier/utils/intents/
Djni.cc84 jobject RemoteActionTemplatesHandler::AsInteger( in AsInteger() function in libtextclassifier3::RemoteActionTemplatesHandler
197 const jobject flags = AsInteger(remote_action.flags); in RemoteActionTemplatesToJObjectArray()
201 const jobject request_code = AsInteger(remote_action.request_code); in RemoteActionTemplatesToJObjectArray()
Djni.h56 jobject AsInteger(const Optional<int>& optional) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp412 auto AsInteger = in legalizeCustom() local
415 *ConstantInt::get(Ctx, AsInteger)); in legalizeCustom()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg1113 Locals.AsInteger['<label>Start'] := CharIndex;
1115 …Create(Input, TToken.INVALID_TOKEN_TYPE, TToken.DEFAULT_CHANNEL, Locals.AsInteger['<label>Start'],…
1177 Locals.AsInteger['<label>Start<elementIndex>'] := CharIndex;
1180 Locals.AsInteger['<label>Start<elementIndex>'], CharIndex - 1);
1195 Locals.AsInteger['<label>Start<elementIndex>'] := CharIndex;
1197 Locals['<label>'] := TCommonToken.Create(Input, EOF, TToken.DEFAULT_CHANNEL, Locals.AsInteger['<lab…
1455 Locals.AsInteger['index<decisionNumber>_<stateNumber>'] := Input.Index;
1461 Input.Seek(Locals.AsInteger['index<decisionNumber>_<stateNumber>']);<\n>

12