Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.h374 SmallVector<MachineOperand, 0> ConstOps;
397 return DbgOp(ConstOps[ID.getIndex()]);
403 ConstOps.clear();
413 DbgOpID ID(true, ConstOps.size());
415 ConstOps.push_back(MO);
/openbsd-src/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1464 SmallVector<Constant *> ConstOps; in materializeValue() local
1467 ConstOps.push_back(C); in materializeValue()
1470 if (isConstExprSupported(BC->Opcode) && ConstOps.size() == Ops.size()) { in materializeValue()
1473 C = UpgradeBitCastExpr(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1475 C = ConstantExpr::getCast(BC->Opcode, ConstOps[0], BC->getType()); in materializeValue()
1477 C = ConstantExpr::get(BC->Opcode, ConstOps[0], ConstOps[1], BC->Flags); in materializeValue()
1481 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
1488 auto *GV = dyn_cast<GlobalValue>(ConstOps[0]); in materializeValue()
1495 Function *Fn = dyn_cast<Function>(ConstOps[0]); in materializeValue()
1530 C = ConstantStruct::get(cast<StructType>(BC->getType()), ConstOps); in materializeValue()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1042 SmallVector<Constant *> ConstOps; in constantFoldOperationIntoSelectOperand() local
1045 ConstOps.push_back(ConstSO); in constantFoldOperationIntoSelectOperand()
1047 ConstOps.push_back(C); in constantFoldOperationIntoSelectOperand()
1051 return ConstantFoldInstOperands(&I, ConstOps, I.getModule()->getDataLayout()); in constantFoldOperationIntoSelectOperand()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DInstructionSimplify.cpp4257 SmallVector<Constant *, 8> ConstOps; in simplifyWithOpReplaced() local
4260 ConstOps.push_back(ConstOp); in simplifyWithOpReplaced()
4277 return ConstantFoldInstOperands(I, ConstOps, Q.DL, Q.TLI); in simplifyWithOpReplaced()