Home
last modified time | relevance | path

Searched refs:Insert (Results 1 - 25 of 203) sorted by relevance

123456789

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegStackify.cpp269 static MachineInstr *getVRegDef(unsigned Reg, const MachineInstr *Insert, in getVRegDef() argument
278 LIS.getInstructionIndex(*Insert))) in getVRegDef()
311 // Test whether it's safe to move Def to just before Insert.
316 static bool isSafeToMove(const MachineInstr *Def, const MachineInstr *Insert, in isSafeToMove() argument
318 assert(Def->getParent() == Insert->getParent()); in isSafeToMove()
328 if (NextI != Insert) in isSafeToMove()
339 // If the register is dead here and at Insert, ignore it. in isSafeToMove()
340 if (MO.isDead() && Insert->definesRegister(Reg) && in isSafeToMove()
341 !Insert->readsRegister(Reg)) in isSafeToMove()
372 // Scan through the intervening instructions between Def and Insert in isSafeToMove()
483 moveForSingleUse(unsigned Reg, MachineOperand &Op, MachineInstr *Def, MachineBasicBlock &MBB, MachineInstr *Insert, LiveIntervals &LIS, WebAssemblyFunctionInfo &MFI, MachineRegisterInfo &MRI) moveForSingleUse() argument
528 rematerializeCheapDef( unsigned Reg, MachineOperand &Op, MachineInstr &Def, MachineBasicBlock &MBB, MachineBasicBlock::instr_iterator Insert, LiveIntervals &LIS, WebAssemblyFunctionInfo &MFI, MachineRegisterInfo &MRI, const WebAssemblyInstrInfo *TII, const WebAssemblyRegisterInfo *TRI) rematerializeCheapDef() argument
596 moveAndTeeForMultiUse( unsigned Reg, MachineOperand &Op, MachineInstr *Def, MachineBasicBlock &MBB, MachineInstr *Insert, LiveIntervals &LIS, WebAssemblyFunctionInfo &MFI, MachineRegisterInfo &MRI, const WebAssemblyInstrInfo *TII) moveAndTeeForMultiUse() argument
658 TreeWalkerState(MachineInstr *Insert) TreeWalkerState() argument
737 maybeCommute(MachineInstr *Insert, TreeWalkerState &TreeWalker, const WebAssemblyInstrInfo *TII) maybeCommute() argument
789 MachineInstr *Insert = &*MII; runOnMachineFunction() local
[all...]
H A DWebAssemblyDebugValueManager.cpp26 void WebAssemblyDebugValueManager::move(MachineInstr *Insert) { in move() argument
27 MachineBasicBlock *MBB = Insert->getParent(); in move()
29 MBB->splice(Insert, DBI->getParent(), DBI); in move()
37 void WebAssemblyDebugValueManager::clone(MachineInstr *Insert, in clone() argument
39 MachineBasicBlock *MBB = Insert->getParent(); in clone()
44 MBB->insert(Insert, Clone); in clone()
H A DWebAssemblyDebugValueManager.h30 void move(MachineInstr *Insert);
32 void clone(MachineInstr *Insert, unsigned NewReg);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
H A DLiveRangeShrink.cpp167 MachineInstr *Insert = nullptr; in runOnMachineFunction() local
182 Insert = nullptr; in runOnMachineFunction()
188 Insert = nullptr; in runOnMachineFunction()
202 Insert = FindDominatedInstruction(DefInstr, Insert, IOM); in runOnMachineFunction()
204 Insert = nullptr; in runOnMachineFunction()
210 // after Insert, if yes, then we should not hoist. in runOnMachineFunction()
211 for (MachineInstr *I = Insert; I && IOM[I] == Barrier; in runOnMachineFunction()
214 Insert = nullptr; in runOnMachineFunction()
218 if (DefMO && Insert in runOnMachineFunction()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
H A DIRBuilder.h915 /// Insert and return the specified instruction.
917 InstTy *Insert(InstTy *I, const Twine &Name = "") const { in Insert() function in llvm::IRBuilder
924 Constant *Insert(Constant *C, const Twine& = "") const { in Insert() function in llvm::IRBuilder
948 return Insert(ReturnInst::Create(Context)); in CreateRetVoid()
953 return Insert(ReturnInst::Create(Context, V)); in CreateRet()
967 return Insert(ReturnInst::Create(Context, V)); in CreateAggregateRet()
972 return Insert(BranchInst::Create(Dest)); in CreateBr()
980 return Insert(addBranchMetadata(BranchInst::Create(True, False, Cond), in CreateCondBr()
994 return Insert(Br); in CreateCondBr()
1003 return Insert(addBranchMetadat in CreateSwitch()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DSubzeroReactor.cpp1413 vector = Insert(vector, x, 0);
1427 vector = Insert(vector, x, 0);
1428 vector = Insert(vector, y, 1);
2255 RValue<Byte8> Insert(RValue<Byte8> val, RValue<Byte> element, int i)
2267 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 0)) + Int(Extract(y, 0)))), 0);
2268 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 1)) + Int(Extract(y, 1)))), 1);
2269 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 2)) + Int(Extract(y, 2)))), 2);
2270 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 3)) + Int(Extract(y, 3)))), 3);
2271 result = Insert(result, SaturateUnsigned(Short(Int(Extract(x, 4)) + Int(Extract(y, 4)))), 4);
2272 result = Insert(resul
[all...]
H A DEmulatedIntrinsics.cpp40 result = Insert(result, Call(func, Extract(x, 0)), 0); in call4()
41 result = Insert(result, Call(func, Extract(x, 1)), 1); in call4()
42 result = Insert(result, Call(func, Extract(x, 2)), 2); in call4()
43 result = Insert(result, Call(func, Extract(x, 3)), 3); in call4()
52 result = Insert(result, Call(func, Extract(x, 0), Extract(y, 0)), 0); in call4()
53 result = Insert(result, Call(func, Extract(x, 1), Extract(y, 1)), 1); in call4()
54 result = Insert(result, Call(func, Extract(x, 2), Extract(y, 2)), 2); in call4()
55 result = Insert(result, Call(func, Extract(x, 3), Extract(y, 3)), 3); in call4()
74 out = Insert(out, el, i); in gather()
78 out = Insert(ou in gather()
[all...]
/third_party/node/deps/v8/src/interpreter/
H A Dconstant-array-builder.h69 // Insert an object into the constants array if it is not already present.
71 size_t Insert(Smi smi);
72 size_t Insert(double number);
73 size_t Insert(const AstRawString* raw_string);
74 size_t Insert(AstBigInt bigint);
75 size_t Insert(const Scope* scope);
76 #define INSERT_ENTRY(NAME, ...) size_t Insert##NAME();
H A Dconstant-array-builder.cc223 size_t ConstantArrayBuilder::Insert(Smi smi) { in Insert() function in v8::internal::interpreter::ConstantArrayBuilder
231 size_t ConstantArrayBuilder::Insert(double number) { in Insert() function in v8::internal::interpreter::ConstantArrayBuilder
242 size_t ConstantArrayBuilder::Insert(const AstRawString* raw_string) { in Insert() function in v8::internal::interpreter::ConstantArrayBuilder
250 size_t ConstantArrayBuilder::Insert(AstBigInt bigint) { in Insert() function in v8::internal::ConstantArrayBuilder
258 size_t ConstantArrayBuilder::Insert(const Scope* scope) { in Insert() function in v8::ConstantArrayBuilder
267 size_t ConstantArrayBuilder::Insert##NAME() { \
/third_party/gn/src/gn/
H A Dstring_atom.cc71 // and call Insert(), passing the |node|, |hash| and new string
85 // Otherwise, the caller should create a new key value, then call Insert()
90 // passed to Insert() in case of a miss.
101 void Insert(Node* node, size_t hash, KeyType key) { in Insert() function
120 set_.Insert(node, hash, &kEmptyString); in StringAtomSet()
137 set_.Insert(node, hash, result); in find()
199 local_set_.Insert(node, hash, result); in find()
H A Dunique_vector.h67 // Specialized Insert() function that converts |index| into the proper
69 void Insert(Node* node, size_t hash, size_t index) { in Insert() function
119 set_.Insert(node, hash, vector_.size() - 1);
131 set_.Insert(node, hash, vector_.size() - 1);
155 set_.Insert(node, hash, result);
168 set_.Insert(node, hash, result);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DCFGUpdate.h9 // This file defines a CFG Edge Update: Insert or Delete, and two Nodes as the
26 enum class UpdateKind : unsigned char { Insert, Delete }; member in llvm::cfg::UpdateKind
45 OS << (getKind() == UpdateKind::Insert ? "Insert " : "Delete "); in print()
80 Operations[{From, To}] += (U.getKind() == UpdateKind::Insert ? 1 : -1); in LegalizeUpdates()
91 NumInsertions > 0 ? UpdateKind::Insert : UpdateKind::Delete; in LegalizeUpdates()
/third_party/skia/third_party/externals/dng_sdk/source/
H A Ddng_string_list.h60 void Insert (uint32 index,
65 Insert (Count (), s); in Append()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DConcurrentCacheTests.cpp73 insertOutput = cachePtr->Insert(&cachedObject); in TEST_F()
76 anotherInsertOutput = cachePtr->Insert(&anotherCachedObject); in TEST_F()
95 insertOutput = cachePtr->Insert(&cachedObject); in TEST_F()
/third_party/node/deps/v8/src/parsing/
H A Dparser.h408 // Insert initializer statements for var-bindings shadowing parameter bindings
940 source_range_map_->Insert( in ConvertBinaryToNaryOperationSourceRange()
958 source_range_map_->Insert( in RecordBlockSourceRange()
965 source_range_map_->Insert(node, in RecordCaseClauseSourceRange()
973 source_range_map_->Insert( in RecordConditionalSourceRange()
980 source_range_map_->Insert(node, zone()->New<FunctionLiteralSourceRanges>()); in RecordFunctionLiteralSourceRange()
986 source_range_map_->Insert( in RecordBinaryOperationSourceRange()
994 source_range_map_->Insert( in RecordJumpStatementSourceRange()
1003 source_range_map_->Insert( in RecordIfStatementSourceRange()
1011 source_range_map_->Insert( in RecordIterationStatementSourceRange()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
H A DPixelRoutine.cpp511 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer), 0)); in depthTest16()
512 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer + pitch), 1)); in depthTest16()
616 z = Insert(z, *Pointer<Int>(buffer), 0); in depthBoundsTest16()
617 z = Insert(z, *Pointer<Int>(buffer + pitch), 1); in depthBoundsTest16()
729 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer), 0)); in writeDepth16()
730 zValue = As<Short4>(Insert(As<Int2>(zValue), *Pointer<Int>(buffer + pitch), 1)); in writeDepth16()
894 sRefDuplicated = Insert(sRefDuplicated, sRef.x, 0); in stencilReplaceRef()
895 sRefDuplicated = Insert(sRefDuplicated, sRef.x, 1); in stencilReplaceRef()
1164 pixel.x = Insert(pixel.x, *Pointer<Short>(buffer), 0); in readPixel()
1166 pixel.x = Insert(pixe in readPixel()
[all...]
H A DComputeProgram.cpp69 routine->workgroupID = Insert(Insert(Insert(Int4(0), workgroupID[X], X), workgroupID[Y], Y), workgroupID[Z], Z); in setWorkgroupBuiltins()
130 Int4 wgID = Insert(Insert(Insert(SIMD::Int(0), workgroupID[X], X), workgroupID[Y], Y), workgroupID[Z], Z); in setSubgroupBuiltins()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
H A DDomTreeUpdater.cpp42 if (Kind == DominatorTree::Insert && !HasEdge) in isUpdateValid()
263 // existed before. If the first update to an edge is "Insert", it means in applyUpdatesPermissive()
266 // For example, if the user submits {{Delete, A, B}, {Insert, A, B}}, in applyUpdatesPermissive()
275 // edge, so both {Delete, A, B}, {Insert, A, B} actually happened and in applyUpdatesPermissive()
278 // actually happened but {Insert, A, B} was an invalid update which never in applyUpdatesPermissive()
320 assert(isUpdateValid({DominatorTree::Insert, From, To}) && in insertEdge()
339 PendUpdates.push_back({DominatorTree::Insert, From, To}); in insertEdge()
349 if (!isUpdateValid({DominatorTree::Insert, From, To})) in insertEdgeRelaxed()
360 PendUpdates.push_back({DominatorTree::Insert, From, To}); in insertEdgeRelaxed()
463 if (U.getKind() == DominatorTree::Insert) in dump()
[all...]
H A DBlockFrequencyInfoImpl.cpp753 LoopData *OuterLoop, std::list<LoopData>::iterator Insert, in createIrreducibleLoop()
762 auto Loop = BFI.Loops.emplace(Insert, OuterLoop, Headers.begin(), in createIrreducibleLoop()
776 std::list<LoopData>::iterator Insert) { in analyzeIrreducible()
777 assert((OuterLoop == nullptr) == (Insert == Loops.begin())); in analyzeIrreducible()
778 auto Prev = OuterLoop ? std::prev(Insert) : Loops.end(); in analyzeIrreducible()
785 createIrreducibleLoop(*this, G, OuterLoop, Insert, *I); in analyzeIrreducible()
789 return make_range(std::next(Prev), Insert); in analyzeIrreducible()
790 return make_range(Loops.begin(), Insert); in analyzeIrreducible()
751 createIrreducibleLoop( BlockFrequencyInfoImplBase &BFI, const IrreducibleGraph &G, LoopData *OuterLoop, std::list<LoopData>::iterator Insert, const std::vector<const IrreducibleGraph::IrrNode *> &SCC) createIrreducibleLoop() argument
774 analyzeIrreducible( const IrreducibleGraph &G, LoopData *OuterLoop, std::list<LoopData>::iterator Insert) analyzeIrreducible() argument
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DSIAnnotateControlFlow.cpp234 Instruction *Insert; in handleLoopCondition() local
236 Insert = Parent->getTerminator(); in handleLoopCondition()
238 Insert = L->getHeader()->getFirstNonPHIOrDbgOrLifetime(); in handleLoopCondition()
242 return CallInst::Create(IfBreak, Args, "", Insert); in handleLoopCondition()
245 // Insert IfBreak in the loop header TERM for constant COND other than true. in handleLoopCondition()
247 Instruction *Insert = Cond == BoolTrue ? in handleLoopCondition() local
251 return CallInst::Create(IfBreak, Args, "", Insert); in handleLoopCondition()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp95 /// Insert the intrinsic to represent the effect of tail predication.
227 Instruction *Insert = nullptr; in isTailPredicate()
228 if (!match(Shuffle, m_ShuffleVector(m_Instruction(Insert), m_Undef(), in isTailPredicate()
232 // Insert the limit into a vector. in isTailPredicate()
234 if (!match(Insert, m_InsertElement(m_Undef(), m_Instruction(BECount), in isTailPredicate()
264 if (!match(BroadcastSplat, m_ShuffleVector(m_Instruction(Insert), m_Undef(), in isTailPredicate()
270 if (!match(Insert, m_InsertElement(m_Undef(), m_Instruction(IV), m_Zero()))) in isTailPredicate()
284 unsigned Lanes = cast<VectorType>(Insert->getType())->getNumElements(); in isTailPredicate()
467 // Insert a phi to count the number of elements processed by the loop. in InsertVCTPIntrinsic()
471 // Insert th in InsertVCTPIntrinsic()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DBlitter.cpp795 c = Insert(c, Int(*Pointer<SByte>(element + 3)), 3); in read()
797 c = Insert(c, Int(*Pointer<SByte>(element + 2)), 2); in read()
799 c = Insert(c, Int(*Pointer<SByte>(element + 1)), 1); in read()
801 c = Insert(c, Int(*Pointer<SByte>(element)), 0); in read()
804 c = Insert(c, Int(*Pointer<Byte>(element + 3)), 3); in read()
806 c = Insert(c, Int(*Pointer<Byte>(element + 2)), 2); in read()
808 c = Insert(c, Int(*Pointer<Byte>(element + 1)), 1); in read()
810 c = Insert(c, Int(*Pointer<Byte>(element)), 0); in read()
813 c = Insert(c, Int(*Pointer<Short>(element + 6)), 3); in read()
815 c = Insert( in read()
[all...]
/third_party/node/src/permission/
H A Dfs_permission.cc138 granted_in_fs_.Insert(path); in GrantAccess()
141 granted_out_fs_.Insert(path); in GrantAccess()
200 void FSPermission::RadixTree::Insert(const std::string& path) { in Insert() function in node::permission::FSPermission::RadixTree
/third_party/node/deps/v8/src/utils/
H A Didentity-map.h138 // Insert the value for the given key. The key must not have previously
140 void Insert(Handle<Object> key, V v) { Insert(*key, v); } in Insert() function in v8::internal::IdentityMap
141 void Insert(Object key, V v) { in Insert() function in v8::internal::IdentityMap
/third_party/lzma/CPP/Common/
H A DMyVector.h242 void Insert(unsigned index, const T item) in Insert() function in CRecordVector
345 Insert(right, item); in AddToUniqueSorted()
365 Insert(right, item); in AddToUniqueSorted2()
554 void Insert(unsigned index, const T& item) in Insert() function in CObjectVector
670 Insert(right, item); in AddToUniqueSorted()
694 Insert(right, item);

Completed in 28 milliseconds

123456789