Lines Matching defs:NI
706 Instruction *NI = dyn_cast<Instruction>(VMI->second);
707 if (!NI)
710 if (MDNode *PM = NI->getMetadata(LLVMContext::MD_mem_parallel_loop_access)) {
712 NI->setMetadata(LLVMContext::MD_mem_parallel_loop_access, M);
713 } else if (NI->mayReadOrWriteMemory()) {
714 NI->setMetadata(LLVMContext::MD_mem_parallel_loop_access, M);
793 Instruction *NI = dyn_cast<Instruction>(VMI->second);
794 if (!NI)
797 if (MDNode *M = NI->getMetadata(LLVMContext::MD_alias_scope)) {
805 NI->setMetadata(LLVMContext::MD_alias_scope, NewMD);
806 } else if (NI->mayReadOrWriteMemory()) {
809 NI->setMetadata(LLVMContext::MD_alias_scope, M);
812 if (MDNode *M = NI->getMetadata(LLVMContext::MD_noalias)) {
820 NI->setMetadata(LLVMContext::MD_noalias, NewMD);
821 } else if (NI->mayReadOrWriteMemory()) {
823 NI->setMetadata(LLVMContext::MD_noalias, M);
891 Instruction *NI = dyn_cast<Instruction>(VMI->second);
892 if (!NI)
1019 NI->setMetadata(LLVMContext::MD_noalias,
1021 NI->getMetadata(LLVMContext::MD_noalias),
1045 NI->setMetadata(
1047 MDNode::concatenate(NI->getMetadata(LLVMContext::MD_alias_scope),