Home
last modified time | relevance | path

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

12

/freebsd-10-stable/contrib/llvm/lib/IR/
DIRBuilder.cpp76 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemSet()
96 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemCpy()
100 CI->setMetadata(LLVMContext::MD_tbaa_struct, TBAAStructTag); in CreateMemCpy()
120 CI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in CreateMemMove()
DAutoUpgrade.cpp225 SI->setMetadata(M->getMDKindID("nontemporal"), Node); in UpgradeIntrinsicCall()
443 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts2)); in UpgradeInstWithTBAATag()
448 I->setMetadata(LLVMContext::MD_tbaa, MDNode::get(I->getContext(), Elts)); in UpgradeInstWithTBAATag()
DMetadata.cpp577 void Instruction::setMetadata(StringRef Kind, MDNode *Node) { in setMetadata() function in Instruction
579 setMetadata(getContext().getMDKindID(Kind), Node); in setMetadata()
589 void Instruction::setMetadata(unsigned KindID, MDNode *Node) { in setMetadata() function in Instruction
DInstruction.cpp552 New->setMetadata(TheMDs[i].first, TheMDs[i].second); in clone()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
DLowerExpectIntrinsic.cpp84 SI->setMetadata(LLVMContext::MD_prof, in HandleSwitchExpect()
128 BI->setMetadata(LLVMContext::MD_prof, Node); in HandleIfExpect()
DValueMapper.cpp218 I->setMetadata(MI->first, New); in RemapInstruction()
DSimplifyCFG.cpp645 SI->setMetadata(LLVMContext::MD_prof, in SimplifyEqualityComparisonWithOnlyPredecessor()
950 NewSI->setMetadata(LLVMContext::MD_prof, in FoldValueComparisonIntoPredecessors()
2217 PBI->setMetadata(LLVMContext::MD_prof, in FoldBranchToCommonDest()
2221 PBI->setMetadata(LLVMContext::MD_prof, NULL); in FoldBranchToCommonDest()
2452 PBI->setMetadata(LLVMContext::MD_prof, in SimplifyCondBranchToCondBranch()
2529 NewBI->setMetadata(LLVMContext::MD_prof, in SimplifyTerminatorOnSelect()
2715 SI->setMetadata(LLVMContext::MD_prof, in TryToSimplifyUncondBranchWithICmpInIt()
3167 NewBI->setMetadata(LLVMContext::MD_prof, in TurnSwitchRangeIntoICmp()
3227 SI->setMetadata(LLVMContext::MD_prof, in EliminateDeadSwitchCases()
DLocal.cpp146 SI->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
211 NewBr->setMetadata(LLVMContext::MD_prof, in ConstantFoldTerminator()
DBasicBlockUtils.cpp667 HeadNewTerm->setMetadata(LLVMContext::MD_prof, BranchWeights); in SplitBlockAndInsertIfThen()
/freebsd-10-stable/contrib/llvm/include/llvm/IR/
DInstruction.h171 void setMetadata(unsigned KindID, MDNode *Node);
172 void setMetadata(StringRef Kind, MDNode *Node);
DIRBuilder.h496 I->setMetadata(LLVMContext::MD_prof, Weights); in addBranchWeights()
610 I->setMetadata(LLVMContext::MD_fpmath, FPMathTag); in AddFPMathAttributes()
/freebsd-10-stable/contrib/llvm/lib/Target/R600/
DSITypeRewriter.cpp93 Load->setMetadata(MD[i].first, MD[i].second); in visitLoadInst()
/freebsd-10-stable/contrib/llvm/lib/Analysis/
DLoopInfo.cpp276 getLoopLatch()->getTerminator()->setMetadata(LoopMDName, LoopID); in setLoopID()
285 TI->setMetadata(LoopMDName, LoopID); in setLoopID()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Instrumentation/
DDebugIR.cpp122 I.setMetadata(LLVMContext::MD_dbg, 0); in visitInstruction()
451 I.setMetadata(LLVMContext::MD_dbg, MD); in addDebugLocation()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DLICM.cpp703 if (TBAATag) NewSI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in doExtraRewritesBeforeFinalDeletion()
865 if (TBAATag) PreheaderLoad->setMetadata(LLVMContext::MD_tbaa, TBAATag); in PromoteAliasSet()
DSampleProfile.cpp451 TI->setMetadata(llvm::LLVMContext::MD_prof, in emitAnnotations()
DGVN.cpp1670 NewLoad->setMetadata(LLVMContext::MD_tbaa, Tag); in PerformLoadPRE()
1781 ReplInst->setMetadata(Kind, NULL); // Remove unknown metadata in patchReplacementInstruction()
1786 ReplInst->setMetadata(Kind, MDNode::getMostGenericTBAA(IMD, ReplMD)); in patchReplacementInstruction()
1789 ReplInst->setMetadata(Kind, MDNode::getMostGenericRange(IMD, ReplMD)); in patchReplacementInstruction()
1795 ReplInst->setMetadata(Kind, MDNode::getMostGenericFPMath(IMD, ReplMD)); in patchReplacementInstruction()
DScalarReplAggregates.cpp1341 TrueLoad->setMetadata(LLVMContext::MD_tbaa, Tag); in tryToMakeAllocaBePromotable()
1342 FalseLoad->setMetadata(LLVMContext::MD_tbaa, Tag); in tryToMakeAllocaBePromotable()
1393 if (TBAATag) Load->setMetadata(LLVMContext::MD_tbaa, TBAATag); in tryToMakeAllocaBePromotable()
DSROA.cpp1103 Load->setMetadata(LLVMContext::MD_tbaa, TBAATag); in speculatePHINodeLoads()
1172 TL->setMetadata(LLVMContext::MD_tbaa, Tag); in speculateSelectInstLoads()
1173 FL->setMetadata(LLVMContext::MD_tbaa, Tag); in speculateSelectInstLoads()
/freebsd-10-stable/contrib/llvm/lib/Transforms/ObjCARC/
DObjCARCOpts.cpp847 Inst->setMetadata(NodeId, MDNode::get(Inst->getContext(),Hash)); in AppendMDNodeToSourcePtr()
896 Inst->setMetadata(NodeId, Node); in AppendMDNodeToInstForPtr()
1398 NewCall->setMetadata(ImpreciseReleaseMDKind, MDNode::get(C, None)); in OptimizeIndividualCalls()
2331 Call->setMetadata(ImpreciseReleaseMDKind, M); in MoveCalls()
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/
DCGObjCGNU.cpp608 imp->setMetadata(msgSendMDKind, node); in LookupIMP()
688 slot->setMetadata(msgSendMDKind, node); in LookupIMP()
829 imp->setMetadata(msgSendMDKind, node); in LookupIMP()
1330 call->setMetadata(msgSendMDKind, node); in GenerateMessageSendSuper()
1442 call->setMetadata(msgSendMDKind, node); in GenerateMessageSend()
DCodeGenModule.cpp329 Inst->setMetadata(llvm::LLVMContext::MD_tbaa, in DecorateInstruction()
332 Inst->setMetadata(llvm::LLVMContext::MD_tbaa, TBAAInfo); in DecorateInstruction()
3140 Alloca->setMetadata(DeclPtrKind, llvm::MDNode::get(Context, DAddr)); in EmitDeclMetadata()
/freebsd-10-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp143 L->setMetadata(LLVMContext::MD_tbaa, CopyMD); in SimplifyMemTransfer()
147 S->setMetadata(LLVMContext::MD_tbaa, CopyMD); in SimplifyMemTransfer()
DInstCombineLoadStoreAlloca.cpp813 NewSI->setMetadata(LLVMContext::MD_tbaa, TBAATag); in SimplifyStoreAtEndOfBlock()
/freebsd-10-stable/contrib/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp706 newLoad->setMetadata(LLVMContext::MD_tbaa, in DoPromotion()

12