/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | ModifyStruct.h | 24 enum class ConvertType enum 51 ModifyStructConfig(ConvertType convertType, bool allowPacking, bool allowPadding) in ModifyStructConfig() 86 ConvertType convertType; 98 TIntermFunctionDefinition *&getConverter(ConvertType convertType) in getConverter() 100 if (convertType == ConvertType::OriginalToModified) in getConverter()
|
D | ModifyStruct.cpp | 135 const ConvertType type; 177 const bool isOriginalToModified = config.convertType == ConvertType::OriginalToModified; in publish() 820 Access ConvertBoolToUint(ConvertType convertType, OriginalAccess &o, ModifiedAccess &m) in ConvertBoolToUint() 827 case ConvertType::OriginalToModified: in ConvertBoolToUint() 829 case ConvertType::ModifiedToOriginal: in ConvertBoolToUint()
|
D | Pipeline.cpp | 331 isPipelineOut() ? ConvertType::OriginalToModified : ConvertType::ModifiedToOriginal, in externalStructModifyConfig()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 94 return llvm::ArrayType::get(ConvertType(MT->getElementType()), in ConvertTypeForMem() 98 llvm::Type *R = ConvertType(T); in ConvertTypeForMem() 264 if (!ConvertType(ED->getIntegerType())->isIntegerTy(32)) in UpdateCompletedType() 395 llvm::Type *CodeGenTypes::ConvertType(QualType T) { in ConvertType() function in CodeGenTypes 594 return llvm::ScalableVectorType::get(ConvertType(Info.ElementType), in ConvertType() 601 llvm::FixedVectorType::get(ConvertType(Context.BoolTy), Size); \ in ConvertType() 617 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); in ConvertType() 685 ResultType = llvm::FixedVectorType::get(ConvertType(VT->getElementType()), in ConvertType() 692 llvm::FixedVectorType::get(ConvertType(MT->getElementType()), in ConvertType() 701 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType()); in ConvertType() [all …]
|
D | CGExprScalar.cpp | 242 llvm::Type *ConvertType(QualType T) { return CGF.ConvertType(T); } in ConvertType() function in __anonbcd9e6940111::ScalarExprEmitter 457 return llvm::ConstantInt::get(ConvertType(E->getType()), E->getValue()); in VisitCharacterLiteral() 460 return llvm::ConstantInt::get(ConvertType(E->getType()), E->getValue()); in VisitObjCBoolLiteralExpr() 463 return llvm::ConstantInt::get(ConvertType(E->getType()), E->getValue()); in VisitCXXBoolLiteralExpr() 475 return Builder.CreateBitCast(V, ConvertType(E->getType())); in VisitAddrLabelExpr() 479 return llvm::ConstantInt::get(ConvertType(E->getType()),E->getPackLength()); in VisitSizeOfPackExpr() 664 return llvm::ConstantInt::get(ConvertType(E->getType()), E->getValue()); in VisitTypeTraitExpr() 1246 llvm::Type *DstTy = ConvertType(DstType); in EmitScalarConversion() 1539 return llvm::UndefValue::get(CGF.ConvertType(E->getType())); in VisitExpr() 1612 llvm::Type *DstTy = ConvertType(DstType); in VisitConvertVectorExpr() [all …]
|
D | CGCXXABI.cpp | 33 return llvm::Constant::getNullValue(CGM.getTypes().ConvertType(T)); in GetBogusMemberPointer() 38 return CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in ConvertMemberPointerType() 63 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType()) in EmitMemberDataPointerAddress()
|
D | CGBuiltin.cpp | 104 cast<llvm::FunctionType>(getTypes().ConvertType(FD->getType())); in getBuiltinLibFunction() 267 CGF.ConvertType(E->getType())); in MakeAtomicCmpXchgValue() 384 auto *IntTy = CGF.ConvertType(E->getType()); in EmitAtomicIncrementValue() 397 auto *IntTy = CGF.ConvertType(E->getType()); in EmitAtomicDecrementValue() 558 llvm::Type *ResultType = CGF.ConvertType(E->getType()); in emitMaybeConstrainedFPToIntRoundBuiltin() 1434 llvm::Type *ResultType = ConvertType(E->getType()); in EmitMSVCBuiltinExpr() 1823 ArgVal = Builder.CreateZExtOrBitCast(ArgVal, ConvertType(ArgTy)); in emitBuiltinOSLogFormat() 1972 FieldPtr, CGF.ConvertType(Context.getPointerType(FD->getType()))); in dumpRecord() 1974 FieldPtr = CGF.Builder.CreateStructGEP(CGF.ConvertType(RType), FieldPtr, in dumpRecord() 2464 llvm::Type *LLVMIntTy = getTypes().ConvertType(getContext().IntTy); in EmitBuiltinExpr() [all …]
|
D | CGObjC.cpp | 52 return llvm::ConstantExpr::getBitCast(C, ConvertType(E->getType())); in EmitObjCStringLiteral() 94 Address BitCast = Builder.CreateBitCast(Temporary, ConvertType(ArgQT)); in EmitObjCBoxedExpr() 105 llvm::Value *Cast = Builder.CreateBitCast(GV, ConvertType(EncodingQT)); in EmitObjCBoxedExpr() 116 ConvertType(E->getType())); in EmitObjCBoxedExpr() 134 CGM.CreateRuntimeVariable(ConvertType(IdTy), ConstantName); in EmitObjCCollectionLiteral() 140 return Builder.CreateBitCast(Ptr, ConvertType(E->getType())); in EmitObjCCollectionLiteral() 212 llvm::ConstantInt::get(CGM.getTypes().ConvertType(ArgQT), NumElements); in EmitObjCCollectionLiteral() 239 ConvertType(E->getType())); in EmitObjCCollectionLiteral() 274 llvm::Type *ExpLLVMTy = CGF.ConvertType(ExpT); in AdjustObjCObjectType() 391 return CGF.EmitObjCAlloc(Receiver, CGF.ConvertType(ResultType)); in tryGenerateSpecializedMessageSend() [all …]
|
D | CGExprConstant.cpp | 855 llvm::Type *ValTy = CGM.getTypes().ConvertType(Type); in Finalize() 1058 auto destTy = ConvertType(destType); in VisitCastExpr() 1089 llvm::Type *destTy = ConvertType(E->getType()); in VisitCastExpr() 1234 cast<llvm::ArrayType>(CGM.getTypes().ConvertType(ILE->getType())); in EmitArrayInitialization() 1274 llvm::Type *ValTy = CGM.getTypes().ConvertType(destType); in VisitDesignatedInitUpdateExpr() 1325 llvm::Type *ConvertType(QualType T) { in ConvertType() function in __anonf29f2d880111::ConstExprEmitter 1326 return CGM.getTypes().ConvertType(T); in ConvertType() 1917 CGM.getTypes().ConvertType(base.getTypeInfoType())->getPointerTo(); in tryEmitBase() 1981 CGM.getTypes().ConvertType(E->getType())); in VisitAddrLabelExpr() 2039 return llvm::UndefValue::get(CGM.getTypes().ConvertType(DestType)); in tryEmitPrivate() [all …]
|
D | CodeGenABITypes.cpp | 100 llvm::Type *T = CGM.getTypes().ConvertType(FD->getType()); in convertFreeFunctionType()
|
D | TargetInfo.cpp | 680 Val = CGF.Builder.CreateVAArg(VAListAddr.getPointer(), CGF.ConvertType(Ty)); in EmitVAArgInstr() 868 return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); in classifyArgumentType() 901 return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); in classifyReturnType() 1542 return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); in classifyReturnType() 1866 if (IsX86_MMXType(CGT.ConvertType(Ty))) in classifyArgumentType() 3243 llvm::Type *IRType = CGT.ConvertType(Ty); in GetByteVectorType() 3564 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType() 3582 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType() 3614 HighPart = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType() 3619 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType() [all …]
|
D | CGExprComplex.cpp | 239 llvm::Constant *Null = llvm::Constant::getNullValue(CGF.ConvertType(Elem)); in VisitCXXScalarValueInitExpr() 246 llvm::Constant::getNullValue(CGF.ConvertType(Elem)); in VisitImplicitValueInitExpr() 398 CGF.ConvertType(getComplexType(E->getType())->getElementType()); in VisitExpr() 473 V = Builder.CreateElementBitCast(V, CGF.ConvertType(DestTy)); in EmitCast() 1092 llvm::Type* LTy = CGF.ConvertType(Ty); in VisitInitListExpr() 1104 CGF.ConvertType(E->getType()->castAs<ComplexType>()->getElementType()); in VisitVAArgExpr()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_util.cc | 47 Literal ConvertType(LiteralSlice literal) { in ConvertType() function 93 return ConvertType<bfloat16, float>(bf16_literal); in ConvertBF16ToF32() 98 return ConvertType<bfloat16, double>(bf16_literal); in ConvertBF16ToF64() 103 return ConvertType<float, bfloat16>(f32_literal); in ConvertF32ToBF16() 108 return ConvertType<float, double>(f32_literal); in ConvertF32ToF64() 113 return ConvertType<double, bfloat16>(f64_literal); in ConvertF64ToBF16() 118 return ConvertType<double, float>(f64_literal); in ConvertF64ToF32()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.cpp | 84 llvm::Type *R = ConvertType(T); in ConvertTypeForMem() 249 if (!ConvertType(ED->getIntegerType())->isIntegerTy(32)) in UpdateCompletedType() 379 llvm::Type *CodeGenTypes::ConvertType(QualType T) { in ConvertType() function in CodeGenTypes 492 llvm::Type *EltTy = ConvertType(cast<ComplexType>(Ty)->getElementType()); in ConvertType() 556 ResultType = llvm::VectorType::get(ConvertType(VT->getElementType()), in ConvertType() 565 ResultType = ConvertType(cast<ObjCObjectType>(Ty)->getBaseType()); in ConvertType() 592 return ConvertType(ED->getIntegerType()); in ConvertType()
|
D | CGExprScalar.cpp | 83 llvm::Type *ConvertType(QualType T) { return CGF.ConvertType(T); } in ConvertType() function in __anonbb924e660111::ScalarExprEmitter 232 return llvm::ConstantInt::get(ConvertType(E->getType()), E->getValue()); in VisitCharacterLiteral() 235 return llvm::ConstantInt::get(ConvertType(E->getType()), E->getValue()); in VisitObjCBoolLiteralExpr() 238 return llvm::ConstantInt::get(ConvertType(E->getType()), E->getValue()); in VisitCXXBoolLiteralExpr() 250 return Builder.CreateBitCast(V, ConvertType(E->getType())); in VisitAddrLabelExpr() 254 return llvm::ConstantInt::get(ConvertType(E->getType()),E->getPackLength()); in VisitSizeOfPackExpr() 415 return llvm::ConstantInt::get(ConvertType(E->getType()), E->getValue()); in VisitTypeTraitExpr() 756 llvm::Type *DstTy = ConvertType(DstType); in EmitScalarConversion() 982 return llvm::UndefValue::get(CGF.ConvertType(E->getType())); in VisitExpr() 1056 llvm::Type *DstTy = ConvertType(DstType); in VisitConvertVectorExpr() [all …]
|
D | CGCUDANV.cpp | 90 IntTy = Types.ConvertType(Ctx.IntTy); in CGNVCUDARuntime() 91 SizeTy = Types.ConvertType(Ctx.getSizeType()); in CGNVCUDARuntime() 94 CharPtrTy = llvm::PointerType::getUnqual(Types.ConvertType(Ctx.CharTy)); in CGNVCUDARuntime() 95 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); in CGNVCUDARuntime()
|
D | CGCXXABI.cpp | 68 return llvm::Constant::getNullValue(CGM.getTypes().ConvertType(T)); in GetBogusMemberPointer() 73 return CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in ConvertMemberPointerType() 97 llvm::Type *Ty = CGF.ConvertType(MPT->getPointeeType()) in EmitMemberDataPointerAddress()
|
D | CGExprConstant.cpp | 546 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); in Finalize() 651 llvm::Type *destType = ConvertType(E->getType()); in VisitCastExpr() 782 cast<llvm::ArrayType>(ConvertType(ILE->getType())); in EmitArrayInitialization() 859 llvm::ArrayType *AType = cast<llvm::ArrayType>(ConvertType(ExprType)); in EmitDesignatedInitUpdater() 990 llvm::Type *ConvertType(QualType T) { in ConvertType() function in __anon8110d1da0111::ConstExprEmitter 991 return CGM.getTypes().ConvertType(T); in ConvertType() 1048 return C.getElementBitCast(ConvertType(E->getType())); in EmitLValue() 1065 Ptr = llvm::ConstantExpr::getBitCast(Ptr, ConvertType(E->getType())); in EmitLValue() 1161 if (CGM.getTypes().ConvertType(Field->getType()) != EltInit->getType() || in Build() 1400 llvm::Type *ResultType = getTypes().ConvertType(DestType); in EmitConstantValue() [all …]
|
D | CGBuiltin.cpp | 55 cast<llvm::FunctionType>(getTypes().ConvertType(FD->getType())); in getBuiltinLibFunction() 214 CGF.ConvertType(E->getType())); in MakeAtomicCmpXchgValue() 621 llvm::Type *ResultType = ConvertType(E->getType()); in EmitBuiltinExpr() 638 llvm::Type *ResultType = ConvertType(E->getType()); in EmitBuiltinExpr() 655 llvm::Type *ResultType = ConvertType(E->getType()); in EmitBuiltinExpr() 676 llvm::Type *ResultType = ConvertType(E->getType()); in EmitBuiltinExpr() 692 llvm::Type *ResultType = ConvertType(E->getType()); in EmitBuiltinExpr() 756 auto *ResType = cast<llvm::IntegerType>(ConvertType(E->getType())); in EmitBuiltinExpr() 846 return RValue::get(Builder.CreateZExt(LHS, ConvertType(E->getType()))); in EmitBuiltinExpr() 851 return RValue::get(Builder.CreateZExt(V, ConvertType(E->getType()))); in EmitBuiltinExpr() [all …]
|
D | CGObjC.cpp | 51 return llvm::ConstantExpr::getBitCast(C, ConvertType(E->getType())); in EmitObjCStringLiteral() 88 Address BitCast = Builder.CreateBitCast(Temporary, ConvertType(ArgQT)); in EmitObjCBoxedExpr() 99 llvm::Value *Cast = Builder.CreateBitCast(GV, ConvertType(EncodingQT)); in EmitObjCBoxedExpr() 110 ConvertType(E->getType())); in EmitObjCBoxedExpr() 195 llvm::ConstantInt::get(CGM.getTypes().ConvertType(ArgQT), NumElements); in EmitObjCCollectionLiteral() 222 ConvertType(E->getType())); in EmitObjCCollectionLiteral() 257 llvm::Type *ExpLLVMTy = CGF.ConvertType(ExpT); in AdjustObjCObjectType() 913 llvm::Type *retTy = ConvertType(getterMethod->getReturnType()); in generateObjCGetterBody() 968 getTypes().ConvertType(getterMethod->getReturnType()))); in generateObjCGetterBody() 1022 value, ConvertType(GetterMethodDecl->getReturnType())); in generateObjCGetterBody() [all …]
|
D | TargetInfo.cpp | 581 Val = CGF.Builder.CreateVAArg(VAListAddr.getPointer(), CGF.ConvertType(Ty)); in EmitVAArgInstr() 703 return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); in classifyArgumentType() 722 return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); in classifyReturnType() 1293 return ABIArgInfo::getDirect(CGT.ConvertType(QualType(SeltTy, 0))); in classifyReturnType() 1562 if (IsX86_MMXType(CGT.ConvertType(Ty))) in classifyArgumentType() 2747 llvm::Type *IRType = CGT.ConvertType(Ty); in GetByteVectorType() 3054 ResType = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType() 3072 ResType = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 0, RetTy, 0); in classifyReturnType() 3105 HighPart = GetINTEGERTypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType() 3110 HighPart = GetSSETypeAtOffset(CGT.ConvertType(RetTy), 8, RetTy, 8); in classifyReturnType() [all …]
|
D | CGExprComplex.cpp | 209 llvm::Constant *Null = llvm::Constant::getNullValue(CGF.ConvertType(Elem)); in VisitCXXScalarValueInitExpr() 216 llvm::Constant::getNullValue(CGF.ConvertType(Elem)); in VisitImplicitValueInitExpr() 367 CGF.ConvertType(getComplexType(E->getType())->getElementType()); in VisitExpr() 440 V = Builder.CreateElementBitCast(V, CGF.ConvertType(DestTy)); in EmitCast() 1017 llvm::Type* LTy = CGF.ConvertType(Ty); in VisitInitListExpr() 1029 CGF.ConvertType(E->getType()->castAs<ComplexType>()->getElementType()); in VisitVAArgExpr()
|
/external/llvm-project/flang/lib/Lower/ |
D | CMakeLists.txt | 8 ConvertType.cpp
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | bfloat16_normalization.cc | 60 StatusOr<HloInstruction*> ConvertType(HloInstruction* hlo, PrimitiveType from, 117 StatusOr<HloInstruction*> BFloat16NormalizationVisitor::ConvertType( in ConvertType() function in xla::__anonefae73130111::BFloat16NormalizationVisitor 155 TF_ASSIGN_OR_RETURN(auto new_hlo, ConvertType(hlo, from, to, computation)); in InsertConvertAfterOutput() 223 ConvertType(operand, from, to, computation)); in InsertConvertBeforeOperand()
|
/external/flatbuffers/lua/flatbuffers/ |
D | numTypes.lua | 55 function type_mt:ConvertType(n, otherType) function
|