Home
last modified time | relevance | path

Searched refs:setMetadata (Results 1 – 25 of 75) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DIRBuilder.cpp116 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSet()
119 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemSet()
122 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemSet()
144 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateElementUnorderedAtomicMemSet()
147 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateElementUnorderedAtomicMemSet()
150 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateElementUnorderedAtomicMemSet()
188 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemCpy()
192 CI->setMetadata(LLVMContext::MD_tbaa_struct, TBAAStructTag); in CreateMemCpy()
195 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemCpy()
198 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemCpy()
[all …]
DMetadata.cpp1187 void Instruction::setMetadata(StringRef Kind, MDNode *Node) { in setMetadata() function in Instruction
1190 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata()
1224 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Instruction
1264 setMetadata(LLVMContext::MD_tbaa, N.TBAA); in setAAMetadata()
1265 setMetadata(LLVMContext::MD_tbaa_struct, N.TBAAStruct); in setAAMetadata()
1266 setMetadata(LLVMContext::MD_alias_scope, N.Scope); in setAAMetadata()
1267 setMetadata(LLVMContext::MD_noalias, N.NoAlias); in setAAMetadata()
1433 void GlobalObject::setMetadata(unsigned KindID, MDNode *N) { in setMetadata() function in GlobalObject
1439 void GlobalObject::setMetadata(StringRef Kind, MDNode *N) { in setMetadata() function in GlobalObject
1440 setMetadata(getContext().getMDKindID(Kind), N); in setMetadata()
[all …]
DInstruction.cpp705 setMetadata(LLVMContext::MD_prof, in swapProfMetadata()
724 setMetadata(MD.first, MD.second); in copyMetadata()
754 setMetadata(LLVMContext::MD_prof, MDB.createBranchWeights(Weights)); in setProfWeight()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp164 Load->setMetadata(LLVMContext::MD_invariant_load, MDNode::get(Ctx, {})); in runOnFunction()
170 Load->setMetadata(LLVMContext::MD_nonnull, MDNode::get(Ctx, {})); in runOnFunction()
174 Load->setMetadata( in runOnFunction()
183 Load->setMetadata( in runOnFunction()
192 Load->setMetadata( in runOnFunction()
DAMDGPUAnnotateUniformValues.cpp74 I->setMetadata("amdgpu.uniform", MDNode::get(I->getContext(), {})); in setUniformMetadata()
77 I->setMetadata("amdgpu.noclobber", MDNode::get(I->getContext(), {})); in setNoClobberMetadata()
/third_party/skia/src/core/
DSkTBlockList.h129 block->setMetadata(Decrement(block, releaseIndex)); in pop_back()
132 fAllocator->setMetadata(fAllocator->metadata() - 1); in pop_back()
259 br.fBlock->setMetadata(br.fAlignedOffset); in pushItem()
260 fAllocator->setMetadata(fAllocator->metadata() + 1); in pushItem()
327 target.fBlock->setMetadata(target.fAlignedOffset + (n - 1) * sizeof(T)); in concat()
339 fAllocator->setMetadata(fAllocator->metadata() + headItemCount); in concat()
358 fAllocator->setMetadata(fAllocator->metadata() + in concat()
360 other.fAllocator->setMetadata(0); in concat()
DSkBlockAllocator.h105 void setMetadata(int value) { fMetadata = value; } in setMetadata() function
252 void setMetadata(int value) { fHead.fAllocatorMetadata = value; } in setMetadata() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp79 SI.setMetadata( in handleSwitchExpect()
87 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
228 BI->setMetadata( in handlePhiDef()
232 BI->setMetadata( in handlePhiDef()
301 BSI.setMetadata(LLVMContext::MD_misexpect, ExpNode); in handleBrSelExpect()
310 BSI.setMetadata(LLVMContext::MD_prof, Node); in handleBrSelExpect()
DLoopVersioningLICM.cpp555 Inst.setMetadata( in setNoAliasToLoop()
560 Inst.setMetadata( in setNoAliasToLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalObject.h103 void setMetadata(unsigned KindID, MDNode *MD);
104 void setMetadata(StringRef Kind, MDNode *MD);
DInstruction.h211 void setMetadata(unsigned KindID, MDNode *Node);
212 void setMetadata(StringRef Kind, MDNode *Node);
/third_party/skia/tests/
DSkBlockAllocatorTest.cpp335 get_block(pool, 0)->setMetadata(2); in DEF_TEST()
367 get_block(pool, 0)->setMetadata(1); in DEF_TEST()
368 get_block(pool, 1)->setMetadata(2); in DEF_TEST()
369 get_block(pool, 2)->setMetadata(3); in DEF_TEST()
370 get_block(pool, 3)->setMetadata(4); in DEF_TEST()
416 pool->headBlock()->setMetadata(1); in DEF_TEST()
433 pool->headBlock()->setMetadata(1); in DEF_TEST()
607 pool->setMetadata(4); in DEF_TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DGuardUtils.cpp49 CheckBI->setMetadata(LLVMContext::MD_make_implicit, MD); in makeGuardControlFlowExplicit()
52 CheckBI->setMetadata(LLVMContext::MD_prof, in makeGuardControlFlowExplicit()
DLocal.cpp201 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
283 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
292 NewBr->setMetadata(LLVMContext::MD_make_implicit, MakeImplicitMD); in ConstantFoldTerminator()
1053 Pred->getTerminator()->setMetadata(LoopMDKind, LoopMD); in TryToSimplifyUncondBranchFromEmptyBlock()
2311 K->setMetadata(Kind, nullptr); // Remove unknown metadata in combineMetadata()
2316 K->setMetadata(Kind, MDNode::getMostGenericTBAA(JMD, KMD)); in combineMetadata()
2319 K->setMetadata(Kind, MDNode::getMostGenericAliasScope(JMD, KMD)); in combineMetadata()
2323 K->setMetadata(Kind, MDNode::intersect(JMD, KMD)); in combineMetadata()
2326 K->setMetadata(LLVMContext::MD_access_group, in combineMetadata()
2338 K->setMetadata(Kind, MDNode::getMostGenericRange(JMD, KMD)); in combineMetadata()
[all …]
DCallPromotionUtils.cpp376 CS.getInstruction()->setMetadata(LLVMContext::MD_prof, nullptr); in promoteCall()
377 CS.getInstruction()->setMetadata(LLVMContext::MD_callees, nullptr); in promoteCall()
DLoopVersioning.cpp237 VersionedInst->setMetadata( in annotateInstWithNoAlias()
246 VersionedInst->setMetadata( in annotateInstWithNoAlias()
DInlineFunction.cpp792 NI->setMetadata(LLVMContext::MD_mem_parallel_loop_access, M); in PropagateParallelLoopAccessMetadata()
794 NI->setMetadata(LLVMContext::MD_mem_parallel_loop_access, M); in PropagateParallelLoopAccessMetadata()
801 NI->setMetadata(LLVMContext::MD_access_group, UnitedAccGroups); in PropagateParallelLoopAccessMetadata()
892 NI->setMetadata(LLVMContext::MD_alias_scope, NewMD); in CloneAliasScopeMetadata()
896 NI->setMetadata(LLVMContext::MD_alias_scope, M); in CloneAliasScopeMetadata()
907 NI->setMetadata(LLVMContext::MD_noalias, NewMD); in CloneAliasScopeMetadata()
910 NI->setMetadata(LLVMContext::MD_noalias, M); in CloneAliasScopeMetadata()
1105 NI->setMetadata(LLVMContext::MD_noalias, in AddAliasScopeMetadata()
1131 NI->setMetadata( in AddAliasScopeMetadata()
1421 BI->setMetadata(LLVMContext::MD_loop, NewLoopID); in fixupLineNumbers()
DLoopUnrollPeel.cpp435 LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode); in updateBranchWeights()
477 LatchBR->setMetadata(LLVMContext::MD_prof, WeightNode); in fixupBranchWeights()
741 LatchBRCopy->setMetadata(LLVMContext::MD_loop, nullptr); in peelLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DGlobalObject.h157 void setMetadata(unsigned KindID, MDNode *MD);
158 void setMetadata(StringRef Kind, MDNode *MD);
DInstruction.h280 void setMetadata(unsigned KindID, MDNode *Node);
281 void setMetadata(StringRef Kind, MDNode *Node);
/third_party/skia/src/gpu/
DGrMemoryPool.cpp73 alloc.fBlock->setMetadata(alloc.fBlock->metadata() + 1); in allocate()
128 block->setMetadata(alive - 1); in release()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp315 NewInst->setMetadata( in promoteIndirectCall()
371 I->setMetadata(LLVMContext::MD_prof, nullptr); in processFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVVMIntrRange.cpp78 C->setMetadata(LLVMContext::MD_range, MDNode::get(Context, LowAndHigh)); in addRangeMetadata()
DNVPTXPrologEpilogPass.cpp77 MI.getOperand(3).setMetadata(DIExpr); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp153 BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights); in buildCFICheck()

123