Home
last modified time | relevance | path

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

1234567891011

/external/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 …]
/external/llvm-project/polly/lib/CodeGen/
DIRBuilder.cpp141 B->setMetadata("llvm.loop", MData); in annotateLoopLatch()
187 Inst->setMetadata("alias.scope", SecondLevelAliasScope); in annotateSecondLevel()
188 Inst->setMetadata("noalias", SecondLevelOtherAliasScopeList); in annotateSecondLevel()
218 Inst->setMetadata("llvm.mem.parallel_loop_access", ParallelLoops.back()); in annotate()
259 Inst->setMetadata("alias.scope", AliasScope); in annotate()
260 Inst->setMetadata("noalias", OtherAliasScopeList); in annotate()
/external/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()
/external/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()
/external/skia/src/gpu/
DGrTBlockList.h129 block->setMetadata(Decrement(block, releaseIndex)); in pop_back()
132 fAllocator->setMetadata(fAllocator->metadata() - 1); in pop_back()
258 br.fBlock->setMetadata(br.fAlignedOffset); in pushItem()
259 fAllocator->setMetadata(fAllocator->metadata() + 1); in pushItem()
331 target.fBlock->setMetadata(target.fAlignedOffset + (n - 1) * sizeof(T)); in concat()
343 fAllocator->setMetadata(fAllocator->metadata() + headItemCount); in concat()
362 fAllocator->setMetadata(fAllocator->metadata() + in concat()
364 other.fAllocator->setMetadata(0); in concat()
DGrMemoryPool.cpp74 alloc.fBlock->setMetadata(alloc.fBlock->metadata() + 1); in allocate()
129 block->setMetadata(alive - 1); in release()
/external/llvm-project/llvm/lib/IR/
DIRBuilder.cpp111 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSet()
114 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemSet()
117 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemSet()
139 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateElementUnorderedAtomicMemSet()
142 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateElementUnorderedAtomicMemSet()
145 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateElementUnorderedAtomicMemSet()
172 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemTransferInst()
176 CI->setMetadata(LLVMContext::MD_tbaa_struct, TBAAStructTag); in CreateMemTransferInst()
179 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemTransferInst()
182 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemTransferInst()
[all …]
DMetadata.cpp1216 void Value::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Value
1244 void Value::setMetadata(StringRef Kind, MDNode *Node) { in setMetadata() function in Value
1247 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata()
1282 void Instruction::setMetadata(StringRef Kind, MDNode *Node) { in setMetadata() function in Instruction
1285 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata()
1318 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Instruction
1328 Value::setMetadata(KindID, Node); in setMetadata()
1349 setMetadata(LLVMContext::MD_annotation, MD); in addAnnotationMetadata()
1353 setMetadata(LLVMContext::MD_tbaa, N.TBAA); in setAAMetadata()
1354 setMetadata(LLVMContext::MD_tbaa_struct, N.TBAAStruct); in setAAMetadata()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULowerKernelArguments.cpp196 Load->setMetadata(LLVMContext::MD_invariant_load, MDNode::get(Ctx, {})); in runOnFunction()
202 Load->setMetadata(LLVMContext::MD_nonnull, MDNode::get(Ctx, {})); in runOnFunction()
206 Load->setMetadata( in runOnFunction()
215 Load->setMetadata( in runOnFunction()
224 Load->setMetadata( in runOnFunction()
DAMDGPUAnnotateUniformValues.cpp75 I->setMetadata("amdgpu.uniform", MDNode::get(I->getContext(), {})); in setUniformMetadata()
78 I->setMetadata("amdgpu.noclobber", MDNode::get(I->getContext(), {})); in setNoClobberMetadata()
/external/llvm/lib/IR/
DIRBuilder.cpp95 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSet()
98 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemSet()
101 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemSet()
122 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemCpy()
126 CI->setMetadata(LLVMContext::MD_tbaa_struct, TBAAStructTag); in CreateMemCpy()
129 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemCpy()
132 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemCpy()
153 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemMove()
156 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemMove()
159 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemMove()
/external/llvm/unittests/Analysis/
DMixedTBAATest.cpp56 Store2->setMetadata(LLVMContext::MD_tbaa, MD3); in TEST_F()
64 Store1->setMetadata(LLVMContext::MD_tbaa, MD2); in TEST_F()
/external/llvm-project/llvm/unittests/Analysis/
DTBAATest.cpp55 SI->setMetadata(LLVMContext::MD_tbaa, MD2); in TEST_F()
84 SI->setMetadata(LLVMContext::MD_tbaa, GenericMD); in TEST_F()
/external/llvm/lib/Transforms/Scalar/
DLowerGuardIntrinsic.cpp66 CheckBI->setMetadata(LLVMContext::MD_make_implicit, MD); in MakeGuardControlFlowExplicit()
69 CheckBI->setMetadata(LLVMContext::MD_prof, in MakeGuardControlFlowExplicit()
DLowerExpectIntrinsic.cpp79 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
132 BI.setMetadata(LLVMContext::MD_prof, Node); in handleBranchExpect()
/external/llvm/include/llvm/IR/
DGlobalObject.h100 void setMetadata(unsigned KindID, MDNode *MD);
101 void setMetadata(StringRef Kind, MDNode *MD);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DGlobalObject.h103 void setMetadata(unsigned KindID, MDNode *MD);
104 void setMetadata(StringRef Kind, MDNode *MD);
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp105 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
249 BI->setMetadata(LLVMContext::MD_prof, in handlePhiDef()
253 BI->setMetadata(LLVMContext::MD_prof, in handlePhiDef()
331 BSI.setMetadata(LLVMContext::MD_prof, Node); in handleBrSelExpect()
/external/llvm-project/llvm/lib/Transforms/Utils/
DGuardUtils.cpp49 CheckBI->setMetadata(LLVMContext::MD_make_implicit, MD); in makeGuardControlFlowExplicit()
52 CheckBI->setMetadata(LLVMContext::MD_prof, in makeGuardControlFlowExplicit()
DLocal.cpp222 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
305 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
314 NewBr->setMetadata(LLVMContext::MD_make_implicit, MakeImplicitMD); in ConstantFoldTerminator()
1118 Pred->getTerminator()->setMetadata(LoopMDKind, LoopMD); in TryToSimplifyUncondBranchFromEmptyBlock()
2099 NewCall->setMetadata(LLVMContext::MD_prof, NewWeights); in createCallMatchingInvoke()
2445 K->setMetadata(Kind, nullptr); // Remove unknown metadata in combineMetadata()
2450 K->setMetadata(Kind, MDNode::getMostGenericTBAA(JMD, KMD)); in combineMetadata()
2453 K->setMetadata(Kind, MDNode::getMostGenericAliasScope(JMD, KMD)); in combineMetadata()
2457 K->setMetadata(Kind, MDNode::intersect(JMD, KMD)); in combineMetadata()
2460 K->setMetadata(LLVMContext::MD_access_group, in combineMetadata()
[all …]
/external/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()
/external/skia/tests/
DGrBlockAllocatorTest.cpp325 get_block(pool, 0)->setMetadata(2); in DEF_TEST()
357 get_block(pool, 0)->setMetadata(1); in DEF_TEST()
358 get_block(pool, 1)->setMetadata(2); in DEF_TEST()
359 get_block(pool, 2)->setMetadata(3); in DEF_TEST()
360 get_block(pool, 3)->setMetadata(4); in DEF_TEST()
406 pool->headBlock()->setMetadata(1); in DEF_TEST()
423 pool->headBlock()->setMetadata(1); in DEF_TEST()
597 pool->setMetadata(4); in DEF_TEST()
/external/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);
/external/llvm/lib/Target/AMDGPU/
DAMDGPUPromoteAlloca.cpp241 LocalSizeY->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in getLocalSizeYZ()
242 LocalSizeZ->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in getLocalSizeYZ()
305 LoadXY->setMetadata(LLVMContext::MD_invariant_load, MD); in getLocalSizeYZ()
306 LoadZU->setMetadata(LLVMContext::MD_invariant_load, MD); in getLocalSizeYZ()
307 LoadZU->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in getLocalSizeYZ()
338 CI->setMetadata(LLVMContext::MD_range, MaxWorkGroupSizeRange); in getWorkitemID()

1234567891011