| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenABITypes.cpp | 39 return CGM.getTypes().arrangeObjCMessageSendSignature(MD, receiverType); in arrangeObjCMessageSendSignature() 45 return CGM.getTypes().arrangeFreeFunctionType(Ty); in arrangeFreeFunctionType() 51 return CGM.getTypes().arrangeFreeFunctionType(Ty); in arrangeFreeFunctionType() 59 return CGM.getTypes().arrangeCXXMethodType(RD, FTP, MD); in arrangeCXXMethodType() 68 return CGM.getTypes().arrangeLLVMFunctionInfo(returnType, FnInfoOpts::None, in arrangeFreeFunctionCall() 99 llvm::Type *T = CGM.getTypes().ConvertType(FD->getType()); in convertFreeFunctionType() 109 return CGM.getTypes().ConvertTypeForMem(T); in convertTypeForMemory() 115 return CGM.getTypes().getCGRecordLayout(RD).getLLVMFieldNo(FD); in getLLVMFieldNumber()
|
| H A D | CGCXX.cpp | 139 llvm::Type *AliasValueType = getTypes().GetFunctionType(AliasDecl); in TryEmitBaseDestructorAsAlias() 207 const CGFunctionInfo &FnInfo = getTypes().arrangeCXXStructorDeclaration(GD); in codegenCXXStructor() 236 FnInfo = &getTypes().arrangeCXXStructorDeclaration(GD); in getAddrAndTypeOfCXXStructor() 237 FnType = getTypes().GetFunctionType(*FnInfo); in getAddrAndTypeOfCXXStructor() 310 const CGFunctionInfo &FInfo = CGM.getTypes().arrangeCXXStructorDeclaration( in BuildAppleKextVirtualDestructorCall() 312 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FInfo); in BuildAppleKextVirtualDestructorCall()
|
| H A D | CGDeclCXX.cpp | 197 unsigned ExpectedAddrSpace = getTypes().getTargetAddressSpace(T); in EmitCXXGlobalVarDeclInit() 246 const CGFunctionInfo &FI = CGM.getTypes().arrangeNullaryFunction(); in createAtExitStub() 286 const CGFunctionInfo &FI = CGM.getTypes().arrangeLLVMFunctionInfo( in createTLSAtExitStub() 556 FTy, FnName.str(), getTypes().arrangeNullaryFunction(), D->getLocation()); in EmitCXXGlobalVarDeclInitFunc() 750 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXModuleInitFunc() 872 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalInitFunc() 970 const CGFunctionInfo &FI = getTypes().arrangeNullaryFunction(); in EmitCXXGlobalCleanUpFunc() 1031 getContext().VoidTy, Fn, getTypes().arrangeNullaryFunction(), in GenerateCXXGlobalVarDeclInitFunc() 1064 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalInitFunc() 1124 getTypes().arrangeNullaryFunction(), FunctionArgList()); in GenerateCXXGlobalCleanUpFunc() [all …]
|
| H A D | CGExprConstant.cpp | 624 CGM.getTypes().convertTypeForLoadStore(Field->getType(), C->getType()); in AppendBitField() 633 CGM.getTypes().getCGRecordLayout(Field->getParent()); in AppendBitField() 665 llvm::Type *ElemTy = Emitter.CGM.getTypes().ConvertTypeForMem(ElemType); in EmitDesignatedInitUpdater() 760 CGM.getTypes().ConvertTypeForMem(Field->getType())); in Build() 896 llvm::Type *ValTy = CGM.getTypes().ConvertType(Type); in Finalize() 1379 cast<llvm::ArrayType>(CGM.getTypes().ConvertType(ILE->getType())); in EmitArrayInitialization() 1421 llvm::Type *ValTy = CGM.getTypes().ConvertType(destType); in VisitDesignatedInitUpdateExpr() 1491 return CGM.getTypes().ConvertType(T); in ConvertType() 1895 llvm::Type *boolTy = CGM.getTypes().ConvertTypeForMem(destType); in emitForMemory() 1904 llvm::Type *LoadStoreTy = CGM.getTypes().convertTypeForLoadStore(destType); in emitForMemory() [all …]
|
| H A D | CGObjCRuntime.cpp | 104 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize, in EmitValueForIvarAtOffset() 371 CGM.getTypes().arrangeObjCMessageSendSignature(method, callArgs[0].Ty); in getMessageSendInfo() 374 CGM.getTypes().arrangeCall(signature, callArgs); in getMessageSendInfo() 381 CGM.getTypes().arrangeUnprototypedObjCMessageSend(resultType, callArgs); in getMessageSendInfo()
|
| H A D | CGVTables.cpp | 175 llvm::Type *Ty = CGM.getTypes().GetFunctionType(FnInfo); in GenerateVarArgsThunk() 359 const CGFunctionInfo &CallFnInfo = CGM.getTypes().arrangeCXXMethodCall( in EmitCallAndReturnForThunk() 476 Ty = CGM.getTypes().GetFunctionType(FnInfo); in generateThunk() 530 llvm::Type *ThunkVTableTy = CGM.getTypes().GetFunctionTypeForVTable(GD); in maybeEmitThunk() 534 bool IsUnprototyped = !CGM.getTypes().isFuncTypeConvertible( in maybeEmitThunk() 542 IsUnprototyped ? CGM.getTypes().arrangeUnprototypedMustTailThunk(MD) in maybeEmitThunk() 543 : CGM.getTypes().arrangeGlobalDeclaration(GD); in maybeEmitThunk() 544 llvm::FunctionType *ThunkFnTy = CGM.getTypes().GetFunctionType(FnInfo); in maybeEmitThunk() 848 llvm::Type *fnTy = CGM.getTypes().GetFunctionTypeForVTable(GD); in addVTableComponent()
|
| H A D | CGBlocks.cpp | 157 cast<llvm::IntegerType>(CGM.getTypes().ConvertType(C.UnsignedLongTy)); in buildBlockDescriptor() 594 llvm::Type *llvmType = CGM.getTypes().ConvertType(thisType); in computeBlockInfo() 644 CGM.getTypes().ConvertTypeForMem(VT); in computeBlockInfo() 1102 getTypes().ConvertType(getContext().UnsignedLongTy); in getBlockDescriptorType() 1217 CGM.getTypes().arrangeBlockFunctionCall(Args, FuncTy); in EmitBlockCallExpr() 1373 CGM.getTypes().ConvertType(blockInfo.getBlockExpr()->getType()); in buildGlobalBlock() 1474 CGM.getTypes().arrangeBlockFunctionDeclaration(fnType, args); in GenerateBlockFunction() 1478 llvm::FunctionType *fnLLVMType = CGM.getTypes().GetFunctionType(fnInfo); in GenerateBlockFunction() 1898 CGM.getTypes().arrangeBuiltinFunctionDeclaration(ReturnTy, args); in GenerateCopyHelperFunction() 1902 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI); in GenerateCopyHelperFunction() [all …]
|
| H A D | TargetInfo.cpp | 188 CGF.getTypes().ClangCallConvToLLVMCallConv(CallingConv::CC_OpenCLKernel); in createEnqueuedBlockKernel() 265 return std::make_unique<DefaultTargetCodeGenInfo>(CGM.getTypes()); in createDefaultTargetCodeGenInfo()
|
| H A D | CodeGenModule.cpp | 405 TBAA.reset(new CodeGenTBAA(Context, getTypes(), TheModule, CodeGenOpts, in CodeGenModule() 1458 getTypes().UpdateCompletedType(TD); in UpdateCompletedType() 1463 getTypes().RefreshTypeCacheForClass(RD); in RefreshTypeCacheForClass() 2846 SetLLVMFunctionAttributes(GD, getTypes().arrangeGlobalDeclaration(GD), F, in SetFunctionAttributes() 3613 llvm::Type *Ty = getTypes().ConvertTypeForMem(GD->getType()); in GetAddrOfMSGuidDecl() 3684 llvm::Type *DeclTy = getTypes().ConvertTypeForMem(VD->getType()); in GetWeakRefReference() 3810 const CGFunctionInfo &FI = getTypes().arrangeGlobalDeclaration(GD); in EmitGlobal() 3811 llvm::Type *Ty = getTypes().GetFunctionType(FI); in EmitGlobal() 4214 const CGFunctionInfo &FI = getTypes().arrangeGlobalDeclaration(CurGD); in emitMultiVersionFunctions() 4215 llvm::FunctionType *Ty = getTypes().GetFunctionType(FI); in emitMultiVersionFunctions() [all …]
|
| H A D | ItaniumCXXABI.cpp | 1134 CodeGenTypes &Types = CGM.getTypes(); in BuildMemberPointer() 2252 &CGM.getTypes().arrangeCXXStructorDeclaration(GD); in EmitVirtualDestructorCall() 2253 llvm::FunctionType *Ty = CGF.CGM.getTypes().GetFunctionType(*FInfo); in EmitVirtualDestructorCall() 2556 llvm::FunctionType::get(CGM.getTypes().ConvertType(CGM.getContext().IntTy), in getGuardAcquireFn() 2826 assert((TLS || CGF.getTypes().getCodeGenOpts().CXAAtExit) && in emitGlobalDtorWithCXAAtExit() 2884 FTy, FnName, CGM.getTypes().arrangeNullaryFunction(), SourceLocation()); in createGlobalInitOrCleanupFn() 2900 getTypes().arrangeNullaryFunction(), FunctionArgList(), in unregisterGlobalDtorsWithUnAtExit() 2955 getTypes().arrangeNullaryFunction(), FunctionArgList(), in registerGlobalDtorsWithAtExit() 3065 const CGFunctionInfo &FI = CGM.getTypes().arrangeBuiltinFunctionDeclaration( in getOrCreateThreadLocalWrapper() 3068 llvm::FunctionType *FnTy = CGM.getTypes().GetFunctionType(FI); in getOrCreateThreadLocalWrapper() [all …]
|
| H A D | CGExprCXX.cpp | 50 Args.add(RValue::get(This), CGF.getTypes().DeriveThisType(RD, MD)); in commonEmitCXXMemberOrOperatorCall() 94 auto &FnInfo = CGM.getTypes().arrangeCXXMethodCall( in EmitCXXMemberOrOperatorCall() 114 llvm::Type *NewType = CGM.getTypes().ConvertType(DstTy); in EmitCXXDestructorCall() 122 return EmitCall(CGM.getTypes().arrangeCXXStructorDeclaration(Dtor), Callee, in EmitCXXDestructorCall() 333 FInfo = &CGM.getTypes().arrangeCXXStructorDeclaration( in EmitCXXMemberOrOperatorMemberCallExpr() 336 FInfo = &CGM.getTypes().arrangeCXXMethodDeclaration(CalleeDecl); in EmitCXXMemberOrOperatorMemberCallExpr() 338 llvm::FunctionType *Ty = CGM.getTypes().GetFunctionType(*FInfo); in EmitCXXMemberOrOperatorMemberCallExpr() 485 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required, in EmitCXXMemberPointerCallExpr() 1022 if (!CGM.getTypes().isZeroInitializable(ElementType)) in EmitNewArrayInitializer() 1339 CGF.EmitCall(CGF.CGM.getTypes().arrangeFreeFunctionCall( in EmitNewDeleteCall() [all …]
|
| H A D | CGCXXABI.cpp | 39 return llvm::Constant::getNullValue(CGM.getTypes().ConvertType(T)); in GetBogusMemberPointer() 44 return CGM.getTypes().ConvertType(CGM.getContext().getPointerDiffType()); in ConvertMemberPointerType()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SPIR.cpp | 114 SPIRVABIInfo(CGM.getTypes()).computeInfo(FI); in computeSPIRKernelABIInfo() 116 CommonSPIRABIInfo(CGM.getTypes()).computeInfo(FI); in computeSPIRKernelABIInfo() 212 return std::make_unique<CommonSPIRTargetCodeGenInfo>(CGM.getTypes()); in createCommonSPIRTargetCodeGenInfo() 217 return std::make_unique<SPIRVTargetCodeGenInfo>(CGM.getTypes()); in createSPIRVTargetCodeGenInfo()
|
| H A D | M68k.cpp | 54 return std::make_unique<M68kTargetCodeGenInfo>(CGM.getTypes()); in createM68kTargetCodeGenInfo()
|
| H A D | VE.cpp | 70 return std::make_unique<VETargetCodeGenInfo>(CGM.getTypes()); in createVETargetCodeGenInfo()
|
| H A D | BPF.cpp | 99 return std::make_unique<BPFTargetCodeGenInfo>(CGM.getTypes()); in createBPFTargetCodeGenInfo()
|
| H A D | MSP430.cpp | 96 return std::make_unique<MSP430TargetCodeGenInfo>(CGM.getTypes()); in createMSP430TargetCodeGenInfo()
|
| H A D | TCE.cpp | 81 return std::make_unique<TCETargetCodeGenInfo>(CGM.getTypes()); in createTCETargetCodeGenInfo()
|
| H A D | PNaCl.cpp | 111 return std::make_unique<PNaClTargetCodeGenInfo>(CGM.getTypes()); in createPNaClTargetCodeGenInfo()
|
| H A D | PPC.cpp | 1006 if (CGM.getTypes().isLongDoubleReferenced()) { in emitTargetMetadata() 1030 return std::make_unique<AIXTargetCodeGenInfo>(CGM.getTypes(), Is64Bit); in createAIXTargetCodeGenInfo() 1037 return std::make_unique<PPC32TargetCodeGenInfo>(CGM.getTypes(), SoftFloatABI, in createPPC32TargetCodeGenInfo() 1043 return std::make_unique<PPC64TargetCodeGenInfo>(CGM.getTypes()); in createPPC64TargetCodeGenInfo() 1048 return std::make_unique<PPC64_SVR4_TargetCodeGenInfo>(CGM.getTypes(), Kind, in createPPC64_SVR4_TargetCodeGenInfo()
|
| H A D | AVR.cpp | 153 return std::make_unique<AVRTargetCodeGenInfo>(CGM.getTypes(), NPR, NRR); in createAVRTargetCodeGenInfo()
|
| H A D | Sparc.cpp | 408 return std::make_unique<SparcV8TargetCodeGenInfo>(CGM.getTypes()); in createSparcV8TargetCodeGenInfo() 413 return std::make_unique<SparcV9TargetCodeGenInfo>(CGM.getTypes()); in createSparcV9TargetCodeGenInfo()
|
| /src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVScope.cpp | 465 if (const LVTypes *Types = getTypes()) in getTemplateParameterTypes() 736 Traverse(Scope->getTypes()); in traverseParentsAndChildren() 879 if (options().getCompareTypes() && getTypes() && Target->getTypes()) in markMissingParents() 880 LVType::markMissingParents(getTypes(), Target->getTypes()); in markMissingParents() 1036 if (!LVType::parametersMatch(getTypes(), Scope->getTypes())) in equals() 1111 if (const LVTypes *Types = getTypes()) in resolveExtra() 1164 if (!LVType::equals(getTypes(), Scope->getTypes())) in equals() 1826 if (!LVType::parametersMatch(getTypes(), Scope->getTypes())) in equals() 2034 Traverse(Parent->getTypes()); in transformScopedName()
|
| H A D | LVCompare.cpp | 261 if (Error Err = FindMatch(LHS->getTypes(), RHS->getTypes(), "Types")) in execute()
|
| /src/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | DFAEmitter.cpp | 187 SmallVector<std::string, 4> getTypes() { return Types; } in getTypes() function in __anon8dad9a150211::Transition 288 const auto &ActionTypes = Transitions.back().getTypes(); in emit()
|