/external/llvm/lib/Transforms/Scalar/ |
D | NaryReassociate.cpp | 251 if (Instruction *NewI = tryReassociate(&*I)) { in doOneIteration() local 254 I->replaceAllUsesWith(NewI); in doOneIteration() 258 I = NewI->getIterator(); in doOneIteration() 442 if (auto *NewI = tryReassociateBinaryOp(LHS, RHS, I)) in tryReassociateBinaryOp() local 443 return NewI; in tryReassociateBinaryOp() 444 if (auto *NewI = tryReassociateBinaryOp(RHS, LHS, I)) in tryReassociateBinaryOp() local 445 return NewI; in tryReassociateBinaryOp() 460 if (auto *NewI = in tryReassociateBinaryOp() local 462 return NewI; in tryReassociateBinaryOp() 465 if (auto *NewI = in tryReassociateBinaryOp() local [all …]
|
D | RewriteStatepointsForGC.cpp | 1251 Instruction *NewI = New; in doReplacement() local 1253 assert(OldI != NewI && "Disallowed at construction?!"); in doReplacement() 1260 if (NewI) in doReplacement() 1261 OldI->replaceAllUsesWith(NewI); in doReplacement()
|
D | LoopUnswitch.cpp | 370 Value *NewI = VMap.lookup(OldInst); in cloneData() local 371 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); in cloneData()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVLowerBool.cpp | 64 void replace(Instruction *I, Instruction *NewI) { in replace() argument 65 NewI->takeName(I); in replace() 66 I->replaceAllUsesWith(NewI); in replace()
|
D | SPIRVUtil.cpp | 681 auto NewI = RetMutate(NewCI); in mutateCallInst() local 682 NewI->takeName(CI); in mutateCallInst() 683 DEBUG(dbgs() << " => " << *NewI << '\n'); in mutateCallInst() 684 CI->replaceAllUsesWith(NewI); in mutateCallInst() 687 return NewI; in mutateCallInst()
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 323 Instruction& NewI = *NewIter; in TEST_F() local 324 EXPECT_NE(&OldI, &NewI); in TEST_F() 326 EXPECT_EQ(OldI.hasMetadata(), NewI.hasMetadata()); in TEST_F() 329 const DebugLoc& NewDL = NewI.getDebugLoc(); in TEST_F() 360 Instruction& NewI = *NewIter; in TEST_F() local 362 DbgDeclareInst* NewIntrin = dyn_cast<DbgDeclareInst>(&NewI); in TEST_F() 379 DbgValueInst* NewIntrin = dyn_cast<DbgValueInst>(&NewI); in TEST_F()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXInferAddressSpaces.cpp | 392 if (Instruction *NewI = dyn_cast<Instruction>(NewV)) { in cloneValueWithNewAddressSpace() local 393 if (NewI->getParent() == nullptr) { in cloneValueWithNewAddressSpace() 394 NewI->insertBefore(I); in cloneValueWithNewAddressSpace() 395 NewI->takeName(I); in cloneValueWithNewAddressSpace()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1684 Instruction *NewI = BinaryOperator::CreateFNeg(Op1); in visitFSub() local 1685 NewI->copyFastMathFlags(&I); in visitFSub() 1686 return NewI; in visitFSub() 1697 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, V); in visitFSub() local 1698 NewI->copyFastMathFlags(&I); in visitFSub() 1699 return NewI; in visitFSub() 1704 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, NewTrunc); in visitFSub() local 1705 NewI->copyFastMathFlags(&I); in visitFSub() 1706 return NewI; in visitFSub() 1711 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, NewExt); in visitFSub() local [all …]
|
D | InstCombineSelect.cpp | 404 IntrinsicInst *NewI = cast<IntrinsicInst>(II->clone()); in foldSelectCttzCtlz() local 405 Type *Ty = NewI->getArgOperand(1)->getType(); in foldSelectCttzCtlz() 406 NewI->setArgOperand(1, Constant::getNullValue(Ty)); in foldSelectCttzCtlz() 407 Builder.Insert(NewI); in foldSelectCttzCtlz() 408 return Builder.CreateZExtOrTrunc(NewI, ValueOnZero->getType()); in foldSelectCttzCtlz()
|
D | InstCombineLoadStoreAlloca.cpp | 298 Instruction *NewI = replaceInstUsesWith(AI, Cast); in visitAllocaInst() local 301 return NewI; in visitAllocaInst()
|
/external/clang/lib/Edit/ |
D | EditedSource.cpp | 207 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove() local 208 NewI->second.RemoveLen = Len; in commitRemove() 217 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); in commitRemove() local 220 TopFA = &NewI->second; in commitRemove()
|
/external/llvm/lib/CodeGen/ |
D | WinEHPrepare.cpp | 847 for (Instruction &NewI : *NewBlock) { in cloneCommonBlocks() 848 auto *NewPN = dyn_cast<PHINode>(&NewI); in cloneCommonBlocks() 896 auto *NewI = cast<Instruction>(VT.second); in cloneCommonBlocks() local 920 SSAUpdate.AddAvailableValue(NewI->getParent(), NewI); in cloneCommonBlocks()
|
D | MachineBasicBlock.cpp | 575 succ_iterator NewI = E; in replaceSuccessor() local 580 if (NewI != E) in replaceSuccessor() 584 NewI = I; in replaceSuccessor() 592 if (NewI == E) { in replaceSuccessor() 602 auto ProbIter = getProbabilityIterator(NewI); in replaceSuccessor()
|
D | CodeGenPrepare.cpp | 1204 Value *NewI = Builder.CreateAlignedLoad(Ptr, AlignVal); in scalarizeMaskedLoad() local 1205 CI->replaceAllUsesWith(NewI); in scalarizeMaskedLoad() 1233 Value *NewI = Builder.CreateSelect(Mask, VResult, Src0); in scalarizeMaskedLoad() local 1234 CI->replaceAllUsesWith(NewI); in scalarizeMaskedLoad() 1291 Value *NewI = Builder.CreateSelect(Mask, Phi, Src0); in scalarizeMaskedLoad() local 1292 CI->replaceAllUsesWith(NewI); in scalarizeMaskedLoad() 1484 Value *NewI = Builder.CreateSelect(Mask, VResult, Src0); in scalarizeMaskedGather() local 1485 CI->replaceAllUsesWith(NewI); in scalarizeMaskedGather() 1545 Value *NewI = Builder.CreateSelect(Mask, Phi, Src0); in scalarizeMaskedGather() local 1546 CI->replaceAllUsesWith(NewI); in scalarizeMaskedGather()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonExpandCondsets.cpp | 903 MachineInstr *NewI = MB; in predicateAt() local 904 NewI->clearKillInfo(); in predicateAt() 905 LIS->InsertMachineInstrInMaps(*NewI); in predicateAt() 907 for (auto &Op : NewI->operands()) in predicateAt()
|
D | HexagonSplitDouble.cpp | 552 MachineInstr *NewI = BuildMI(B, MI, DL, TII->get(Opc)); in createHalfInstr() local 556 NewI->addOperand(Op); in createHalfInstr() 578 NewI->addOperand(CO); in createHalfInstr()
|
D | HexagonFrameLowering.cpp | 646 MachineInstr *NewI = BuildMI(MBB, RetI, DL, HII.get(NewOpc)); in insertEpilogueInBlock() local 648 NewI->copyImplicitOps(MF, *RetI); in insertEpilogueInBlock()
|
/external/clang/test/SemaObjC/ |
D | attr-deprecated.m | 141 @interface NewI interface 145 typedef NewI DeprI __attribute__((deprecated("blah"))); // expected-note 4 {{'DeprI' has been expli…
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 3382 Value *NewI = nullptr; in truncateToMinimalBitwidths() local 3384 NewI = B.CreateBinOp(BO->getOpcode(), ShrinkOperand(BO->getOperand(0)), in truncateToMinimalBitwidths() 3386 cast<BinaryOperator>(NewI)->copyIRFlags(I); in truncateToMinimalBitwidths() 3388 NewI = in truncateToMinimalBitwidths() 3392 NewI = B.CreateSelect(SI->getCondition(), in truncateToMinimalBitwidths() 3400 NewI = ShrinkOperand(CI->getOperand(0)); in truncateToMinimalBitwidths() 3403 NewI = B.CreateSExtOrTrunc( in truncateToMinimalBitwidths() 3408 NewI = B.CreateZExtOrTrunc( in truncateToMinimalBitwidths() 3421 NewI = B.CreateShuffleVector(O0, O1, SI->getMask()); in truncateToMinimalBitwidths() 3430 NewI = B.CreateInsertElement(O0, O1, IE->getOperand(2)); in truncateToMinimalBitwidths() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1574 Instruction *NewI = nullptr; in InlineFunction() local 1576 NewI = CallInst::Create(cast<CallInst>(I), OpDefs, I); in InlineFunction() 1578 NewI = InvokeInst::Create(cast<InvokeInst>(I), OpDefs, I); in InlineFunction() 1582 I->replaceAllUsesWith(NewI); in InlineFunction()
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 9982 NewI = BackedgeDumpsNew.begin(); in verify() local 9983 OldI != OldE; ++OldI, ++NewI) { in verify() 9984 assert(OldI->first == NewI->first && "Loop order changed!"); in verify() 9991 if (OldI->second != NewI->second && in verify() 9993 NewI->second.find("undef") == std::string::npos && in verify() 9995 NewI->second != "***COULDNOTCOMPUTE***") { in verify() 9999 << "' to '" << NewI->second << "'!\n"; in verify()
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 1114 NewI = New->specific_attr_begin<EnableIfAttr>(), in IsOverload() local 1118 NewI != NewE || OldI != OldE; ++NewI, ++OldI) { in IsOverload() 1119 if (NewI == NewE || OldI == OldE) in IsOverload() 1122 NewI->getCond()->Profile(NewID, Context, true); in IsOverload()
|