Home | History | Annotate | Download | only in IR

Lines Matching defs:opcode

1440   assert(Instruction::isCast(opc) && "opcode out of range");
1446 llvm_unreachable("Invalid cast opcode");
1496 Instruction::CastOps opcode =
1500 return getCast(opcode, C, Ty);
1510 Instruction::CastOps opcode =
1512 return getCast(opcode, C, Ty);
1660 Constant *ConstantExpr::get(unsigned Opcode, Constant *C1, Constant *C2,
1663 assert(Opcode >= Instruction::BinaryOpsBegin &&
1664 Opcode < Instruction::BinaryOpsEnd &&
1665 "Invalid opcode in binary constant expression");
1670 switch (Opcode) {
1727 if (Constant *FC = ConstantFoldBinaryInstruction(Opcode, C1, C2))
1731 ExprMapKeyType Key(Opcode, ArgVec, 0, Flags);
1861 // Get the key type with both the opcode and predicate
1882 // Get the key type with both the opcode and predicate
2088 Constant *ConstantExpr::getBinOpIdentity(unsigned Opcode, Type *Ty) {
2089 switch (Opcode) {
2111 Constant *ConstantExpr::getBinOpAbsorber(unsigned Opcode, Type *Ty) {
2112 switch (Opcode) {