Home | History | Annotate | Download | only in VMCore

Lines Matching defs:CV

703 static void WriteConstantInternal(raw_ostream &Out, const Constant *CV,
707 if (const ConstantInt *CI = dyn_cast<ConstantInt>(CV)) {
716 if (const ConstantFP *CFP = dyn_cast<ConstantFP>(CV)) {
828 if (isa<ConstantAggregateZero>(CV)) {
833 if (const BlockAddress *BA = dyn_cast<BlockAddress>(CV)) {
844 if (const ConstantArray *CA = dyn_cast<ConstantArray>(CV)) {
863 if (const ConstantDataArray *CA = dyn_cast<ConstantDataArray>(CV)) {
892 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(CV)) {
922 if (isa<ConstantVector>(CV) || isa<ConstantDataVector>(CV)) {
923 Type *ETy = CV->getType()->getVectorElementType();
927 WriteAsOperandInternal(Out, CV->getAggregateElement(0U), &TypePrinter,
929 for (unsigned i = 1, e = CV->getType()->getVectorNumElements(); i != e;++i){
933 WriteAsOperandInternal(Out, CV->getAggregateElement(i), &TypePrinter,
940 if (isa<ConstantPointerNull>(CV)) {
945 if (isa<UndefValue>(CV)) {
950 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV)) {
1019 const Constant *CV = dyn_cast<Constant>(V);
1020 if (CV && !isa<GlobalValue>(CV)) {
1022 WriteConstantInternal(Out, CV, *TypePrinter, Machine, Context);