Home
last modified time | relevance | path

Searched refs:ETy (Results 1 – 19 of 19) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAlloca.cpp70 auto ETy = PTy->getElementType(); in runOnBasicBlock() local
71 auto LocalAddrTy = PointerType::get(ETy, ADDRESS_SPACE_LOCAL); in runOnBasicBlock()
73 auto GenericAddrTy = PointerType::get(ETy, ADDRESS_SPACE_GENERIC); in runOnBasicBlock()
DNVPTXAsmPrinter.cpp1033 Type *ETy = PTy->getElementType(); in printModuleLevelGV() local
1159 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in printModuleLevelGV()
1163 if (ETy->isFloatingPointTy() || ETy->isIntegerTy() || ETy->isPointerTy()) { in printModuleLevelGV()
1166 if (ETy->isIntegerTy(1)) in printModuleLevelGV()
1169 O << getPTXFundamentalTypeStr(ETy, false); in printModuleLevelGV()
1203 switch (ETy->getTypeID()) { in printModuleLevelGV()
1207 ElementSize = DL.getTypeStoreSize(ETy); in printModuleLevelGV()
1345 Type *ETy = PTy->getElementType(); in emitPTXGlobalVariable() local
1350 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in emitPTXGlobalVariable()
1354 if (ETy->isFloatingPointTy() || ETy->isIntegerTy() || ETy->isPointerTy()) { in emitPTXGlobalVariable()
[all …]
DNVPTXISelLowering.cpp991 Type *ETy = PTy->getElementType(); in getPrototype() local
994 unsigned sz = DL.getTypeAllocSize(ETy); in getPrototype()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp496 QualType ETy = RTy->getPointeeType(); in ConvertType() local
497 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType()
498 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()
504 QualType ETy = PTy->getPointeeType(); in ConvertType() local
505 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType()
508 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()
DCodeGenTBAA.cpp147 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTBAAInfo() local
152 if (!Features.CPlusPlus || !ETy->getDecl()->isExternallyVisible()) in getTBAAInfo()
157 MContext.mangleTypeName(QualType(ETy, 0), Out); in getTBAAInfo()
DCGCall.cpp1966 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog() local
1968 if (!ETy->isIncompleteType() && ETy->isConstantSizeType() && in EmitFunctionProlog()
1972 getContext().getTypeSizeInChars(ETy).getQuantity()*ArrSize); in EmitFunctionProlog()
1975 } else if (getContext().getTargetAddressSpace(ETy) == 0) { in EmitFunctionProlog()
/external/clang/lib/Analysis/
DFormatString.cpp282 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType() local
283 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
299 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType() local
300 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
DScanfFormatString.cpp416 if (const EnumType *ETy = PT->getAs<EnumType>()) in fixType() local
417 PT = ETy->getDecl()->getIntegerType(); in fixType()
DPrintfFormatString.cpp596 if (const EnumType *ETy = QT->getAs<EnumType>()) in fixType() local
597 QT = ETy->getDecl()->getIntegerType(); in fixType()
/external/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h150 void addExtensionsToPM(ExtensionPointTy ETy,
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp146 void PassManagerBuilder::addExtensionsToPM(ExtensionPointTy ETy, in addExtensionsToPM() argument
149 if ((*GlobalExtensions)[i].first == ETy) in addExtensionsToPM()
152 if (Extensions[i].first == ETy) in addExtensionsToPM()
/external/llvm/lib/Analysis/
DObjCARCInstKind.cpp100 Type *ETy = PTy->getElementType(); in GetFunctionClass() local
102 if (ETy->isIntegerTy(8)) in GetFunctionClass()
124 if (PointerType *Pte = dyn_cast<PointerType>(ETy)) in GetFunctionClass()
DScalarEvolution.cpp1994 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getAddExpr() local
1996 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getAddExpr()
2403 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getMulExpr() local
2405 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getMulExpr()
2848 Type *ETy = getEffectiveSCEVType(Operands[0]->getType()); in getAddRecExpr() local
2850 assert(getEffectiveSCEVType(Operands[i]->getType()) == ETy && in getAddRecExpr()
2999 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getSMaxExpr() local
3001 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getSMaxExpr()
3102 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getUMaxExpr() local
3104 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getUMaxExpr()
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1563 StructType *ETy = dyn_cast<StructType>(InitList->getType()->getElementType()); in EmitXXStructorList() local
1565 if (!ETy || ETy->getNumElements() < 2 || ETy->getNumElements() > 3) in EmitXXStructorList()
1567 if (!isa<IntegerType>(ETy->getTypeAtIndex(0U)) || in EmitXXStructorList()
1568 !isa<PointerType>(ETy->getTypeAtIndex(1U))) return; // Not (int, ptr). in EmitXXStructorList()
1569 if (ETy->getNumElements() == 3 && !isa<PointerType>(ETy->getTypeAtIndex(2U))) in EmitXXStructorList()
1585 if (ETy->getNumElements() == 3 && !CS->getOperand(2)->isNullValue()) in EmitXXStructorList()
/external/llvm/lib/IR/
DAsmWriter.cpp1194 Type *ETy = CA->getType()->getElementType(); in WriteConstantInternal() local
1196 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1203 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1222 Type *ETy = CA->getType()->getElementType(); in WriteConstantInternal() local
1224 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1231 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1272 Type *ETy = CV->getType()->getVectorElementType(); in WriteConstantInternal() local
1274 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1280 TypePrinter.print(ETy, Out); in WriteConstantInternal()
DVerifier.cpp510 Type *ETy = STy->getTypeAtIndex(2); in visitGlobalVariable() local
511 Assert(ETy->isPointerTy() && in visitGlobalVariable()
512 cast<PointerType>(ETy)->getElementType()->isIntegerTy(8), in visitGlobalVariable()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1960 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, EVT MemVT,
1963 SubclassData |= (unsigned short)ETy;
1964 assert(getExtensionType() == ETy && "LoadExtType encoding error!");
2044 unsigned numOperands, SDVTList VTs, ISD::LoadExtType ETy,
2048 SubclassData |= (unsigned short)ETy;
/external/clang/lib/AST/
DASTContext.cpp7604 if (const EnumType* ETy = LHS->getAs<EnumType>()) { in mergeTypes() local
7605 return mergeEnumWithInteger(*this, ETy, RHS, false); in mergeTypes()
7607 if (const EnumType* ETy = RHS->getAs<EnumType>()) { in mergeTypes() local
7608 return mergeEnumWithInteger(*this, ETy, LHS, BlockReturnType); in mergeTypes()
7908 if (const EnumType *ETy = T->getAs<EnumType>()) in getCorrespondingUnsignedType() local
7909 T = ETy->getDecl()->getIntegerType(); in getCorrespondingUnsignedType()
/external/clang/lib/Sema/
DSemaStmt.cpp2598 QualType ETy = E->getType(); in ActOnIndirectGotoStmt() local
2606 if (DiagnoseAssignmentResult(ConvTy, StarLoc, DestTy, ETy, E, AA_Passing)) in ActOnIndirectGotoStmt()