Home
last modified time | relevance | path

Searched refs:NewI (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DNaryReassociate.cpp251 if (Instruction *NewI = tryReassociate(&*I)) { in doOneIteration() local
254 I->replaceAllUsesWith(NewI); in doOneIteration()
258 I = NewI->getIterator(); in doOneIteration()
473 if (auto *NewI = tryReassociateBinaryOp(LHS, RHS, I)) in tryReassociateBinaryOp() local
474 return NewI; in tryReassociateBinaryOp()
475 if (auto *NewI = tryReassociateBinaryOp(RHS, LHS, I)) in tryReassociateBinaryOp() local
476 return NewI; in tryReassociateBinaryOp()
491 if (auto *NewI = in tryReassociateBinaryOp() local
493 return NewI; in tryReassociateBinaryOp()
496 if (auto *NewI = in tryReassociateBinaryOp() local
[all …]
DLoopUnswitch.cpp374 Value *NewI = VMap.lookup(OldInst); in cloneData() local
375 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI); in cloneData()
DRewriteStatepointsForGC.cpp1374 Instruction *NewI = New; in doReplacement() local
1376 assert(OldI != NewI && "Disallowed at construction?!"); in doReplacement()
1381 if (NewI) in doReplacement()
1382 OldI->replaceAllUsesWith(NewI); in doReplacement()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp343 Instruction& NewI = *NewIter; in TEST_F() local
344 EXPECT_NE(&OldI, &NewI); in TEST_F()
346 EXPECT_EQ(OldI.hasMetadata(), NewI.hasMetadata()); in TEST_F()
349 const DebugLoc& NewDL = NewI.getDebugLoc(); in TEST_F()
380 Instruction& NewI = *NewIter; in TEST_F() local
382 DbgDeclareInst* NewIntrin = dyn_cast<DbgDeclareInst>(&NewI); in TEST_F()
399 DbgValueInst* NewIntrin = dyn_cast<DbgValueInst>(&NewI); in TEST_F()
/external/llvm/lib/CodeGen/
DLiveIntervalAnalysis.cpp1093 LiveRange::iterator NewI = LR.advanceTo(I, NewIdx.getRegSlot()); in handleMoveDown() local
1094 if (NewI != E && SlotIndex::isSameInstr(NewI->start, NewIdx)) { in handleMoveDown()
1097 assert(NewI->valno != DefVNI && "Multiple defs of value?"); in handleMoveDown()
1105 assert(NewI != I && "Inconsistent iterators"); in handleMoveDown()
1106 std::copy(std::next(I), NewI, I); in handleMoveDown()
1107 *std::prev(NewI) in handleMoveDown()
1164 LiveRange::iterator NewI = LR.find(NewIdx.getRegSlot()); in handleMoveUp() local
1165 if (SlotIndex::isSameInstr(NewI->start, NewIdx)) { in handleMoveUp()
1166 assert(NewI->valno != DefVNI && "Same value defined more than once?"); in handleMoveUp()
1175 LR.removeValNo(NewI->valno); in handleMoveUp()
[all …]
DWinEHPrepare.cpp687 for (Instruction &NewI : *NewBlock) { in cloneCommonBlocks()
688 auto *NewPN = dyn_cast<PHINode>(&NewI); in cloneCommonBlocks()
736 auto *NewI = cast<Instruction>(VT.second); in cloneCommonBlocks() local
760 SSAUpdate.AddAvailableValue(NewI->getParent(), NewI); in cloneCommonBlocks()
DMachineBasicBlock.cpp572 succ_iterator NewI = E; in replaceSuccessor() local
577 if (NewI != E) in replaceSuccessor()
581 NewI = I; in replaceSuccessor()
589 if (NewI == E) { in replaceSuccessor()
599 auto ProbIter = getProbabilityIterator(NewI); in replaceSuccessor()
DCodeGenPrepare.cpp1166 Value *NewI = Builder.CreateAlignedLoad(Ptr, AlignVal); in ScalarizeMaskedLoad() local
1167 CI->replaceAllUsesWith(NewI); in ScalarizeMaskedLoad()
1195 Value *NewI = Builder.CreateSelect(Mask, VResult, Src0); in ScalarizeMaskedLoad() local
1196 CI->replaceAllUsesWith(NewI); in ScalarizeMaskedLoad()
1253 Value *NewI = Builder.CreateSelect(Mask, Phi, Src0); in ScalarizeMaskedLoad() local
1254 CI->replaceAllUsesWith(NewI); in ScalarizeMaskedLoad()
1446 Value *NewI = Builder.CreateSelect(Mask, VResult, Src0); in ScalarizeMaskedGather() local
1447 CI->replaceAllUsesWith(NewI); in ScalarizeMaskedGather()
1507 Value *NewI = Builder.CreateSelect(Mask, Phi, Src0); in ScalarizeMaskedGather() local
1508 CI->replaceAllUsesWith(NewI); in ScalarizeMaskedGather()
/external/clang/lib/Edit/
DEditedSource.cpp207 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/Transforms/InstCombine/
DInstCombineAddSub.cpp1704 Instruction *NewI = BinaryOperator::CreateFNeg(Op1); in visitFSub() local
1705 NewI->copyFastMathFlags(&I); in visitFSub()
1706 return NewI; in visitFSub()
1717 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, V); in visitFSub() local
1718 NewI->copyFastMathFlags(&I); in visitFSub()
1719 return NewI; in visitFSub()
1724 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, NewTrunc); in visitFSub() local
1725 NewI->copyFastMathFlags(&I); in visitFSub()
1726 return NewI; in visitFSub()
1731 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, NewExt); in visitFSub() local
[all …]
DInstCombineSelect.cpp393 IntrinsicInst *NewI = cast<IntrinsicInst>(II->clone()); in foldSelectCttzCtlz() local
394 Type *Ty = NewI->getArgOperand(1)->getType(); in foldSelectCttzCtlz()
395 NewI->setArgOperand(1, Constant::getNullValue(Ty)); in foldSelectCttzCtlz()
396 Builder.Insert(NewI); in foldSelectCttzCtlz()
397 return Builder.CreateZExtOrTrunc(NewI, ValueOnZero->getType()); in foldSelectCttzCtlz()
DInstCombineLoadStoreAlloca.cpp296 Instruction *NewI = ReplaceInstUsesWith(AI, Cast); in visitAllocaInst() local
299 return NewI; in visitAllocaInst()
/external/clang/test/SemaObjC/
Dattr-deprecated.m141 @interface NewI interface
145 typedef NewI DeprI __attribute__((deprecated("blah"))); // expected-note 4 {{'DeprI' has been expli…
/external/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1232 Instruction *NewI = nullptr; in InlineFunction() local
1234 NewI = CallInst::Create(cast<CallInst>(I), OpDefs, I); in InlineFunction()
1236 NewI = InvokeInst::Create(cast<InvokeInst>(I), OpDefs, I); in InlineFunction()
1240 I->replaceAllUsesWith(NewI); in InlineFunction()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp3184 Value *NewI = nullptr; in truncateToMinimalBitwidths() local
3186 NewI = B.CreateBinOp(BO->getOpcode(), in truncateToMinimalBitwidths()
3189 cast<BinaryOperator>(NewI)->copyIRFlags(I); in truncateToMinimalBitwidths()
3191 NewI = B.CreateICmp(CI->getPredicate(), in truncateToMinimalBitwidths()
3195 NewI = B.CreateSelect(SI->getCondition(), in truncateToMinimalBitwidths()
3202 NewI = ShrinkOperand(CI->getOperand(0)); in truncateToMinimalBitwidths()
3205 NewI = B.CreateSExtOrTrunc(CI->getOperand(0), in truncateToMinimalBitwidths()
3210 NewI = B.CreateZExtOrTrunc(CI->getOperand(0), in truncateToMinimalBitwidths()
3225 NewI = B.CreateShuffleVector(O0, O1, SI->getMask()); in truncateToMinimalBitwidths()
3234 NewI->takeName(cast<Instruction>(I)); in truncateToMinimalBitwidths()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonExpandCondsets.cpp931 MachineInstr *NewI = MB; in predicateAt() local
932 NewI->clearKillInfo(); in predicateAt()
933 addInstrToLiveness(NewI); in predicateAt()
DHexagonSplitDouble.cpp565 MachineInstr *NewI = BuildMI(B, MI, DL, TII->get(Opc)); in createHalfInstr() local
569 NewI->addOperand(Op); in createHalfInstr()
591 NewI->addOperand(CO); in createHalfInstr()
DHexagonFrameLowering.cpp573 MachineInstr *NewI = BuildMI(MBB, RetI, DL, HII.get(NewOpc)); in insertEpilogueInBlock() local
575 NewI->copyImplicitOps(MF, RetI); in insertEpilogueInBlock()
/external/llvm/lib/Analysis/
DScalarEvolution.cpp9484 NewI = BackedgeDumpsNew.begin(); in verify() local
9485 OldI != OldE; ++OldI, ++NewI) { in verify()
9486 assert(OldI->first == NewI->first && "Loop order changed!"); in verify()
9493 if (OldI->second != NewI->second && in verify()
9495 NewI->second.find("undef") == std::string::npos && in verify()
9497 NewI->second != "***COULDNOTCOMPUTE***") { in verify()
9501 << "' to '" << NewI->second << "'!\n"; in verify()
/external/clang/lib/Sema/
DSemaOverload.cpp1076 NewI = New->specific_attr_begin<EnableIfAttr>(), in IsOverload() local
1080 NewI != NewE || OldI != OldE; ++NewI, ++OldI) { in IsOverload()
1081 if (NewI == NewE || OldI == OldE) in IsOverload()
1084 NewI->getCond()->Profile(NewID, Context, true); in IsOverload()