Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h452 SmallVector<MachineOperand, 0> ConstOps;
475 return DbgOp(ConstOps[ID.getIndex()]);
481 ConstOps.clear();
488 auto [It, Inserted] = ConstOpToID.try_emplace(MO, true, ConstOps.size());
490 ConstOps.push_back(MO);
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1578 SmallVector<Constant *> ConstOps; in materializeValue() local
1581 ConstOps.push_back(C); in materializeValue()
1584 if (isConstExprSupported(BC) && ConstOps.size() == Ops.size()) { in materializeValue()
1587 C = UpgradeBitCastExpr(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1589 C = ConstantExpr::getCast(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1591 C = ConstantExpr::get(BC->Opcode, ConstOps[0], ConstOps[1], BC->Flags); in materializeValue()
1595 auto *Key = dyn_cast<ConstantInt>(ConstOps[1]); in materializeValue()
1599 auto *Disc = dyn_cast<ConstantInt>(ConstOps[2]); in materializeValue()
1603 C = ConstantPtrAuth::get(ConstOps[0], Key, Disc, ConstOps[3]); in materializeValue()
1607 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4440 SmallVector<Constant *, 8> ConstOps; in simplifyWithOpsReplaced() local
4443 ConstOps.push_back(ConstOp); in simplifyWithOpsReplaced()
4462 if (!ConstOps[0]->isNotMinSignedValue()) in simplifyWithOpsReplaced()
4467 Constant *Res = ConstantFoldInstOperands(I, ConstOps, Q.DL, Q.TLI, in simplifyWithOpsReplaced()
4474 return ConstantFoldInstOperands(I, ConstOps, Q.DL, Q.TLI, in simplifyWithOpsReplaced()