Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1057 Type *ETy = GVar->getValueType(); in printModuleLevelGV() local
1183 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in printModuleLevelGV()
1187 if (ETy->isFloatingPointTy() || ETy->isIntegerTy() || ETy->isPointerTy()) { in printModuleLevelGV()
1190 if (ETy->isIntegerTy(1)) in printModuleLevelGV()
1193 O << getPTXFundamentalTypeStr(ETy, false); in printModuleLevelGV()
1227 switch (ETy->getTypeID()) { in printModuleLevelGV()
1231 ElementSize = DL.getTypeStoreSize(ETy); in printModuleLevelGV()
1368 Type *ETy = GVar->getValueType(); in emitPTXGlobalVariable() local
1373 O << " .align " << (int)DL.getPrefTypeAlignment(ETy); in emitPTXGlobalVariable()
1377 if (ETy->isFloatingPointTy() || ETy->isIntegerTy() || ETy->isPointerTy()) { in emitPTXGlobalVariable()
[all …]
DNVPTXLowerAlloca.cpp73 auto ETy = PTy->getElementType(); in runOnBasicBlock() local
74 auto LocalAddrTy = PointerType::get(ETy, ADDRESS_SPACE_LOCAL); in runOnBasicBlock()
76 auto GenericAddrTy = PointerType::get(ETy, ADDRESS_SPACE_GENERIC); in runOnBasicBlock()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp499 QualType ETy = RTy->getPointeeType(); in ConvertType() local
500 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType()
501 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()
507 QualType ETy = PTy->getPointeeType(); in ConvertType() local
508 llvm::Type *PointeeType = ConvertTypeForMem(ETy); in ConvertType()
511 unsigned AS = Context.getTargetAddressSpace(ETy); in ConvertType()
DCodeGenTBAA.cpp151 if (const EnumType *ETy = dyn_cast<EnumType>(Ty)) { in getTBAAInfo() local
156 if (!Features.CPlusPlus || !ETy->getDecl()->isExternallyVisible()) in getTBAAInfo()
161 MContext.mangleTypeName(QualType(ETy, 0), Out); in getTBAAInfo()
DCGCall.cpp2224 QualType ETy = ArrTy->getElementType(); in EmitFunctionProlog() local
2226 if (!ETy->isIncompleteType() && ETy->isConstantSizeType() && in EmitFunctionProlog()
2230 getContext().getTypeSizeInChars(ETy).getQuantity()*ArrSize); in EmitFunctionProlog()
2233 } else if (getContext().getTargetAddressSpace(ETy) == 0) { in EmitFunctionProlog()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DPassManagerBuilder.cpp62 void PassManagerBuilder::addExtensionsToPM(ExtensionPointTy ETy, in addExtensionsToPM() argument
65 if ((*GlobalExtensions)[i].first == ETy) in addExtensionsToPM()
68 if (Extensions[i].first == ETy) in addExtensionsToPM()
/external/clang/lib/Analysis/
DFormatString.cpp313 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType() local
314 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
330 if (const EnumType *ETy = argTy->getAs<EnumType>()) in matchesType() local
331 argTy = ETy->getDecl()->getIntegerType(); in matchesType()
DScanfFormatString.cpp421 if (const EnumType *ETy = PT->getAs<EnumType>()) in fixType() local
422 PT = ETy->getDecl()->getIntegerType(); in fixType()
DPrintfFormatString.cpp601 if (const EnumType *ETy = QT->getAs<EnumType>()) in fixType() local
602 QT = ETy->getDecl()->getIntegerType(); in fixType()
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/IPO/
DPassManagerBuilder.h108 void addExtensionsToPM(ExtensionPointTy ETy, PassManagerBase &PM) const;
/external/llvm/include/llvm/Transforms/IPO/
DPassManagerBuilder.h160 void addExtensionsToPM(ExtensionPointTy ETy,
/external/llvm/lib/Analysis/
DObjCARCInstKind.cpp102 Type *ETy = PTy->getElementType(); in GetFunctionClass() local
104 if (ETy->isIntegerTy(8)) in GetFunctionClass()
128 if (PointerType *Pte = dyn_cast<PointerType>(ETy)) in GetFunctionClass()
DScalarEvolution.cpp2029 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getAddExpr() local
2031 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getAddExpr()
2440 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getMulExpr() local
2442 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getMulExpr()
2885 Type *ETy = getEffectiveSCEVType(Operands[0]->getType()); in getAddRecExpr() local
2887 assert(getEffectiveSCEVType(Operands[i]->getType()) == ETy && in getAddRecExpr()
3034 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getSMaxExpr() local
3036 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getSMaxExpr()
3135 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getUMaxExpr() local
3137 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getUMaxExpr()
[all …]
/external/llvm/lib/Transforms/IPO/
DPassManagerBuilder.cpp171 void PassManagerBuilder::addExtensionsToPM(ExtensionPointTy ETy, in addExtensionsToPM() argument
174 if ((*GlobalExtensions)[i].first == ETy) in addExtensionsToPM()
177 if (Extensions[i].first == ETy) in addExtensionsToPM()
/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp1597 StructType *ETy = dyn_cast<StructType>(InitList->getType()->getElementType()); in EmitXXStructorList() local
1599 if (!ETy || ETy->getNumElements() < 2 || ETy->getNumElements() > 3) in EmitXXStructorList()
1601 if (!isa<IntegerType>(ETy->getTypeAtIndex(0U)) || in EmitXXStructorList()
1602 !isa<PointerType>(ETy->getTypeAtIndex(1U))) return; // Not (int, ptr). in EmitXXStructorList()
1603 if (ETy->getNumElements() == 3 && !isa<PointerType>(ETy->getTypeAtIndex(2U))) in EmitXXStructorList()
1619 if (ETy->getNumElements() == 3 && !CS->getOperand(2)->isNullValue()) in EmitXXStructorList()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAsmWriter.cpp829 Type *ETy = CA->getType()->getElementType(); in WriteConstantInternal() local
837 TypePrinter.print(ETy, Out); in WriteConstantInternal()
844 TypePrinter.print(ETy, Out); in WriteConstantInternal()
886 Type *ETy = CP->getType()->getElementType(); in WriteConstantInternal() local
890 TypePrinter.print(ETy, Out); in WriteConstantInternal()
896 TypePrinter.print(ETy, Out); in WriteConstantInternal()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h278 DIE *constructEnumTypeDIE(DIEnumerator ETy);
DAsmPrinter.cpp1259 StructType *ETy = dyn_cast<StructType>(InitList->getType()->getElementType()); in EmitXXStructorList() local
1260 if (!ETy || ETy->getNumElements() != 2) return; // Not an array of pairs! in EmitXXStructorList()
1261 if (!isa<IntegerType>(ETy->getTypeAtIndex(0U)) || in EmitXXStructorList()
1262 !isa<PointerType>(ETy->getTypeAtIndex(1U))) return; // Not (int, ptr). in EmitXXStructorList()
DDwarfCompileUnit.cpp1175 DIE *CompileUnit::constructEnumTypeDIE(DIEnumerator ETy) { in constructEnumTypeDIE() argument
1177 StringRef Name = ETy.getName(); in constructEnumTypeDIE()
1179 int64_t Value = ETy.getEnumValue(); in constructEnumTypeDIE()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1813 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, EVT MemVT,
1816 SubclassData |= (unsigned short)ETy;
1817 assert(getExtensionType() == ETy && "LoadExtType encoding error!");
1892 ISD::LoadExtType ETy, EVT MemVT, MachineMemOperand *MMO)
1894 SubclassData |= (unsigned short)ETy;
/external/llvm/lib/IR/
DAsmWriter.cpp1238 Type *ETy = CA->getType()->getElementType(); in WriteConstantInternal() local
1240 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1247 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1266 Type *ETy = CA->getType()->getElementType(); in WriteConstantInternal() local
1268 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1275 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1316 Type *ETy = CV->getType()->getVectorElementType(); in WriteConstantInternal() local
1318 TypePrinter.print(ETy, Out); in WriteConstantInternal()
1324 TypePrinter.print(ETy, Out); in WriteConstantInternal()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h1601 ISD::MemIndexedMode AM, ISD::LoadExtType ETy, EVT MemVT,
1605 SubclassData |= (unsigned short)ETy;
1606 assert(getExtensionType() == ETy && "LoadExtType encoding error!");
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp1453 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getAddExpr() local
1455 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getAddExpr()
1856 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getMulExpr() local
1858 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getMulExpr()
2249 Type *ETy = getEffectiveSCEVType(Operands[0]->getType()); in getAddRecExpr() local
2251 assert(getEffectiveSCEVType(Operands[i]->getType()) == ETy && in getAddRecExpr()
2367 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getSMaxExpr() local
2369 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getSMaxExpr()
2471 Type *ETy = getEffectiveSCEVType(Ops[0]->getType()); in getUMaxExpr() local
2473 assert(getEffectiveSCEVType(Ops[i]->getType()) == ETy && in getUMaxExpr()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp565 Type *ETy = CPA->getType()->getElementType(); in printConstantArray() local
566 bool isString = (ETy == Type::getInt8Ty(CPA->getContext()) || in printConstantArray()
567 ETy == Type::getInt8Ty(CPA->getContext())); in printConstantArray()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DObjCARC.cpp217 Type *ETy = PTy->getElementType(); in GetFunctionClass() local
219 if (ETy->isIntegerTy(8)) in GetFunctionClass()
237 if (PointerType *Pte = dyn_cast<PointerType>(ETy)) in GetFunctionClass()

12