• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/

Lines Matching defs:Ops

1408 Constant *ConstantExpr::getWithOperands(ArrayRef<Constant *> Ops, Type *Ty,
1410 assert(Ops.size() == getNumOperands() && "Operand count mismatch!");
1413 if (Ty == getType() && std::equal(Ops.begin(), Ops.end(), op_begin()))
1431 return ConstantExpr::getCast(getOpcode(), Ops[0], Ty, OnlyIfReduced);
1433 return ConstantExpr::getSelect(Ops[0], Ops[1], Ops[2], OnlyIfReducedTy);
1435 return ConstantExpr::getInsertElement(Ops[0], Ops[1], Ops[2],
1438 return ConstantExpr::getExtractElement(Ops[0], Ops[1], OnlyIfReducedTy);
1440 return ConstantExpr::getInsertValue(Ops[0], Ops[1], getIndices(),
1443 return ConstantExpr::getExtractValue(Ops[0], getIndices(), OnlyIfReducedTy);
1445 return ConstantExpr::getShuffleVector(Ops[0], Ops[1], getShuffleMask(),
1449 assert(SrcTy || (Ops[0]->getType() == getOperand(0)->getType()));
1451 SrcTy ? SrcTy : GEPO->getSourceElementType(), Ops[0], Ops.slice(1),
1456 return ConstantExpr::getCompare(getPredicate(), Ops[0], Ops[1],
1460 return ConstantExpr::get(getOpcode(), Ops[0], Ops[1], SubclassOptionalData,
3252 ArrayRef<Value*> Ops(ValueOperands);
3269 Ops[0], getType());
3271 return SelectInst::Create(Ops[0], Ops[1], Ops[2]);
3273 return InsertElementInst::Create(Ops[0], Ops[1], Ops[2]);
3275 return ExtractElementInst::Create(Ops[0], Ops[1]);
3277 return InsertValueInst::Create(Ops[0], Ops[1], getIndices());
3279 return ExtractValueInst::Create(Ops[0], getIndices());
3281 return new ShuffleVectorInst(Ops[0], Ops[1], getShuffleMask());
3287 Ops[0], Ops.slice(1));
3288 return GetElementPtrInst::Create(GO->getSourceElementType(), Ops[0],
3289 Ops.slice(1));
3294 (CmpInst::Predicate)getPredicate(), Ops[0], Ops[1]);
3296 return UnaryOperator::Create((Instruction::UnaryOps)getOpcode(), Ops[0]);
3301 Ops[0], Ops[1]);