Home
last modified time | relevance | path

Searched refs:retTy (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp901 const DataLayout &DL, Type *retTy, const ArgListTy &Args, in getPrototype() argument
914 if (retTy->getTypeID() == Type::VoidTyID) { in getPrototype()
918 if (retTy->isFloatingPointTy() || retTy->isIntegerTy()) { in getPrototype()
920 if (auto *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype()
925 assert(retTy->isFloatingPointTy() && in getPrototype()
927 size = retTy->getPrimitiveSizeInBits(); in getPrototype()
931 } else if (isa<PointerType>(retTy)) { in getPrototype()
933 } else if ((retTy->getTypeID() == Type::StructTyID) || in getPrototype()
934 isa<VectorType>(retTy)) { in getPrototype()
937 << DL.getTypeAllocSize(retTy) << "]"; in getPrototype()
[all …]
/external/clang/utils/ABITest/
DTypeGen.py402 retTy = self.typeGen.get(retIndex)
404 retTy = None
407 return FunctionType(N, retTy, args)
/external/spirv-llvm/lib/SPIRV/
DSPIRVToOCL20.cpp265 VectorType * retTy = VectorType::get(int32Ty, imgDimRetEls); in visitCallSPRIVImageQuerySize() local
267 addCallInst(M, kOCLBuiltinName::GetImageDim, retTy, in visitCallSPRIVImageQuerySize()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXISelLowering.cpp1240 const DataLayout &DL, Type *retTy, const ArgListTy &Args, in getPrototype() argument
1253 if (retTy->getTypeID() == Type::VoidTyID) { in getPrototype()
1257 if (retTy->isFloatingPointTy() || (retTy->isIntegerTy() && !retTy->isIntegerTy(128))) { in getPrototype()
1259 if (auto *ITy = dyn_cast<IntegerType>(retTy)) { in getPrototype()
1262 assert(retTy->isFloatingPointTy() && in getPrototype()
1264 size = retTy->getPrimitiveSizeInBits(); in getPrototype()
1273 } else if (isa<PointerType>(retTy)) { in getPrototype()
1275 } else if (retTy->isAggregateType() || retTy->isVectorTy() || retTy->isIntegerTy(128)) { in getPrototype()
1278 << DL.getTypeAllocSize(retTy) << "]"; in getPrototype()
/external/swiftshader/src/Reactor/
DLLVMReactor.cpp402 llvm::Value *lowerSignMask(llvm::Value *x, llvm::Type *retTy) in lowerSignMask() argument
409 ::builder->CreateExtractElement(cmp, static_cast<uint64_t>(0)), retTy); in lowerSignMask()
413 ::builder->CreateExtractElement(cmp, i), retTy); in lowerSignMask()
419 llvm::Value *lowerFPSignMask(llvm::Value *x, llvm::Type *retTy) in lowerFPSignMask() argument
426 ::builder->CreateExtractElement(cmp, static_cast<uint64_t>(0)), retTy); in lowerFPSignMask()
430 ::builder->CreateExtractElement(cmp, i), retTy); in lowerFPSignMask()
/external/clang/lib/CodeGen/
DCGObjC.cpp913 llvm::Type *retTy = ConvertType(getterMethod->getReturnType()); in generateObjCGetterBody() local
914 uint64_t retTySize = CGM.getDataLayout().getTypeSizeInBits(retTy); in generateObjCGetterBody()