HomeSort by: relevance | last modified time | path
    Searched refs:NewC (Results 1 - 25 of 26) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Bitcode/Reader/
ValueList.cpp 201 Constant *NewC;
203 NewC = ConstantArray::get(UserCA->getType(), NewOps);
205 NewC = ConstantStruct::get(UserCS->getType(), NewOps);
207 NewC = ConstantVector::get(NewOps);
210 NewC = cast<ConstantExpr>(UserC)->getWithOperands(NewOps);
213 UserC->replaceAllUsesWith(NewC);
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
LazyCallGraph.cpp 1631 SCC *NewC = nullptr;
1638 NewC = OriginalC;
1639 NewC->Nodes.push_back(&NewN);
1644 if (!NewC) {
1652 NewC = createSCC(*NewRC, SmallVector<Node *, 1>({&NewN}));
1663 NewRC->SCCs.insert(NewRC->SCCs.begin() + InsertIndex, NewC);
1672 if (!NewC) {
1677 NewC = createSCC(*NewRC, SmallVector<Node *, 1>({&NewN}));
1678 NewRC->SCCIndices[NewC] = 0;
1679 NewRC->SCCs.push_back(NewC);
    [all...]
CGSCCPassManager.cpp 869 for (SCC &NewC : llvm::reverse(llvm::drop_begin(NewSCCRange))) {
870 assert(C != &NewC && "No need to re-visit the current SCC!");
871 assert(OldC != &NewC && "Already handled the original SCC!");
872 UR.CWorklist.insert(&NewC);
873 LLVM_DEBUG(dbgs() << "Enqueuing a newly formed SCC:" << NewC << "\n");
877 updateNewSCCFunctionAnalyses(NewC, G, AM, *FAM);
881 AM.invalidate(NewC, PA);
ConstantFolding.cpp 1122 Constant *NewC = OldC;
1128 NewC = ConstantFoldConstantImpl(OldC, DL, TLI, FoldedOps);
1129 FoldedOps.insert({OldC, NewC});
1131 NewC = It->second;
1134 Ops.push_back(NewC);
InstructionSimplify.cpp 4193 SmallVector<Constant *, 16> NewC;
4204 NewC.push_back(TEltC);
4207 NewC.push_back(FEltC);
4210 NewC.push_back(TEltC);
4214 if (NewC.size() == NumElts)
4215 return ConstantVector::get(NewC);
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
InstCombineVectorOps.cpp 1820 Constant *NewC = Op0IsBinop ? ConstantExpr::getShuffleVector(C, IdC, Mask) :
1827 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpcode, NewC, true);
1832 Instruction *NewBO = BinaryOperator::Create(BOpcode, X, NewC);
1946 Constant *NewC = ConstantExpr::getShuffleVector(C0, C1, Mask);
1955 NewC = InstCombiner::getSafeVectorConstantForBinop(BOpc, NewC,
1990 Instruction *NewBO = ConstantsAreOp1 ? BinaryOperator::Create(BOpc, V, NewC) :
1991 BinaryOperator::Create(BOpc, NewC, V);
InstCombineAddSub.cpp 839 Constant *NewC =
841 return new ZExtInst(Builder.CreateNUWAdd(X, NewC), Ty);
849 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C);
851 return BinaryOperator::CreateAdd(WideX, NewC);
856 Constant *NewC = ConstantExpr::getAdd(WideC, Op1C);
858 return BinaryOperator::CreateAdd(WideX, NewC);
InstCombineMulDivRem.cpp 1259 Constant *C2, *NewC = nullptr;
1262 NewC = ConstantExpr::getFDiv(C, C2);
1265 NewC = ConstantExpr::getFMul(C, C2);
1271 if (!NewC || !NewC->isNormalFP())
1274 return BinaryOperator::CreateFDivFMF(NewC, X, &I);
InstCombineCompares.cpp 1912 Constant *NewC = ConstantInt::get(Or->getType(), C ^ (*MaskC));
1913 return new ICmpInst(Pred, And, NewC);
1971 Constant *NewC = ConstantInt::get(Mul->getType(), C.sdiv(*MulC));
1972 return new ICmpInst(Pred, Mul->getOperand(0), NewC);
1976 Constant *NewC = ConstantInt::get(Mul->getType(), C.udiv(*MulC));
1977 return new ICmpInst(Pred, Mul->getOperand(0), NewC);
2178 Constant *NewC =
2180 return new ICmpInst(Pred, Builder.CreateTrunc(X, TruncTy), NewC);
2626 APInt NewC =
2633 return new ICmpInst(Pred, X, ConstantInt::get(Ty, NewC));
    [all...]
InstructionCombining.cpp 1641 // Find constant NewC that has property:
1642 // shuffle(NewC, ShMask) = C
1645 // ShMask = <1,1,2,2> and C = <5,5,6,6> --> NewC = <undef,5,6,undef>
1692 Constant *NewC = ConstantVector::get(NewVecC);
1697 NewC = getSafeVectorConstantForBinop(Opcode, NewC, ConstOp1);
1699 // Op(shuffle(V1, Mask), C) -> shuffle(Op(V1, NewC), Mask)
1700 // Op(C, shuffle(V1, Mask)) -> shuffle(Op(NewC, V1), Mask)
1701 Value *NewLHS = ConstOp1 ? V1 : NewC;
1702 Value *NewRHS = ConstOp1 ? NewC : V1
    [all...]
InstCombineShifts.cpp 1024 auto *NewC = ConstantExpr::getShl(ConstantInt::get(Ty, 1), C1);
1025 return SelectInst::Create(X, NewC, ConstantInt::getNullValue(Ty));
InstCombineAndOrXor.cpp 1775 Value *NewC = ConstantExpr::getTrunc(C, X->getType());
1776 Value *NewBO = Opc == Instruction::Sub ? Builder.CreateBinOp(Opc, NewC, X)
1777 : Builder.CreateBinOp(Opc, X, NewC);
1829 Constant *NewC = ConstantInt::get(Ty, *C & *XorC);
1832 return BinaryOperator::CreateXor(And, NewC);
InstCombineCalls.cpp 1162 APInt NewC =
1167 IID, X, ConstantInt::get(Arg1->getType(), NewC)));
  /src/external/apache2/llvm/dist/llvm/lib/IR/
