Searched refs:NewI (Results 1 - 13 of 13) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DNaryReassociate.cpp185 if (Instruction *NewI = tryReassociateAdd(I)) {
188 I->replaceAllUsesWith(NewI);
190 I = NewI;
203 if (auto *NewI = tryReassociateAdd(LHS, RHS, I))
204 return NewI;
205 if (auto *NewI = tryReassociateAdd(RHS, LHS, I))
206 return NewI;
219 if (auto *NewI = tryReassociatedAdd(SE->getAddExpr(AExpr, RHSExpr), B, I))
220 return NewI;
221 if (auto *NewI
245 Instruction *NewI = BinaryOperator::CreateAdd(LHS, RHS, "", I); local
[all...]
H A DLoopUnswitch.cpp326 Value *NewI = VMap.lookup(OldInst); local
327 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI);
/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp341 Instruction& NewI = *NewIter; local
342 EXPECT_NE(&OldI, &NewI);
344 EXPECT_EQ(OldI.hasMetadata(), NewI.hasMetadata());
347 const DebugLoc& NewDL = NewI.getDebugLoc();
378 Instruction& NewI = *NewIter; local
380 DbgDeclareInst* NewIntrin = dyn_cast<DbgDeclareInst>(&NewI);
399 DbgValueInst* NewIntrin = dyn_cast<DbgValueInst>(&NewI);
/external/llvm/lib/CodeGen/
H A DLiveIntervalAnalysis.cpp1063 LiveRange::iterator NewI = LR.advanceTo(I, NewIdx.getRegSlot()); local
1064 if (NewI != E && SlotIndex::isSameInstr(NewI->start, NewIdx)) {
1067 assert(NewI->valno != DefVNI && "Multiple defs of value?");
1073 // values. The new range should be placed immediately before NewI, move any
1075 assert(NewI != I && "Inconsistent iterators");
1076 std::copy(std::next(I), NewI, I); local
1077 *std::prev(NewI)
1134 LiveRange::iterator NewI = LR.find(NewIdx.getRegSlot()); local
1135 if (SlotIndex::isSameInstr(NewI
[all...]
H A DMachineBasicBlock.cpp527 succ_iterator NewI = E; local
532 if (NewI != E)
536 NewI = I;
545 if (NewI == E) {
555 *getWeightIterator(NewI) += *OldWI;
H A DCodeGenPrepare.cpp1162 Value *NewI = Builder.CreateSelect(Mask, Phi, Src0); local
1163 CI->replaceAllUsesWith(NewI);
/external/clang/lib/Edit/
H A DEditedSource.cpp165 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); local
166 NewI->second.RemoveLen = Len;
175 NewI = FileEdits.insert(I, std::make_pair(BeginOffs, FileEdit())); local
178 TopFA = &NewI->second;
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1705 Instruction *NewI = BinaryOperator::CreateFNeg(Op1); local
1706 NewI->copyFastMathFlags(&I);
1707 return NewI;
1718 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, V); local
1719 NewI->copyFastMathFlags(&I);
1720 return NewI;
1725 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, NewTrunc); local
1726 NewI->copyFastMathFlags(&I);
1727 return NewI;
1732 Instruction *NewI local
[all...]
H A DInstCombineSelect.cpp486 IntrinsicInst *NewI = cast<IntrinsicInst>(II->clone()); local
487 Type *Ty = NewI->getArgOperand(1)->getType();
488 NewI->setArgOperand(1, Constant::getNullValue(Ty));
489 Builder.Insert(NewI);
490 return Builder.CreateZExtOrTrunc(NewI, ValueOnZero->getType());
H A DInstCombineLoadStoreAlloca.cpp295 Instruction *NewI = ReplaceInstUsesWith(AI, Cast); local
298 return NewI;
/external/llvm/lib/Target/Hexagon/
H A DHexagonExpandCondsets.cpp922 MachineInstr *NewI = MB; local
923 NewI->clearKillInfo();
924 addInstrToLiveness(NewI);
/external/llvm/lib/Analysis/
H A DScalarEvolution.cpp8478 NewI = BackedgeDumpsNew.begin();
8479 OldI != OldE; ++OldI, ++NewI) {
8480 assert(OldI->first == NewI->first && "Loop order changed!");
8487 if (OldI->second != NewI->second &&
8489 NewI->second.find("undef") == std::string::npos &&
8491 NewI->second != "***COULDNOTCOMPUTE***") {
8495 << "' to '" << NewI->second << "'!\n";
/external/clang/lib/Sema/
H A DSemaOverload.cpp1056 NewI = New->specific_attr_begin<EnableIfAttr>(),
1060 NewI != NewE || OldI != OldE; ++NewI, ++OldI) {
1061 if (NewI == NewE || OldI == OldE)
1064 NewI->getCond()->Profile(NewID, Context, true);

Completed in 815 milliseconds