Home
last modified time | relevance | path

Searched refs:AddOffset (Results 1 – 25 of 41) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/InstPrinter/
DLanaiInstPrinter.cpp46 static bool usesGivenOffset(const MCInst *MI, int AddOffset) { in usesGivenOffset() argument
49 (MI->getOperand(2).getImm() == AddOffset || in usesGivenOffset()
50 MI->getOperand(2).getImm() == -AddOffset); in usesGivenOffset()
53 static bool isPreIncrementForm(const MCInst *MI, int AddOffset) { in isPreIncrementForm() argument
55 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPreIncrementForm()
58 static bool isPostIncrementForm(const MCInst *MI, int AddOffset) { in isPostIncrementForm() argument
60 return LPAC::isPostOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPostIncrementForm()
72 int AddOffset) { in printMemoryLoadIncrement() argument
73 if (isPreIncrementForm(MI, AddOffset)) { in printMemoryLoadIncrement()
79 if (isPostIncrementForm(MI, AddOffset)) { in printMemoryLoadIncrement()
[all …]
DLanaiInstPrinter.h59 StringRef Opcode, int AddOffset);
61 StringRef Opcode, int AddOffset);
/external/llvm/lib/Target/Lanai/InstPrinter/
DLanaiInstPrinter.cpp46 static bool usesGivenOffset(const MCInst *MI, int AddOffset) { in usesGivenOffset() argument
49 (MI->getOperand(2).getImm() == AddOffset || in usesGivenOffset()
50 MI->getOperand(2).getImm() == -AddOffset); in usesGivenOffset()
53 static bool isPreIncrementForm(const MCInst *MI, int AddOffset) { in isPreIncrementForm() argument
55 return LPAC::isPreOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPreIncrementForm()
58 static bool isPostIncrementForm(const MCInst *MI, int AddOffset) { in isPostIncrementForm() argument
60 return LPAC::isPostOp(AluCode) && usesGivenOffset(MI, AddOffset); in isPostIncrementForm()
72 int AddOffset) { in printMemoryLoadIncrement() argument
73 if (isPreIncrementForm(MI, AddOffset)) { in printMemoryLoadIncrement()
79 if (isPostIncrementForm(MI, AddOffset)) { in printMemoryLoadIncrement()
[all …]
DLanaiInstPrinter.h59 StringRef Opcode, int AddOffset);
61 StringRef Opcode, int AddOffset);
/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h193 fbb_.AddOffset(KeyValue::VT_KEY, key); in add_key()
196 fbb_.AddOffset(KeyValue::VT_VALUE, value); in add_value()
282 fbb_.AddOffset(EnumVal::VT_NAME, name); in add_name()
288 fbb_.AddOffset(EnumVal::VT_OBJECT, object); in add_object()
291 fbb_.AddOffset(EnumVal::VT_UNION_TYPE, union_type); in add_union_type()
294 fbb_.AddOffset(EnumVal::VT_DOCUMENTATION, documentation); in add_documentation()
400 fbb_.AddOffset(Enum::VT_NAME, name); in add_name()
403 fbb_.AddOffset(Enum::VT_VALUES, values); in add_values()
409 fbb_.AddOffset(Enum::VT_UNDERLYING_TYPE, underlying_type); in add_underlying_type()
412 fbb_.AddOffset(Enum::VT_ATTRIBUTES, attributes); in add_attributes()
[all …]
/external/flatbuffers/tests/MyGame/Example/
DMonster.cs195 …d AddName(FlatBufferBuilder builder, StringOffset nameOffset) { builder.AddOffset(3, nameOffset.Va… in AddName()
196 …tory(FlatBufferBuilder builder, VectorOffset inventoryOffset) { builder.AddOffset(5, inventoryOffs… in AddInventory()
202 …public static void AddTest(FlatBufferBuilder builder, int testOffset) { builder.AddOffset(8, testO… in AddTest()
203 …AddTest4(FlatBufferBuilder builder, VectorOffset test4Offset) { builder.AddOffset(9, test4Offset.V… in AddTest4()
205 …tBufferBuilder builder, VectorOffset testarrayofstringOffset) { builder.AddOffset(10, testarrayofs… in AddTestarrayofstring()
206 …(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); … in CreateTestarrayofstringVector()
209 …tBufferBuilder builder, VectorOffset testarrayoftablesOffset) { builder.AddOffset(11, testarrayoft… in AddTestarrayoftables()
210 …(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i].Value); … in CreateTestarrayoftablesVector()
213 …Enemy(FlatBufferBuilder builder, Offset<Monster> enemyOffset) { builder.AddOffset(12, enemyOffset.… in AddEnemy()
214 …fferBuilder builder, VectorOffset testnestedflatbufferOffset) { builder.AddOffset(13, testnestedfl… in AddTestnestedflatbuffer()
[all …]
DTypeAliases.cs99 …public static void AddV8(FlatBufferBuilder builder, VectorOffset v8Offset) { builder.AddOffset(10,… in AddV8()
103 …d AddVf64(FlatBufferBuilder builder, VectorOffset vf64Offset) { builder.AddOffset(11, vf64Offset.V… in AddVf64()
DStat.cs44 …public static void AddId(FlatBufferBuilder builder, StringOffset idOffset) { builder.AddOffset(0, … in AddId()
/external/flatbuffers/tests/union_vector/
DMovie.cs46 …Character(FlatBufferBuilder builder, int mainCharacterOffset) { builder.AddOffset(1, mainCharacter… in AddMainCharacter()
47 …FlatBufferBuilder builder, VectorOffset charactersTypeOffset) { builder.AddOffset(2, charactersTyp… in AddCharactersType()
51 …ers(FlatBufferBuilder builder, VectorOffset charactersOffset) { builder.AddOffset(3, charactersOff… in AddCharacters()
52 …(4, data.Length, 4); for (int i = data.Length - 1; i >= 0; i--) builder.AddOffset(data[i]); return… in CreateCharactersVector()
Dunion_vector_generated.h392 fbb_.AddOffset(Movie::VT_MAIN_CHARACTER, main_character); in add_main_character()
395 fbb_.AddOffset(Movie::VT_CHARACTERS_TYPE, characters_type); in add_characters_type()
398 fbb_.AddOffset(Movie::VT_CHARACTERS, characters); in add_characters()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AVR/
DAVRRegisterInfo.cpp208 int AddOffset = Offset - 63 + 1; in eliminateFrameIndex() local
214 AddOffset = -AddOffset; in eliminateFrameIndex()
225 .addImm(AddOffset); in eliminateFrameIndex()
/external/llvm/lib/Target/AVR/
DAVRRegisterInfo.cpp198 int AddOffset = Offset - 63 + 1; in eliminateFrameIndex() local
204 AddOffset = -AddOffset; in eliminateFrameIndex()
215 .addImm(AddOffset); in eliminateFrameIndex()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dscalar_analysis_simplification.cpp302 new_recurrent_node->AddOffset( in UpdateCoefficient()
305 new_recurrent_node->AddOffset(recurrent->GetOffset()); in UpdateCoefficient()
446 new_recurrent->AddOffset(new_offset_simplified); in FoldRecurrentAddExpressions()
518 recurrent_node->AddOffset(simplified_child); in SimplifyRecurrentAddExpression()
520 recurrent_expr->AddOffset(analysis_.GetCachedOrAdd(std::move(new_offset))); in SimplifyRecurrentAddExpression()
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs349 public void AddOffset(int off) in AddOffset() method in FlatBuffers.FlatBufferBuilder
386 for (int i = offsets.Length - 1; i >= 0; i--) AddOffset(offsets[i].Value); in AddOffset() method
541 …public void AddOffset(int o, int x, int d) { if (ForceDefaults || x != d) { AddOffset(x); Slot(o);… in AddOffset() method in FlatBuffers.FlatBufferBuilder
695 AddOffset(rootTable); in Finish()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dscalar_analysis_simplification.cpp302 new_recurrent_node->AddOffset( in UpdateCoefficient()
305 new_recurrent_node->AddOffset(recurrent->GetOffset()); in UpdateCoefficient()
446 new_recurrent->AddOffset(new_offset_simplified); in FoldRecurrentAddExpressions()
518 recurrent_node->AddOffset(simplified_child); in SimplifyRecurrentAddExpression()
520 recurrent_expr->AddOffset(analysis_.GetCachedOrAdd(std::move(new_offset))); in SimplifyRecurrentAddExpression()
/external/flatbuffers/tests/namespace_test/
Dnamespace_test2_generated.h82 fbb_.AddOffset(TableInFirstNS::VT_FOO_TABLE, foo_table); in add_foo_table()
152 fbb_.AddOffset(TableInC::VT_REFER_TO_A1, refer_to_a1); in add_refer_to_a1()
155 fbb_.AddOffset(TableInC::VT_REFER_TO_A2, refer_to_a2); in add_refer_to_a2()
208 fbb_.AddOffset(SecondTableInA::VT_REFER_TO_C, refer_to_c); in add_refer_to_c()
/external/flatbuffers/tests/namespace_test/NamespaceA/
DTableInC.cs29 …r builder, Offset<NamespaceA.TableInFirstNS> referToA1Offset) { builder.AddOffset(0, referToA1Offs… in AddReferToA1()
30 …ufferBuilder builder, Offset<SecondTableInA> referToA2Offset) { builder.AddOffset(1, referToA2Offs… in AddReferToA2()
DSecondTableInA.cs30 …rBuilder builder, Offset<NamespaceC.TableInC> referToCOffset) { builder.AddOffset(0, referToCOffse… in AddReferToC()
DTableInFirstNS.cs26 …Offset<NamespaceA.NamespaceB.TableInNestedNS> fooTableOffset) { builder.AddOffset(0, fooTableOffse… in AddFooTable()
/external/flatbuffers/tests/namespace_test/NamespaceC/
DTableInC.cs33 …r builder, Offset<NamespaceA.TableInFirstNS> referToA1Offset) { builder.AddOffset(0, referToA1Offs… in AddReferToA1()
34 …r builder, Offset<NamespaceA.SecondTableInA> referToA2Offset) { builder.AddOffset(1, referToA2Offs… in AddReferToA2()
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersFuzzTests.cs291 builder.AddOffset(0, vecEnd.Value, 0); in TestVTableWithEmptyVector()
318 builder.AddOffset(1, vecEnd.Value, 0); in TestVTableWithEmptyVectorAndScalars()
347 builder.AddOffset(1, vecEnd.Value, 0); in TestVTableWith_1xInt16_and_Vector_or_2xInt16()
409 builder.AddOffset(0, vecEnd.Value, 0); in TestVTableWithAVectorOf_2xStructOf_2xInt8()
DFlatBuffersExampleTests.cs86 fbb.AddOffset(test2.Value); in CanCreateNewFlatBufferFromScratch()
87 fbb.AddOffset(test1.Value); in CanCreateNewFlatBufferFromScratch()
/external/flatbuffers/tests/
Dmonster_test_generated.h897 fbb_.AddOffset(Stat::VT_ID, id);
1634 fbb_.AddOffset(Monster::VT_NAME, name);
1637 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
1646 fbb_.AddOffset(Monster::VT_TEST, test);
1649 fbb_.AddOffset(Monster::VT_TEST4, test4);
1652 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring);
1655 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
1658 fbb_.AddOffset(Monster::VT_ENEMY, enemy);
1661 fbb_.AddOffset(Monster::VT_TESTNESTEDFLATBUFFER, testnestedflatbuffer);
1664 fbb_.AddOffset(Monster::VT_TESTEMPTY, testempty);
[all …]
/external/flatbuffers/samples/
Dmonster_generated.h347 fbb_.AddOffset(Monster::VT_NAME, name);
350 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
356 fbb_.AddOffset(Monster::VT_WEAPONS, weapons);
362 fbb_.AddOffset(Monster::VT_EQUIPPED, equipped);
481 fbb_.AddOffset(Weapon::VT_NAME, name);
/external/flatbuffers/tests/FlatBuffers.Benchmarks/
DFlatBufferBuilderBenchmark.cs96 builder.AddOffset(offset.Value); in TestTables()

12