/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 95 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()
|
D | Metadata.cpp | 1165 void Instruction::setMetadata(StringRef Kind, MDNode *Node) { in setMetadata() function in Instruction 1168 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata() 1203 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Instruction 1243 setMetadata(LLVMContext::MD_tbaa, N.TBAA); in setAAMetadata() 1244 setMetadata(LLVMContext::MD_alias_scope, N.Scope); in setAAMetadata() 1245 setMetadata(LLVMContext::MD_noalias, N.NoAlias); in setAAMetadata() 1398 void GlobalObject::setMetadata(unsigned KindID, MDNode *N) { in setMetadata() function in GlobalObject 1404 void GlobalObject::setMetadata(StringRef Kind, MDNode *N) { in setMetadata() function in GlobalObject 1405 setMetadata(getContext().getMDKindID(Kind), N); in setMetadata() 1450 setMetadata(LLVMContext::MD_dbg, SP); in setSubprogram()
|
/external/llvm/unittests/Analysis/ |
D | MixedTBAATest.cpp | 56 Store2->setMetadata(LLVMContext::MD_tbaa, MD3); in TEST_F() 64 Store1->setMetadata(LLVMContext::MD_tbaa, MD2); in TEST_F()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | IRBuilder.cpp | 76 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSet() 96 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemCpy() 116 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemMove()
|
D | Metadata.cpp | 428 void Instruction::setMetadata(const char *Kind, MDNode *Node) { in setMetadata() function in Instruction 430 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata() 440 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Instruction
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
D | GlobalObject.h | 103 void setMetadata(unsigned KindID, MDNode *MD); 104 void setMetadata(StringRef Kind, MDNode *MD);
|
D | Instruction.h | 211 void setMetadata(unsigned KindID, MDNode *Node); 212 void setMetadata(StringRef Kind, MDNode *Node);
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerGuardIntrinsic.cpp | 66 CheckBI->setMetadata(LLVMContext::MD_make_implicit, MD); in MakeGuardControlFlowExplicit() 69 CheckBI->setMetadata(LLVMContext::MD_prof, in MakeGuardControlFlowExplicit()
|
D | LowerExpectIntrinsic.cpp | 79 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect() 132 BI.setMetadata(LLVMContext::MD_prof, Node); in handleBranchExpect()
|
D | LoopVersioningLICM.cpp | 494 Inst.setMetadata( in setNoAliasToLoop() 499 Inst.setMetadata( in setNoAliasToLoop()
|
/external/llvm/include/llvm/IR/ |
D | GlobalObject.h | 100 void setMetadata(unsigned KindID, MDNode *MD); 101 void setMetadata(StringRef Kind, MDNode *MD);
|
D | Instruction.h | 197 void setMetadata(unsigned KindID, MDNode *Node); 198 void setMetadata(StringRef Kind, MDNode *Node);
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 162 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator() 228 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator() 237 NewBr->setMetadata(LLVMContext::MD_make_implicit, MakeImplicitMD); in ConstantFoldTerminator() 1596 K->setMetadata(Kind, nullptr); // Remove unknown metadata in combineMetadata() 1601 K->setMetadata(Kind, MDNode::getMostGenericTBAA(JMD, KMD)); in combineMetadata() 1604 K->setMetadata(Kind, MDNode::getMostGenericAliasScope(JMD, KMD)); in combineMetadata() 1608 K->setMetadata(Kind, MDNode::intersect(JMD, KMD)); in combineMetadata() 1611 K->setMetadata(Kind, MDNode::getMostGenericRange(JMD, KMD)); in combineMetadata() 1614 K->setMetadata(Kind, MDNode::getMostGenericFPMath(JMD, KMD)); in combineMetadata() 1618 K->setMetadata(Kind, JMD); in combineMetadata() [all …]
|
D | LoopVersioning.cpp | 233 VersionedInst->setMetadata( in annotateInstWithNoAlias() 242 VersionedInst->setMetadata( in annotateInstWithNoAlias()
|
D | InlineFunction.cpp | 712 NI->setMetadata(LLVMContext::MD_mem_parallel_loop_access, M); in PropagateParallelLoopAccessMetadata() 714 NI->setMetadata(LLVMContext::MD_mem_parallel_loop_access, M); in PropagateParallelLoopAccessMetadata() 805 NI->setMetadata(LLVMContext::MD_alias_scope, NewMD); in CloneAliasScopeMetadata() 809 NI->setMetadata(LLVMContext::MD_alias_scope, M); in CloneAliasScopeMetadata() 820 NI->setMetadata(LLVMContext::MD_noalias, NewMD); in CloneAliasScopeMetadata() 823 NI->setMetadata(LLVMContext::MD_noalias, M); in CloneAliasScopeMetadata() 1019 NI->setMetadata(LLVMContext::MD_noalias, in AddAliasScopeMetadata() 1045 NI->setMetadata( in AddAliasScopeMetadata()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUPromoteAlloca.cpp | 241 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()
|
D | AMDGPUAnnotateUniformValues.cpp | 62 I->setMetadata("amdgpu.uniform", MDNode::get(I->getContext(), {})); in setUniformMetadata()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LowerExpectIntrinsic.cpp | 74 SI->setMetadata(LLVMContext::MD_prof, WeightsNode); in HandleSwitchExpect() 120 BI->setMetadata(LLVMContext::MD_prof, WeightsNode); in HandleIfExpect()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Instruction.h | 170 void setMetadata(unsigned KindID, MDNode *Node); 171 void setMetadata(const char *Kind, MDNode *Node);
|
/external/llvm/unittests/IR/ |
D | AsmWriterTest.cpp | 28 Add->setMetadata( in TEST()
|
D | MetadataTest.cpp | 357 R0->setMetadata("md", N0); in TEST_F() 358 R1->setMetadata("md", N1); in TEST_F() 2184 TEST_F(FunctionAttachmentTest, setMetadata) { in TEST_F() argument 2195 F->setMetadata("dbg", SP1); in TEST_F() 2201 F->setMetadata(LLVMContext::MD_dbg, SP2); in TEST_F() 2207 F->setMetadata("dbg", nullptr); in TEST_F() 2217 F->setMetadata("other1", T1); in TEST_F() 2218 F->setMetadata("other2", T2); in TEST_F() 2224 F->setMetadata("other1", T2); in TEST_F() 2225 F->setMetadata("other2", T1); in TEST_F() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGLoopInfo.cpp | 288 TI->setMetadata(llvm::LLVMContext::MD_loop, L.getLoopID()); in InsertHelper() 295 I->setMetadata("llvm.mem.parallel_loop_access", L.getLoopID()); in InsertHelper()
|
D | CodeGenFunction.cpp | 580 Fn->setMetadata("kernel_arg_addr_space", in GenOpenCLArgMetadata() 582 Fn->setMetadata("kernel_arg_access_qual", in GenOpenCLArgMetadata() 584 Fn->setMetadata("kernel_arg_type", in GenOpenCLArgMetadata() 586 Fn->setMetadata("kernel_arg_base_type", in GenOpenCLArgMetadata() 588 Fn->setMetadata("kernel_arg_type_qual", in GenOpenCLArgMetadata() 591 Fn->setMetadata("kernel_arg_name", in GenOpenCLArgMetadata() 617 Fn->setMetadata("vec_type_hint", llvm::MDNode::get(Context, attrMDArgs)); in EmitOpenCLKernelMetadata() 625 Fn->setMetadata("work_group_size_hint", llvm::MDNode::get(Context, attrMDArgs)); in EmitOpenCLKernelMetadata() 633 Fn->setMetadata("reqd_work_group_size", llvm::MDNode::get(Context, attrMDArgs)); in EmitOpenCLKernelMetadata()
|
D | SanitizerMetadata.cpp | 78 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVVMIntrRange.cpp | 73 C->setMetadata(LLVMContext::MD_range, MDNode::get(Context, LowAndHigh)); in addRangeMetadata()
|