Home
last modified time | relevance | path

Searched refs:ConstOps (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h451 SmallVector<MachineOperand, 0> ConstOps;
474 return DbgOp(ConstOps[ID.getIndex()]);
480 ConstOps.clear();
490 DbgOpID ID(true, ConstOps.size());
492 ConstOps.push_back(MO);
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1563 SmallVector<Constant *> ConstOps; in materializeValue() local
1566 ConstOps.push_back(C); in materializeValue()
1569 if (isConstExprSupported(BC) && ConstOps.size() == Ops.size()) { in materializeValue()
1572 C = UpgradeBitCastExpr(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1574 C = ConstantExpr::getCast(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1576 C = ConstantExpr::get(BC->Opcode, ConstOps[0], ConstOps[1], BC->Flags); in materializeValue()
1580 auto *Key = dyn_cast<ConstantInt>(ConstOps[1]); in materializeValue()
1584 auto *Disc = dyn_cast<ConstantInt>(ConstOps[2]); in materializeValue()
1588 C = ConstantPtrAuth::get(ConstOps[0], Key, Disc, ConstOps[3]); in materializeValue()
1592 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4441 SmallVector<Constant *, 8> ConstOps; in simplifyWithOpReplaced() local
4444 ConstOps.push_back(ConstOp); in simplifyWithOpReplaced()
4463 if (!ConstOps[0]->isNotMinSignedValue()) in simplifyWithOpReplaced()
4468 Constant *Res = ConstantFoldInstOperands(I, ConstOps, Q.DL, Q.TLI); in simplifyWithOpReplaced()
4474 return ConstantFoldInstOperands(I, ConstOps, Q.DL, Q.TLI); in simplifyWithOpReplaced()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1652 SmallVector<Constant *> ConstOps; in constantFoldOperationIntoSelectOperand() local
1670 ConstOps.push_back(C); in constantFoldOperationIntoSelectOperand()
1673 return ConstantFoldInstOperands(&I, ConstOps, I.getDataLayout()); in constantFoldOperationIntoSelectOperand()