Home
last modified time | relevance | path

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

12

/external/llvm/lib/IR/
DIRBuilder.cpp79 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()
DMetadata.cpp979 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()
DAutoUpgrade.cpp467 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()
DInstruction.cpp543 New->setMetadata(MD.first, MD.second); in clone()
/external/llvm/unittests/Analysis/
DMixedTBAATest.cpp54 Store2->setMetadata(LLVMContext::MD_tbaa, MD3); in TEST_F()
62 Store1->setMetadata(LLVMContext::MD_tbaa, MD2); in TEST_F()
/external/clang/lib/CodeGen/
DCGLoopInfo.cpp102 TI->setMetadata("llvm.loop", L.getLoopID()); in InsertHelper()
109 I->setMetadata("llvm.mem.parallel_loop_access", L.getLoopID()); in InsertHelper()
DSanitizerMetadata.cpp75 I->setMetadata(CGM.getModule().getMDKindID("nosanitize"), in disableSanitizerForInstruction()
DCGStmt.cpp675 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()
DCGObjCGNU.cpp598 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()
DCGExprComplex.cpp673 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul()
680 Branch->setMetadata(llvm::LLVMContext::MD_prof, BrWeight); in EmitBinMul()
/external/llvm/lib/Transforms/Utils/
DLocal.cpp158 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()
DInlineFunction.cpp370 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()
DBasicBlockUtils.cpp717 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
767 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThenElse()
DSimplifyCFG.cpp705 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()
DValueMapper.cpp383 I->setMetadata(MI->first, New); in RemapInstruction()
/external/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp67 SI.setMetadata(LLVMContext::MD_prof, in handleSwitchExpect()
120 BI.setMetadata(LLVMContext::MD_prof, Node); in handleBranchExpect()
DSampleProfile.cpp625 TI->setMetadata(llvm::LLVMContext::MD_prof, in propagateWeights()
DScalarizer.cpp336 New->setMetadata(MI->first, MI->second); in transferMetadata()
/external/llvm/include/llvm/IR/
DInstruction.h203 void setMetadata(unsigned KindID, MDNode *Node);
204 void setMetadata(StringRef Kind, MDNode *Node);
/external/llvm/bindings/go/llvm/
DIRBindings.cpp85 unwrap<Instruction>(Inst)->setMetadata(KindID, N); in LLVMSetMetadata2()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp349 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()
DInstCombineCalls.cpp146 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/
DSITypeRewriter.cpp92 Load->setMetadata(MD[i].first, MD[i].second); in visitLoadInst()
/external/llvm/lib/Analysis/
DLoopInfo.cpp272 getLoopLatch()->getTerminator()->setMetadata(LoopMDName, LoopID); in setLoopID()
281 TI->setMetadata(LoopMDName, LoopID); in setLoopID()
/external/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp343 I->setMetadata( in SetNoSanitizeMetada()

12