Constants.cpp 781 SmallVector<Constant *, 32> NewC(NumElts);
786 NewC[i] = EltC && match(EltC, m_Undef()) ? Replacement : EltC;
788 return ConstantVector::get(NewC);
811 SmallVector<Constant *, 32> NewC(NumElts);
813 NewC[I] = C->getAggregateElement(I);
815 assert(NewC[I] && OtherEltC && "Unknown vector element");
816 if (!match(NewC[I], m_Undef()) && match(OtherEltC, m_Undef())) {
817 NewC[I] = UndefValue::get(EltTy);
822 return ConstantVector::get(NewC);
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/
SystemZISelLowering.cpp 2443 Comparison NewC(C);
2447 NewC.Op0 = C.Op0.getOperand(0);
2448 NewC.Op1 = C.Op0.getOperand(1);
2449 Mask = dyn_cast<ConstantSDNode>(NewC.Op1);
2457 if (NewC.Op0.getValueType() != MVT::i64 ||
2458 NewC.CCMask == SystemZ::CCMASK_CMP_EQ ||
2459 NewC.CCMask == SystemZ::CCMASK_CMP_NE ||
2460 NewC.ICmpType == SystemZICMP::SignedOnly)
2463 if (NewC.CCMask == SystemZ::CCMASK_CMP_LE ||
2464 NewC.CCMask == SystemZ::CCMASK_CMP_GT)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonISelDAGToDAGHVX.cpp 1861 CycleType NewC(C.begin()+LogPos, C.end());
1862 NewC.append(C.begin(), C.begin()+LogPos);
1863 return NewC;
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
WholeProgramDevirt.cpp 1163 Comdat *NewC = M.getOrInsertComdat(NewName);
1164 NewC->setSelectionKind(C->getSelectionKind());
1167 GO.setComdat(NewC);
GlobalOpt.cpp 869 if (Constant *NewC = ConstantFoldInstruction(I, DL, TLI)) {
870 I->replaceAllUsesWith(NewC);
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaTemplate.cpp 7739 const Expr *NewC = nullptr, *OldC = nullptr;
7741 NewC = TC->getImmediatelyDeclaredConstraint();
7746 S.Diag(NewC ? NewC->getBeginLoc() : New->getBeginLoc(),
7752 if (!NewC != !OldC) {
7758 if (NewC) {
7761 NewC->Profile(NewCID, S.Context, /*Canonical=*/true);
TreeTransform.h 10454 ExprResult NewC = getDerived().TransformExpr(C);
10455 if (NewC.isInvalid())
10457 Children.push_back(NewC.get());
10459 Changed |= NewC.get() != C;
12805 TransformedInitCapture &NewC = InitCaptures[C - E->capture_begin()];
12810 for (InitCaptureInfoTy &Info : NewC.Expansions) {
12818 OldVD->getLocation(), InitQualType, NewC.EllipsisLoc,
SemaTemplateInstantiateDecl.cpp 3433 OMPClause *NewC = SemaRef.ActOnOpenMPMapClause(
3437 Clauses.push_back(NewC);
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
DAGCombiner.cpp 2240 if (SDValue NewC =
2243 return DAG.getNode(ISD::ADD, DL, VT, NewShift, NewC);
3336 SDValue NewC =
3338 assert(NewC && "Constant folding failed");
3339 return DAG.getNode(ISD::ADD, DL, VT, N0.getOperand(0), NewC);
3347 SDValue NewC = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, {N0, N11});
3348 assert(NewC && "Constant folding failed");
3349 return DAG.getNode(ISD::SUB, DL, VT, NewC, N1.getOperand(0));
3357 SDValue NewC =
3359 assert(NewC && "Constant folding failed")
    [all...]
TargetLowering.cpp 532 SDValue NewC = TLO.DAG.getConstant(DemandedBits & C, DL, VT);
533 SDValue NewOp = TLO.DAG.getNode(Opcode, DL, VT, Op.getOperand(0), NewC);
4137 APInt NewC = C1;
4141 NewC = NewC + 1;
4146 NewC.lshrInPlace(ShiftBits);
4147 if (ShiftBits && NewC.getMinSignedBits() <= 64 &&
4148 isLegalICmpImmediate(NewC.getSExtValue()) &&
4152 SDValue CmpRHS = DAG.getConstant(NewC, dl, ShValTy);
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/
RISCVISelLowering.cpp 6008 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, VT);
6009 SDValue NewOp = TLO.DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), NewC);
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
ARMISelLowering.cpp 18250 SDValue NewC = TLO.DAG.getConstant(NewMask, DL, VT);
18251 SDValue NewOp = TLO.DAG.getNode(ISD::AND, DL, VT, Op.getOperand(0), NewC);

Completed in 158 milliseconds

1 2