Lines Matching refs:Constant
24 class Constant;
39 Constant *ConstantFoldInstruction(Instruction *I, const TargetData *TD = 0,
45 Constant *ConstantFoldConstantExpression(const ConstantExpr *CE,
55 Constant *ConstantFoldInstOperands(unsigned Opcode, Type *DestTy,
56 ArrayRef<Constant *> Ops,
64 Constant *ConstantFoldCompareInstOperands(unsigned Predicate,
65 Constant *LHS, Constant *RHS,
72 Constant *ConstantFoldInsertValueInstruction(Constant *Agg, Constant *Val,
78 Constant *ConstantFoldLoadFromConstPtr(Constant *C, const TargetData *TD = 0);
83 Constant *ConstantFoldLoadThroughGEPConstantExpr(Constant *C, ConstantExpr *CE);
89 Constant *ConstantFoldLoadThroughGEPIndices(Constant *C,
90 ArrayRef<Constant*> Indices);
98 Constant *ConstantFoldCall(Function *F, ArrayRef<Constant *> Operands,