/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 __anonf981b7880111::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 | 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 | 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 __anonf87f0b7c0111::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 | 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()
|
D | CGCall.cpp | 715 retInfo.setCoerceToType(ConvertType(FI->getReturnType())); in arrangeLLVMFunctionInfo() 719 I.info.setCoerceToType(ConvertType(I.type)); in arrangeLLVMFunctionInfo() 922 llvm::Type *EltTy = ConvertType(CExp->EltTy); in getExpandedTypes() 927 *TI++ = ConvertType(Ty); in getExpandedTypes() 1487 llvm::Type *ty = ConvertType(ret); in GetFunctionType() 1511 llvm::Type *Ty = ConvertType(Ret); in GetFunctionType() 2017 llvm::Type *varType = CGF.ConvertType(var->getType()); in emitArgumentDemotion() 2086 llvm::Type* LLVMTy = CGM.getTypes().ConvertType(RetTy); in EmitFunctionProlog() 2203 ArgI.getCoerceToType() == ConvertType(Ty) && in EmitFunctionProlog() 2313 llvm::Type *LTy = ConvertType(Arg->getType()); in EmitFunctionProlog() [all …]
|
D | ItaniumCXXABI.cpp | 1075 llvm::Type *SizeTy = CGF.ConvertType(getContext().getSizeType()); in emitThrow() 1114 CGF.ConvertType(CGF.getContext().getPointerDiffType()); in getItaniumDynamicCastFn() 1228 CGF.ConvertType(CGF.getContext().getPointerDiffType()); in EmitDynamicCastCall() 1229 llvm::Type *DestLTy = CGF.ConvertType(DestTy); in EmitDynamicCastCall() 1272 CGF.ConvertType(CGF.getContext().getPointerDiffType()); in EmitDynamicCastToVoid() 1273 llvm::Type *DestLTy = CGF.ConvertType(DestTy); in EmitDynamicCastToVoid() 1669 CGF.ConvertType(CGF.getContext().getPointerDiffType()); in performTypeAdjustment() 1864 llvm::FunctionType::get(CGM.getTypes().ConvertType(CGM.getContext().IntTy), in getGuardAcquireFn() 2833 CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in BuildVTablePointer() 3200 CGM.getTypes().ConvertType(CGM.getContext().UnsignedIntTy); in BuildVMIClassTypeInfo() [all …]
|
D | CGObjCGNU.cpp | 942 Types.ConvertType(CGM.getContext().IntTy)); in CGObjCGNU() 944 Types.ConvertType(CGM.getContext().LongTy)); in CGObjCGNU() 946 Types.ConvertType(CGM.getContext().getSizeType())); in CGObjCGNU() 948 Types.ConvertType(CGM.getContext().getPointerDiffType())); in CGObjCGNU() 949 BoolTy = CGM.getTypes().ConvertType(CGM.getContext().BoolTy); in CGObjCGNU() 963 SelectorTy = cast<llvm::PointerType>(CGM.getTypes().ConvertType(selTy)); in CGObjCGNU() 980 IdTy = cast<llvm::PointerType>(CGM.getTypes().ConvertType(ASTIdTy)); in CGObjCGNU() 1275 CGM.getTypes().ConvertType(ResultType))); in GenerateMessageSendSuper() 1383 CGM.getTypes().ConvertType(ResultType))); in GenerateMessageSend() 1419 IdTy = cast<llvm::PointerType>(CGM.getTypes().ConvertType(ASTIdTy)); in GenerateMessageSend() [all …]
|
D | CGExpr.cpp | 95 return CreateTempAlloca(ConvertType(Ty), Align, Name); in CreateIRTemp() 861 return Builder.CreateBitCast(Addr, ConvertType(E->getType())); in EmitPointerWithAlignment() 910 ConvertType(Ty->castAs<ComplexType>()->getElementType()); in GetUndefRValue() 924 return RValue::get(llvm::UndefValue::get(ConvertType(Ty))); in GetUndefRValue() 938 llvm::Type *Ty = llvm::PointerType::getUnqual(ConvertType(E->getType())); in EmitUnsupportedLValue() 1490 llvm::Type *ResLTy = ConvertType(LV.getType()); in EmitLoadOfBitfieldLValue() 1550 llvm::Type *VectorElementTy = CGM.getTypes().ConvertType(EQT); in EmitExtVectorElementLValue() 1575 llvm::Type *OrigTy = CGM.getTypes().ConvertType(LV.getType()); in EmitLoadOfGlobalRegLValue() 1828 llvm::Type *OrigTy = CGM.getTypes().ConvertType(Dst.getType()); in EmitStoreThroughGlobalRegLValue() 2030 V = CGF.Builder.CreateBitCast(V, CGF.ConvertType(NoProtoType)); in EmitFunctionDeclLValue() [all …]
|
D | CGClass.cpp | 186 Types.ConvertType(getContext().getPointerDiffType()); in GetNonVirtualBaseClassOffset() 202 assert(This.getElementType() == ConvertType(Derived)); in GetAddressOfDirectBaseInCompleteClass() 219 V = Builder.CreateElementBitCast(V, ConvertType(Base)); in GetAddressOfDirectBaseInCompleteClass() 303 ConvertType((PathEnd[-1])->getType())->getPointerTo(); in GetAddressOfBaseClass() 377 llvm::Type *DerivedPtrTy = ConvertType(DerivedTy)->getPointerTo(); in GetAddressOfDerivedClass() 774 llvm::Type *BasePtr = ConvertType(BaseElementTy); in EmitInitializerForField() 2302 llvm::Type *t = CGM.getTypes().ConvertType(QT); in EmitSynthesizedCXXCopyCtorCall() 2972 llvm::Value *ThisPtr = llvm::UndefValue::get(getTypes().ConvertType(ThisType)); in EmitLambdaDelegatingInvokeBody()
|
D | CGExprCXX.cpp | 1503 Size = llvm::ConstantInt::get(ConvertType(SizeTy), in EmitDeleteCall() 1508 llvm::Value *DeletePtr = Builder.CreateBitCast(Ptr, ConvertType(ArgTy)); in EmitDeleteCall() 1625 = CGF.Builder.CreateBitCast(Ptr, CGF.ConvertType(VoidPtrTy)); in Emit() 1632 = cast<llvm::IntegerType>(CGF.ConvertType(size_t)); in Emit() 1818 ConvertType(E->getType())->getPointerTo(); in EmitCXXTypeidExpr() 1842 llvm::Type *DestLTy = CGF.ConvertType(DestTy); in EmitDynamicCastToNull()
|
D | CodeGenTypes.h | 183 llvm::Type *ConvertType(QualType T);
|
D | CGBlocks.cpp | 80 llvm::Type *ulong = CGM.getTypes().ConvertType(C.UnsignedLongTy); in buildBlockDescriptor() 87 i8p = CGM.getTypes().ConvertType(C.VoidPtrTy); in buildBlockDescriptor() 354 llvm::Type *llvmType = CGM.getTypes().ConvertType(thisType); in computeBlockInfo() 898 ConvertType(blockInfo.getBlockExpr()->getType())); in EmitBlockLiteral() 909 getTypes().ConvertType(getContext().UnsignedLongTy); in getBlockDescriptorType() 1097 CGM.getTypes().ConvertType(blockInfo.getBlockExpr()->getType()); in buildGlobalBlock()
|
D | CodeGenModule.cpp | 2402 Init = llvm::UndefValue::get(getTypes().ConvertType(ASTTy)); in EmitGlobalVarDefinition() 2429 Init = llvm::UndefValue::get(getTypes().ConvertType(T)); in EmitGlobalVarDefinition() 3115 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); in GetAddrOfConstantCFString() 3149 auto *STy = cast<llvm::StructType>(getTypes().ConvertType(CFTy)); in GetAddrOfConstantCFString() 3157 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); in GetAddrOfConstantCFString() 3201 Ty = getTypes().ConvertType(getContext().LongTy); in GetAddrOfConstantCFString() 3243 llvm::Type *Ty = getTypes().ConvertType(getContext().IntTy); in GetAddrOfConstantString() 3296 NSConstantStringType = cast<llvm::StructType>(getTypes().ConvertType(NSTy)); in GetAddrOfConstantString() 3324 llvm::Type *Ty = getTypes().ConvertType(getContext().UnsignedIntTy); in GetAddrOfConstantString() 3394 auto *AType = cast<llvm::ArrayType>(getTypes().ConvertType(E->getType())); in GetConstantArrayFromStringLiteral()
|
D | SwiftCallingConv.cpp | 84 auto eltLLVMType = CGM.getTypes().ConvertType(eltType); in addTypedData() 97 auto llvmType = CGM.getTypes().ConvertType(type); in addTypedData()
|
D | CGObjCMac.cpp | 200 llvm::Type *T = Types.ConvertType(Ctx.getObjCProtoType()); in getExternalProtocolPtrTy() 1831 CGM.getTypes().ConvertType(CGF.getContext().getObjCClassType()); in GenerateMessageSendSuper() 2325 llvm::Type *Ty = CGM.getTypes().ConvertType(QualType(RT, 0)); in BuildRCBlockVarRecordLayout() 2698 CGF.ConvertType( in EmitClassRefViaRuntime() 4264 CGF.ConvertType(CatchParam->getType())); in EmitTryOrSynchronizedStmt() 4498 CGM.getTypes().ConvertType(CGM.getContext().LongTy), in EmitIvarOffset() 5220 ShortTy = Types.ConvertType(Ctx.ShortTy); in ObjCCommonTypesHelper() 5221 IntTy = Types.ConvertType(Ctx.IntTy); in ObjCCommonTypesHelper() 5222 LongTy = Types.ConvertType(Ctx.LongTy); in ObjCCommonTypesHelper() 5223 LongLongTy = Types.ConvertType(Ctx.LongLongTy); in ObjCCommonTypesHelper() [all …]
|
D | CodeGenFunction.cpp | 166 llvm::Type *CodeGenFunction::ConvertType(QualType T) { in ConvertType() function in CodeGenFunction 167 return CGM.getTypes().ConvertType(T); in ConvertType() 613 CGM.getTypes().ConvertType(A->getTypeHint()))), in EmitOpenCLKernelMetadata() 1612 llvm::Type *baseType = ConvertType(eltType); in emitArrayLength()
|
D | CGObjCRuntime.cpp | 254 llvm::Type *CatchType = CGF.ConvertType(CatchParam->getType()); in EmitTryCatchStmt()
|
D | CGStmt.cpp | 1718 llvm::Type *Ty = ConvertType(InputType); in EmitAsmInputLValue() 1892 ResultRegTypes.back() = ConvertType(InputTy); in EmitAsmStmt() 1986 llvm::Type *OutputTy = ConvertType(OutputType); in EmitAsmStmt()
|
/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<float, bfloat16>(f32_literal); in ConvertF32ToBF16()
|
/external/flatbuffers/lua/flatbuffers/ |
D | numTypes.lua | 41 function type_mt:ConvertType(n, otherType) function
|