reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/NVPTX/NVPTXAsmPrinter.cpp
 1790   if (isa<UndefValue>(CPV) || CPV->isNullValue()) {
 1790   if (isa<UndefValue>(CPV) || CPV->isNullValue()) {
 1791     int s = DL.getTypeAllocSize(CPV->getType());
 1799   switch (CPV->getType()->getTypeID()) {
 1802     Type *ETy = CPV->getType();
 1803     if (ETy == Type::getInt8Ty(CPV->getContext())) {
 1804       unsigned char c = (unsigned char)cast<ConstantInt>(CPV)->getZExtValue();
 1807     } else if (ETy == Type::getInt16Ty(CPV->getContext())) {
 1808       short int16 = (short)cast<ConstantInt>(CPV)->getZExtValue();
 1811     } else if (ETy == Type::getInt32Ty(CPV->getContext())) {
 1812       if (const ConstantInt *constInt = dyn_cast<ConstantInt>(CPV)) {
 1817       } else if (const auto *Cexpr = dyn_cast<ConstantExpr>(CPV)) {
 1833     } else if (ETy == Type::getInt64Ty(CPV->getContext())) {
 1834       if (const ConstantInt *constInt = dyn_cast<ConstantInt>(CPV)) {
 1839       } else if (const ConstantExpr *Cexpr = dyn_cast<ConstantExpr>(CPV)) {
 1862     const auto *CFP = cast<ConstantFP>(CPV);
 1864     if (Ty == Type::getHalfTy(CPV->getContext())) {
 1869     } else if (Ty == Type::getFloatTy(CPV->getContext())) {
 1873     } else if (Ty == Type::getDoubleTy(CPV->getContext())) {
 1883     if (const GlobalValue *GVar = dyn_cast<GlobalValue>(CPV)) {
 1885     } else if (const ConstantExpr *Cexpr = dyn_cast<ConstantExpr>(CPV)) {
 1889     unsigned int s = DL.getTypeAllocSize(CPV->getType());
 1897     if (isa<ConstantAggregate>(CPV) || isa<ConstantDataSequential>(CPV)) {
 1897     if (isa<ConstantAggregate>(CPV) || isa<ConstantDataSequential>(CPV)) {
 1898       int ElementSize = DL.getTypeAllocSize(CPV->getType());
 1899       bufferAggregateConstant(CPV, aggBuffer);
 1902     } else if (isa<ConstantAggregateZero>(CPV))