Home
last modified time | relevance | path

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

123

/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()
DMetadata.cpp1063 void Instruction::setMetadata(StringRef Kind, MDNode *Node) { in setMetadata() function in Instruction
1066 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata()
1104 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Instruction
1144 setMetadata(LLVMContext::MD_tbaa, N.TBAA); in setAAMetadata()
1145 setMetadata(LLVMContext::MD_alias_scope, N.Scope); in setAAMetadata()
1146 setMetadata(LLVMContext::MD_noalias, N.NoAlias); in setAAMetadata()
1212 void Function::setMetadata(unsigned KindID, MDNode *MD) { in setMetadata() function in Function
1231 void Function::setMetadata(StringRef Kind, MDNode *MD) { in setMetadata() function in Function
1234 setMetadata(getContext().getMDKindID(Kind), MD); in setMetadata()
1277 setMetadata(LLVMContext::MD_dbg, SP); in setSubprogram()
DAutoUpgrade.cpp409 SI->setMetadata(M->getMDKindID("nontemporal"), Node); in UpgradeIntrinsicCall()
831 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts2)); in UpgradeInstWithTBAATag()
836 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts)); in UpgradeInstWithTBAATag()
/external/llvm/unittests/Analysis/
DMixedTBAATest.cpp55 Store2->setMetadata(LLVMContext::MD_tbaa, MD3); in TEST_F()
63 Store1->setMetadata(LLVMContext::MD_tbaa, MD2); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp161 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
227 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
236 NewBr->setMetadata(LLVMContext::MD_make_implicit, MakeImplicitMD); in ConstantFoldTerminator()
1416 K->setMetadata(Kind, nullptr); // Remove unknown metadata in combineMetadata()
1421 K->setMetadata(Kind, MDNode::getMostGenericTBAA(JMD, KMD)); in combineMetadata()
1424 K->setMetadata(Kind, MDNode::getMostGenericAliasScope(JMD, KMD)); in combineMetadata()
1427 K->setMetadata(Kind, MDNode::intersect(JMD, KMD)); in combineMetadata()
1430 K->setMetadata(Kind, MDNode::getMostGenericRange(JMD, KMD)); in combineMetadata()
1433 K->setMetadata(Kind, MDNode::getMostGenericFPMath(JMD, KMD)); in combineMetadata()
1437 K->setMetadata(Kind, JMD); in combineMetadata()
[all …]
DInlineFunction.cpp474 NI->setMetadata(LLVMContext::MD_alias_scope, NewMD); in CloneAliasScopeMetadata()
478 NI->setMetadata(LLVMContext::MD_alias_scope, M); in CloneAliasScopeMetadata()
489 NI->setMetadata(LLVMContext::MD_noalias, NewMD); in CloneAliasScopeMetadata()
492 NI->setMetadata(LLVMContext::MD_noalias, M); in CloneAliasScopeMetadata()
690 NI->setMetadata(LLVMContext::MD_noalias, in AddAliasScopeMetadata()
716 NI->setMetadata( in AddAliasScopeMetadata()
DBasicBlockUtils.cpp724 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
773 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
DSimplifyCFG.cpp728 SI->setMetadata(LLVMContext::MD_prof, in SimplifyEqualityComparisonWithOnlyPredecessor()
1024 NewSI->setMetadata(LLVMContext::MD_prof, in FoldValueComparisonIntoPredecessors()
2299 PBI->setMetadata(LLVMContext::MD_prof, in FoldBranchToCommonDest()
2303 PBI->setMetadata(LLVMContext::MD_prof, nullptr); in FoldBranchToCommonDest()
2852 PBI->setMetadata(LLVMContext::MD_prof, in SimplifyCondBranchToCondBranch()
2929 NewBI->setMetadata(LLVMContext::MD_prof, in SimplifyTerminatorOnSelect()
3116 SI->setMetadata(LLVMContext::MD_prof, in TryToSimplifyUncondBranchWithICmpInIt()
3634 NewBI->setMetadata(LLVMContext::MD_prof, in TurnSwitchRangeIntoICmp()
3726 SI->setMetadata(LLVMContext::MD_prof, in EliminateDeadSwitchCases()
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp67 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
120 BI.setMetadata(LLVMContext::MD_prof, Node); in handleBranchExpect()
/external/llvm/unittests/IR/
DMetadataTest.cpp355 R0->setMetadata("md", N0); in TEST_F()
356 R1->setMetadata("md", N1); in TEST_F()
2147 TEST_F(FunctionAttachmentTest, setMetadata) { in TEST_F() argument
2158 F->setMetadata("dbg", SP1); in TEST_F()
2164 F->setMetadata(LLVMContext::MD_dbg, SP2); in TEST_F()
2170 F->setMetadata("dbg", nullptr); in TEST_F()
2180 F->setMetadata("other1", T1); in TEST_F()
2181 F->setMetadata("other2", T2); in TEST_F()
2187 F->setMetadata("other1", T2); in TEST_F()
2188 F->setMetadata("other2", T1); in TEST_F()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDGPUAnnotateUniformValues.cpp66 PtrI->setMetadata("amdgpu.uniform", MDNode::get(I.getContext(), {})); in visitLoadInst()
DSITypeRewriter.cpp86 Load->setMetadata(MD[i].first, MD[i].second); in visitLoadInst()
/external/skia/tests/
DPDFMetadataAttributeTest.cpp24 doc->setMetadata(&info[0], info.count(), &now, &now); in DEF_TEST()
/external/clang/lib/CodeGen/
DCGLoopInfo.cpp240 TI->setMetadata("llvm.loop", L.getLoopID()); in InsertHelper()
247 I->setMetadata("llvm.mem.parallel_loop_access", L.getLoopID()); in InsertHelper()
DSanitizerMetadata.cpp78 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
DCGStmt.cpp1546 SwitchInsn->setMetadata(llvm::LLVMContext::MD_unpredictable, in EmitSwitchStmt()
1558 SwitchInsn->setMetadata(llvm::LLVMContext::MD_prof, in EmitSwitchStmt()
2028 Result->setMetadata("srcloc", getAsmSrcLocInfo(gccAsmStmt->getAsmString(), in EmitAsmStmt()
2033 Result->setMetadata("srcloc", in EmitAsmStmt()
/external/skia/site/user/sample/
Dpdf.md37 pdfDocument->setMetadata(info, &now, &now);
/external/llvm/include/llvm/IR/
DInstruction.h203 void setMetadata(unsigned KindID, MDNode *Node);
204 void setMetadata(StringRef Kind, MDNode *Node);
DFunction.h613 void setMetadata(unsigned KindID, MDNode *MD);
614 void setMetadata(StringRef Kind, MDNode *MD);
/external/skia/include/core/
DSkDocument.h151 virtual void setMetadata(const SkDocument::Attribute[], in setMetadata() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp351 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
357 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
367 NewLoad->setMetadata(LLVMContext::MD_range, in combineLoadToNewType()
376 NewLoad->setMetadata(ID, N); in combineLoadToNewType()
422 NewStore->setMetadata(ID, N); in combineStoreToNewValue()
/external/llvm/bindings/go/llvm/
DIRBindings.cpp85 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata2()
/external/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp154 BI->setMetadata(LLVMContext::MD_prof, VeryLikelyWeights); in buildCFICheck()
/external/llvm/lib/Analysis/
DLoopInfo.cpp299 getLoopLatch()->getTerminator()->setMetadata(LoopMDName, LoopID); in setLoopID()
308 TI->setMetadata(LoopMDName, LoopID); in setLoopID()
/external/skia/src/doc/
DSkDocument_PDF.cpp373 void setMetadata(const SkDocument::Attribute info[], in setMetadata() function in __anon51a5beb70111::SkDocument_PDF

123