/external/llvm/lib/IR/ |
D | IRBuilder.cpp | 79 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSet() 82 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemSet() 85 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemSet() 106 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemCpy() 110 CI->setMetadata(LLVMContext::MD_tbaa_struct, TBAAStructTag); in CreateMemCpy() 113 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemCpy() 116 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemCpy() 137 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemMove() 140 CI->setMetadata(LLVMContext::MD_alias_scope, ScopeTag); in CreateMemMove() 143 CI->setMetadata(LLVMContext::MD_noalias, NoAliasTag); in CreateMemMove()
|
D | Metadata.cpp | 979 void Instruction::setMetadata(StringRef Kind, MDNode *Node) { in setMetadata() function in Instruction 982 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata() 1036 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Instruction 1095 setMetadata(LLVMContext::MD_tbaa, N.TBAA); in setAAMetadata() 1096 setMetadata(LLVMContext::MD_alias_scope, N.Scope); in setAAMetadata() 1097 setMetadata(LLVMContext::MD_noalias, N.NoAlias); in setAAMetadata()
|
D | AutoUpgrade.cpp | 467 SI->setMetadata(M->getMDKindID("nontemporal"), Node); in UpgradeIntrinsicCall() 859 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts2)); in UpgradeInstWithTBAATag() 864 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts)); in UpgradeInstWithTBAATag()
|
D | Instruction.cpp | 543 New->setMetadata(MD.first, MD.second); in clone()
|
/external/llvm/unittests/Analysis/ |
D | MixedTBAATest.cpp | 54 Store2->setMetadata(LLVMContext::MD_tbaa, MD3); in TEST_F() 62 Store1->setMetadata(LLVMContext::MD_tbaa, MD2); in TEST_F()
|
/external/clang/lib/CodeGen/ |
D | CGLoopInfo.cpp | 102 TI->setMetadata("llvm.loop", L.getLoopID()); in InsertHelper() 109 I->setMetadata("llvm.mem.parallel_loop_access", L.getLoopID()); in InsertHelper()
|
D | SanitizerMetadata.cpp | 75 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
|
D | CGStmt.cpp | 675 CondBr->setMetadata("llvm.loop", LoopID); in EmitCondBrHints() 1637 SwitchInsn->setMetadata(llvm::LLVMContext::MD_prof, in EmitSwitchStmt() 2064 Result->setMetadata("srcloc", getAsmSrcLocInfo(gccAsmStmt->getAsmString(), in EmitAsmStmt() 2069 Result->setMetadata("srcloc", in EmitAsmStmt()
|
D | CGObjCGNU.cpp | 598 imp->setMetadata(msgSendMDKind, node); in LookupIMP() 675 slot->setMetadata(msgSendMDKind, node); in LookupIMP() 811 imp->setMetadata(msgSendMDKind, node); in LookupIMP() 1316 call->setMetadata(msgSendMDKind, node); in GenerateMessageSendSuper() 1429 call->setMetadata(msgSendMDKind, node); in GenerateMessageSend()
|
D | CGExprComplex.cpp | 673 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul() 680 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul()
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 158 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator() 225 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator() 1319 K->setMetadata(Kind, nullptr); // Remove unknown metadata in combineMetadata() 1324 K->setMetadata(Kind, MDNode::getMostGenericTBAA(JMD, KMD)); in combineMetadata() 1327 K->setMetadata(Kind, MDNode::getMostGenericAliasScope(JMD, KMD)); in combineMetadata() 1330 K->setMetadata(Kind, MDNode::intersect(JMD, KMD)); in combineMetadata() 1333 K->setMetadata(Kind, MDNode::getMostGenericRange(JMD, KMD)); in combineMetadata() 1336 K->setMetadata(Kind, MDNode::getMostGenericFPMath(JMD, KMD)); in combineMetadata() 1340 K->setMetadata(Kind, JMD); in combineMetadata() 1344 K->setMetadata(Kind, JMD); in combineMetadata()
|
D | InlineFunction.cpp | 370 NI->setMetadata(LLVMContext::MD_alias_scope, NewMD); in CloneAliasScopeMetadata() 374 NI->setMetadata(LLVMContext::MD_alias_scope, M); in CloneAliasScopeMetadata() 385 NI->setMetadata(LLVMContext::MD_noalias, NewMD); in CloneAliasScopeMetadata() 388 NI->setMetadata(LLVMContext::MD_noalias, M); in CloneAliasScopeMetadata() 587 NI->setMetadata(LLVMContext::MD_noalias, in AddAliasScopeMetadata() 613 NI->setMetadata( in AddAliasScopeMetadata()
|
D | BasicBlockUtils.cpp | 717 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen() 767 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
|
D | SimplifyCFG.cpp | 705 SI->setMetadata(LLVMContext::MD_prof, in SimplifyEqualityComparisonWithOnlyPredecessor() 1001 NewSI->setMetadata(LLVMContext::MD_prof, in FoldValueComparisonIntoPredecessors() 2276 PBI->setMetadata(LLVMContext::MD_prof, in FoldBranchToCommonDest() 2280 PBI->setMetadata(LLVMContext::MD_prof, nullptr); in FoldBranchToCommonDest() 2526 PBI->setMetadata(LLVMContext::MD_prof, in SimplifyCondBranchToCondBranch() 2603 NewBI->setMetadata(LLVMContext::MD_prof, in SimplifyTerminatorOnSelect() 2790 SI->setMetadata(LLVMContext::MD_prof, in TryToSimplifyUncondBranchWithICmpInIt() 3216 NewBI->setMetadata(LLVMContext::MD_prof, in TurnSwitchRangeIntoICmp() 3285 SI->setMetadata(LLVMContext::MD_prof, in EliminateDeadSwitchCases()
|
D | ValueMapper.cpp | 383 I->setMetadata(MI->first, New); in RemapInstruction()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LowerExpectIntrinsic.cpp | 67 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect() 120 BI.setMetadata(LLVMContext::MD_prof, Node); in handleBranchExpect()
|
D | SampleProfile.cpp | 625 TI->setMetadata(llvm::LLVMContext::MD_prof, in propagateWeights()
|
D | Scalarizer.cpp | 336 New->setMetadata(MI->first, MI->second); in transferMetadata()
|
/external/llvm/include/llvm/IR/ |
D | Instruction.h | 203 void setMetadata(unsigned KindID, MDNode *Node); 204 void setMetadata(StringRef Kind, MDNode *Node);
|
/external/llvm/bindings/go/llvm/ |
D | IRBindings.cpp | 85 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata2()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineLoadStoreAlloca.cpp | 349 NewLoad->setMetadata(ID, N); in combineLoadToNewType() 355 NewLoad->setMetadata(ID, N); in combineLoadToNewType() 365 NewLoad->setMetadata(LLVMContext::MD_range, in combineLoadToNewType() 414 NewStore->setMetadata(ID, N); in combineStoreToNewValue()
|
D | InstCombineCalls.cpp | 146 L->setMetadata(LLVMContext::MD_tbaa, CopyMD); in SimplifyMemTransfer() 150 S->setMetadata(LLVMContext::MD_tbaa, CopyMD); in SimplifyMemTransfer() 1161 LI->setMetadata(LLVMContext::MD_nonnull, MD); in visitCallInst()
|
/external/llvm/lib/Target/R600/ |
D | SITypeRewriter.cpp | 92 Load->setMetadata(MD[i].first, MD[i].second); in visitLoadInst()
|
/external/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 272 getLoopLatch()->getTerminator()->setMetadata(LoopMDName, LoopID); in setLoopID() 281 TI->setMetadata(LoopMDName, LoopID); in setLoopID()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | SanitizerCoverage.cpp | 343 I->setMetadata( in SetNoSanitizeMetada()
|