Home | History | Annotate | Download | only in CBackend

Lines Matching refs:CPA

226     void printConstantArray(ConstantArray *CPA, bool Static);
568 void CWriter::printConstantArray(ConstantArray *CPA, bool Static) {
573 Type *ETy = CPA->getType()->getElementType();
574 bool isString = (ETy == Type::getInt8Ty(CPA->getContext()) ||
575 ETy == Type::getInt8Ty(CPA->getContext()));
578 if (isString && (CPA->getNumOperands() == 0 ||
579 !cast<Constant>(*(CPA->op_end()-1))->isNullValue()))
588 for (unsigned i = 0, e = CPA->getNumOperands()-1; i != e; ++i) {
589 unsigned char C = cast<ConstantInt>(CPA->getOperand(i))->getZExtValue();
625 if (CPA->getNumOperands()) {
627 printConstant(cast<Constant>(CPA->getOperand(0)), Static);
628 for (unsigned i = 1, e = CPA->getNumOperands(); i != e; ++i) {
630 printConstant(cast<Constant>(CPA->getOperand(i)), Static);