reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
380 assert(ByteOffset <= DL.getTypeAllocSize(C->getType()) && 385 if (isa<ConstantAggregateZero>(C) || isa<UndefValue>(C)) 385 if (isa<ConstantAggregateZero>(C) || isa<UndefValue>(C)) 388 if (auto *CI = dyn_cast<ConstantInt>(C)) { 406 if (auto *CFP = dyn_cast<ConstantFP>(C)) { 408 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); 408 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); 408 C = FoldBitCast(C, Type::getInt64Ty(C->getContext()), DL); 409 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); 412 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); 412 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); 412 C = FoldBitCast(C, Type::getInt32Ty(C->getContext()), DL); 413 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); 416 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); 416 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); 416 C = FoldBitCast(C, Type::getInt16Ty(C->getContext()), DL); 417 return ReadDataFromGlobal(C, ByteOffset, CurPtr, BytesLeft, DL); 422 if (auto *CS = dyn_cast<ConstantStruct>(C)) { 459 if (isa<ConstantArray>(C) || isa<ConstantVector>(C) || 459 if (isa<ConstantArray>(C) || isa<ConstantVector>(C) || 460 isa<ConstantDataSequential>(C)) { 461 Type *EltTy = C->getType()->getSequentialElementType(); 466 if (auto *AT = dyn_cast<ArrayType>(C->getType())) 469 NumElts = C->getType()->getVectorNumElements(); 472 if (!ReadDataFromGlobal(C->getAggregateElement(Index), Offset, CurPtr, 488 if (auto *CE = dyn_cast<ConstantExpr>(C)) {