Home
last modified time | relevance | path

Searched refs:getTypes (Results 1 – 25 of 67) sorted by relevance

123

/external/dagger2/compiler/src/test/java/dagger/internal/codegen/writer/
DTypeNamesTest.java57 compilation.getTypes().getDeclaredType(getElement(Set.class), getType(Object.class)); in forTypeMirror_parameterizedType()
71 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BOOLEAN))) in forTypeMirror_primitive()
73 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.BYTE))) in forTypeMirror_primitive()
75 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.SHORT))) in forTypeMirror_primitive()
77 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.INT))) in forTypeMirror_primitive()
79 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.LONG))) in forTypeMirror_primitive()
81 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.CHAR))) in forTypeMirror_primitive()
83 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.FLOAT))) in forTypeMirror_primitive()
85 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getPrimitiveType(TypeKind.DOUBLE))) in forTypeMirror_primitive()
91 assertThat(TypeNames.forTypeMirror(compilation.getTypes().getArrayType(getType(Object.class)))) in forTypeMirror_arrays()
[all …]
/external/clang/lib/CodeGen/
DCodeGenABITypes.cpp33 return CGM.getTypes().arrangeObjCMessageSendSignature(MD, receiverType); in arrangeObjCMessageSendSignature()
40 return CGM.getTypes().arrangeFreeFunctionType(Ty, FD); in arrangeFreeFunctionType()
46 return CGM.getTypes().arrangeFreeFunctionType(Ty); in arrangeFreeFunctionType()
54 return CGM.getTypes().arrangeCXXMethodType(RD, FTP, MD); in arrangeCXXMethodType()
63 return CGM.getTypes().arrangeLLVMFunctionInfo( in arrangeFreeFunctionCall()
DCGCXX.cpp146 llvm::Type *AliasValueType = getTypes().GetFunctionType(AliasDecl); in TryEmitDefinitionAsAlias()
220 getTypes().arrangeCXXStructorDeclaration(MD, Type); in codegenCXXStructor()
254 FnInfo = &getTypes().arrangeCXXStructorDeclaration(MD, Type); in getAddrOfCXXStructor()
255 FnType = getTypes().GetFunctionType(*FnInfo); in getAddrOfCXXStructor()
320 const CGFunctionInfo &FInfo = CGM.getTypes().arrangeCXXStructorDeclaration( in BuildAppleKextVirtualDestructorCall()
322 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FInfo); in BuildAppleKextVirtualDestructorCall()
DCGDeclCXX.cpp107 addr.getPointer(), CGF.getTypes().ConvertType(type)->getPointerTo()); in EmitDeclDestroy()
165 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(T); in EmitCXXGlobalVarDeclInit()
205 const CGFunctionInfo &FI = CGM.getTypes().arrangeNullaryFunction(); in createAtExitStub()
341 getTypes().arrangeNullaryFunction(), in EmitCXXGlobalVarDeclInitFunc()
417 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalInitFunc()
486 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalDtorFunc()
506 getTypes().arrangeNullaryFunction(), in GenerateCXXGlobalVarDeclInitFunc()
529 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalInitFunc()
580 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalDtorsFunc()
610 CGM.getTypes().arrangeBuiltinFunctionDeclaration(getContext().VoidTy, args); in generateDestroyHelper()
[all …]
DCGObjCRuntime.cpp94 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset()
134 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize, in EmitValueForIvarAtOffset()
361 CGM.getTypes().arrangeObjCMessageSendSignature(method, callArgs[0].Ty); in getMessageSendInfo()
364 CGM.getTypes().GetFunctionType(signature)->getPointerTo(); in getMessageSendInfo()
367 CGM.getTypes().arrangeCall(signature, callArgs); in getMessageSendInfo()
374 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
378 CGM.getTypes().GetFunctionType(argsInfo)->getPointerTo(); in getMessageSendInfo()
DCGCXXABI.cpp68 return llvm::Constant::getNullValue(CGM.getTypes().ConvertType(T)); in GetBogusMemberPointer()
73 return CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in ConvertMemberPointerType()
87 llvm::FunctionType *FTy = CGM.getTypes().GetFunctionType( in EmitLoadOfMemberFunctionPointer()
88 CGM.getTypes().arrangeCXXMethodType(RD, FPT, /*FD=*/nullptr)); in EmitLoadOfMemberFunctionPointer()
DCGVTables.cpp48 llvm::Type *Ty = getTypes().GetFunctionTypeForVTable(GD); in GetAddrOfThunk()
153 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FnInfo); in GenerateVarArgsThunk()
293 const CGFunctionInfo &CallFnInfo = CGM.getTypes().arrangeCXXMethodCall( in EmitCallAndReturnForThunk()
403 CGM.getTypes().GetFunctionType(CGM.getTypes().arrangeGlobalDeclaration(GD)); in generateThunk()
412 const CGFunctionInfo &FnInfo = CGM.getTypes().arrangeGlobalDeclaration(GD); in emitThunk()
429 CGM.getTypes().GetFunctionTypeForVTable(GD)) { in emitThunk()
497 if (!CGM.getTypes().isFuncTypeConvertible( in maybeEmitThunkForVTable()
532 CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in CreateVTableInitializer()
637 llvm::Type *Ty = CGM.getTypes().GetFunctionTypeForVTable(GD); in CreateVTableInitializer()
DCGBlocks.cpp80 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()
440 CGM.getTypes().ConvertTypeForMem(VT); in computeBlockInfo()
909 getTypes().ConvertType(getContext().UnsignedLongTy); in getBlockDescriptorType()
990 CGM.getTypes().arrangeBlockFunctionCall(Args, FuncTy); in EmitBlockCallExpr()
993 llvm::Type *BlockFTy = CGM.getTypes().GetFunctionType(FnInfo); in EmitBlockCallExpr()
1097 CGM.getTypes().ConvertType(blockInfo.getBlockExpr()->getType()); in buildGlobalBlock()
1181 CGM.getTypes().arrangeBlockFunctionDeclaration(fnType, args); in GenerateBlockFunction()
1185 llvm::FunctionType *fnLLVMType = CGM.getTypes().GetFunctionType(fnInfo); in GenerateBlockFunction()
[all …]
DCGExprConstant.cpp546 llvm::Type *ValTy = CGM.getTypes().ConvertType(Ty); in Finalize()
991 return CGM.getTypes().ConvertType(T); in ConvertType()
1161 if (CGM.getTypes().ConvertType(Field->getType()) != EltInit->getType() || in Build()
1231 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantInit()
1256 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(E->getType()); in EmitConstantExpr()
1288 llvm::Type *DestTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValue()
1400 llvm::Type *ResultType = getTypes().ConvertType(DestType); in EmitConstantValue()
1426 getTypes().ConvertType(CAT->getElementType()); in EmitConstantValue()
1477 llvm::Type *BoolTy = getTypes().ConvertTypeForMem(DestType); in EmitConstantValueForMemory()
1512 const CGRecordLayout &layout = CGM.getTypes().getCGRecordLayout(record); in EmitNullConstant()
[all …]
DCodeGenModule.cpp1044 SetLLVMFunctionAttributes(FD, getTypes().arrangeGlobalDeclaration(GD), F); in SetFunctionAttributes()
1496 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference()
1585 const CGFunctionInfo &FI = getTypes().arrangeGlobalDeclaration(GD); in EmitGlobal()
1586 llvm::Type *Ty = getTypes().GetFunctionType(FI); in EmitGlobal()
1991 Ty = getTypes().ConvertFunctionType(CanonTy, FD); in GetAddrOfFunction()
2192 auto FInfo = &getTypes().arrangeCXXMethodDeclaration( in GetAddrOfGlobal()
2194 auto Ty = getTypes().GetFunctionType(*FInfo); in GetAddrOfGlobal()
2198 const CGFunctionInfo &FI = getTypes().arrangeGlobalDeclaration(GD); in GetAddrOfGlobal()
2199 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); in GetAddrOfGlobal()
2261 Ty = getTypes().ConvertTypeForMem(ASTTy); in GetAddrOfGlobalVar()
[all …]
DCGObjC.cpp195 llvm::ConstantInt::get(CGM.getTypes().ConvertType(ArgQT), NumElements); in EmitObjCCollectionLiteral()
528 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD); in StartObjCMethod()
593 CGF.EmitCall(CGF.getTypes().arrangeBuiltinFunctionCall(Context.VoidTy, args), in emitStructGetterCall()
858 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicGetterCall()
957 getTypes().arrangeBuiltinFunctionCall(propType, args), in generateObjCGetterBody()
968 getTypes().ConvertType(getterMethod->getReturnType()))); in generateObjCGetterBody()
1073 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitStructSetterCall()
1109 CGF.getTypes().arrangeBuiltinFunctionCall(CGF.getContext().VoidTy, args), in emitCPPObjectAtomicSetterCall()
1239 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
1250 EmitCall(getTypes().arrangeBuiltinFunctionCall(getContext().VoidTy, args), in generateObjCSetterBody()
[all …]
DCGExprCXX.cpp81 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required), in EmitCXXMemberOrOperatorCall()
92 return EmitCall(CGM.getTypes().arrangeCXXStructorDeclaration(DD, Type), in EmitCXXDestructorCall()
210 FInfo = &CGM.getTypes().arrangeCXXStructorDeclaration( in EmitCXXMemberOrOperatorMemberCallExpr()
213 FInfo = &CGM.getTypes().arrangeCXXStructorDeclaration( in EmitCXXMemberOrOperatorMemberCallExpr()
216 FInfo = &CGM.getTypes().arrangeCXXMethodDeclaration(CalleeDecl); in EmitCXXMemberOrOperatorMemberCallExpr()
218 llvm::FunctionType *Ty = CGM.getTypes().GetFunctionType(*FInfo); in EmitCXXMemberOrOperatorMemberCallExpr()
332 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required), in EmitCXXMemberPointerCallExpr()
926 if (!CGM.getTypes().isZeroInitializable(ElementType)) in EmitNewArrayInitializer()
1119 CGF.EmitCall(CGF.CGM.getTypes().arrangeFreeFunctionCall( in EmitNewDeleteCall()
DCGOpenMPRuntime.cpp753 CGM.getTypes().arrangeBuiltinFunctionDeclaration(C.VoidTy, Args); in emitCombinerOrInitializer()
754 auto *FnTy = CGM.getTypes().GetFunctionType(FnInfo); in emitCombinerOrInitializer()
1573 llvm::Type *TypeParams[] = {CGM.getTypes().ConvertTypeForMem(ParamTy)}; in createRuntimeFunction()
1583 llvm::Type *TypeParams[] = {CGM.getTypes().ConvertTypeForMem(ParamTy)}; in createRuntimeFunction()
1793 auto &FI = CGM.getTypes().arrangeBuiltinFunctionDeclaration( in emitThreadPrivateVarDefinition()
1795 auto FTy = CGM.getTypes().GetFunctionType(FI); in emitThreadPrivateVarDefinition()
1824 auto &FI = CGM.getTypes().arrangeBuiltinFunctionDeclaration( in emitThreadPrivateVarDefinition()
1826 auto FTy = CGM.getTypes().GetFunctionType(FI); in emitThreadPrivateVarDefinition()
1870 CGM.getTypes().arrangeNullaryFunction()); in emitThreadPrivateVarDefinition()
1874 CGM.getTypes().arrangeNullaryFunction(), ArgList, in emitThreadPrivateVarDefinition()
[all …]
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DTypeListSection.java40 @Nonnull Collection<? extends TypeKey> getTypes(@Nullable TypeListKey key); in getTypes() method
/external/guava/guava-tests/test/com/google/common/reflect/
DTypeTokenTest.java162 TypeToken<Object>.TypeSet types = new TypeToken<Object>() {}.getTypes(); in testGetTypes_noSuperclass()
172 TypeToken<Interface1>.TypeSet types = new TypeToken<Interface1>() {}.getTypes(); in testGetTypes_fromInterface()
182 TypeToken<Integer>.TypeSet types = TypeToken.of(int.class).getTypes(); in testGetTypes_fromPrimitive()
194 TypeToken<Class3<String>>.TypeSet types = new TypeToken<Class3<String>>() {}.getTypes(); in testGetTypes_withInterfacesAndSuperclasses()
222 TypeToken<Class3<String>>.TypeSet types = new TypeToken<Class3<String>>() {}.getTypes(); in testGetTypes_rawTypes_withInterfacesAndSuperclasses()
248 TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<B>() {}.capture()).getTypes(); in testGetTypes_ignoresTypeVariablesByDefault()
263 TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<B>() {}.capture()).getTypes(); in testGetTypes_rawTypes_ignoresTypeVariablesByDefault()
276 TypeToken<?>.TypeSet types = TypeToken.of(new TypeCapture<A>() {}.capture()).getTypes(); in testGetTypes_manyBounds()
1463 reserialize(TypeToken.of(String.class).getTypes()); in testSerializable()
1464 reserialize(TypeToken.of(String.class).getTypes().classes()); in testSerializable()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DFindUsedTypes.h36 const SetVector<Type *> &getTypes() const { return UsedTypes; } in getTypes() function
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/
DMethodSignatureFormatterTest.java54 String formatted = new MethodSignatureFormatter(compilationRule.getTypes()).format(method); in methodSignatureTest()
DBindingFieldTest.java52 this.types = compilationRule.getTypes(); in setUp()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DTypeIdItem.java78 public static String[] getTypes(@Nonnull RawDexFile dexFile) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java260 public List<DexBackedTypeReference> getTypes() {
310 return getTypes();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderTypeListPool.java82 public Collection<? extends BuilderTypeReference> getTypes(@Nullable BuilderTypeList key) { in getTypes() method in BuilderTypeListPool
/external/guava/guava-testlib/src/com/google/common/testing/
DDummyProxy.java48 interfaceClasses.addAll(interfaceType.getTypes().interfaces().rawTypes()); in newProxy()
/external/swiftshader/third_party/LLVM/lib/Bitcode/Writer/
DValueEnumerator.h116 const TypeList &getTypes() const { return Types; } in getTypes() function
DBitcodeWriter.cpp192 const ValueEnumerator::TypeList &TypeList = VE.getTypes(); in WriteTypeTable()
201 Log2_32_Ceil(VE.getTypes().size()+1))); in WriteTypeTable()
212 Log2_32_Ceil(VE.getTypes().size()+1))); in WriteTypeTable()
221 Log2_32_Ceil(VE.getTypes().size()+1))); in WriteTypeTable()
237 Log2_32_Ceil(VE.getTypes().size()+1))); in WriteTypeTable()
245 Log2_32_Ceil(VE.getTypes().size()+1))); in WriteTypeTable()
1470 Log2_32_Ceil(VE.getTypes().size()+1))); in WriteBlockInfo()
1490 Log2_32_Ceil(VE.getTypes().size()+1))); in WriteBlockInfo()
1543 Log2_32_Ceil(VE.getTypes().size()+1))); in WriteBlockInfo()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DTypeListPool.java65 …public Collection<? extends CharSequence> getTypes(Key<? extends Collection<? extends CharSequence… in getTypes() method in TypeListPool

123