Lines Matching refs:ConstantExpr
34 class UnaryConstantExpr : public ConstantExpr {
43 : ConstantExpr(Ty, Opcode, &Op<0>(), 1) {
51 class BinaryConstantExpr : public ConstantExpr {
61 : ConstantExpr(C1->getType(), Opcode, &Op<0>(), 2) {
72 class SelectConstantExpr : public ConstantExpr {
81 : ConstantExpr(C2->getType(), Instruction::Select, &Op<0>(), 3) {
93 class ExtractElementConstantExpr : public ConstantExpr {
102 : ConstantExpr(cast<VectorType>(C1->getType())->getElementType(),
114 class InsertElementConstantExpr : public ConstantExpr {
123 : ConstantExpr(C1->getType(), Instruction::InsertElement,
136 class ShuffleVectorConstantExpr : public ConstantExpr {
145 : ConstantExpr(VectorType::get(
161 class ExtractValueConstantExpr : public ConstantExpr {
172 : ConstantExpr(DestTy, Instruction::ExtractValue, &Op<0>(), 1),
187 class InsertValueConstantExpr : public ConstantExpr {
198 : ConstantExpr(DestTy, Instruction::InsertValue, &Op<0>(), 2),
214 class GetElementPtrConstantExpr : public ConstantExpr {
235 class CompareConstantExpr : public ConstantExpr {
246 : ConstantExpr(ty, opc, &Op<0>(), 2), predicate(pred) {
434 struct ConstantCreator<ConstantExpr, Type, ExprMapKeyType> {
435 static ConstantExpr *create(Type *Ty, const ExprMapKeyType &V,
474 llvm_unreachable("Invalid ConstantExpr!");
479 struct ConstantKeyData<ConstantExpr> {
481 static ValType getValType(ConstantExpr *CE) {