Home
last modified time | relevance | path

Searched refs:getBitCast (Results 1 – 25 of 103) sorted by relevance

12345

/external/clang/lib/CodeGen/
DAddress.h88 ConstantAddress getBitCast(llvm::Type *ty) const { in getBitCast() function
89 return ConstantAddress(llvm::ConstantExpr::getBitCast(getPointer(), ty), in getBitCast()
94 return getBitCast(ty->getPointerTo(getAddressSpace())); in getElementBitCast()
DCGObjCGNU.cpp1170 return llvm::ConstantExpr::getBitCast(IDEHType, PtrToInt8Ty); in GetEHType()
1185 return llvm::ConstantExpr::getBitCast(typeinfo, PtrToInt8Ty); in GetEHType()
1200 auto *BVtable = llvm::ConstantExpr::getBitCast( in GetEHType()
1215 return llvm::ConstantExpr::getBitCast(TI, PtrToInt8Ty); in GetEHType()
1242 isa = llvm::ConstantExpr::getBitCast(isa, PtrToIdTy); in GenerateConstantString()
1251 ObjCStr = llvm::ConstantExpr::getBitCast(ObjCStr, PtrToInt8Ty); in GenerateConstantString()
1538 Method = llvm::ConstantExpr::getBitCast(Method, in GenerateMethodList()
1654 Elements.push_back(llvm::ConstantExpr::getBitCast(MetaClass, PtrToInt8Ty)); in GenerateClassStructure()
1672 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy)); in GenerateClassStructure()
1690 ClassRef->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(Class, in GenerateClassStructure()
[all …]
DCGBlocks.cpp113 elements.push_back(llvm::ConstantExpr::getBitCast( in buildBlockDescriptor()
133 return llvm::ConstantExpr::getBitCast(global, CGM.getBlockDescriptorType()); in buildBlockDescriptor()
700 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in EmitBlockLiteral()
709 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy); in EmitBlockLiteral()
1053 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in GetAddrOfGlobalBlock()
1098 return llvm::ConstantExpr::getBitCast(literal, requiredType); in buildGlobalBlock()
1491 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateCopyHelperFunction()
1626 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateDestroyHelperFunction()
1845 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefCopyHelper()
1907 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefDisposeHelper()
DCGVTables.cpp443 llvm::ConstantExpr::getBitCast(Entry, OldThunkFn->getType()); in emitThunk()
560 Init = llvm::ConstantExpr::getBitCast(RTTI, Int8PtrTy); in CreateVTableInitializer()
609 PureVirtualFn = llvm::ConstantExpr::getBitCast(PureVirtualFn, in CreateVTableInitializer()
622 DeletedVirtualFn = llvm::ConstantExpr::getBitCast(DeletedVirtualFn, in CreateVTableInitializer()
642 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in CreateVTableInitializer()
DCGObjCMac.cpp1955 Fn = llvm::ConstantExpr::getBitCast(Fn, MSI.MessengerType); in EmitMessageSend()
2663 return llvm::ConstantExpr::getBitCast(GetProtocolRef(PD), in GenerateProtocolRef()
2902 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.ProtocolListPtrTy); in EmitProtocolList()
3013 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.PropertyListPtrTy); in EmitPropertyList()
3031 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.Int8PtrPtrTy); in EmitProtocolMethodTypes()
3043 llvm::ConstantExpr::getBitCast(GetMethodVarName(MD->getSelector()), in GetMethodDescriptionConstant()
3070 return llvm::ConstantExpr::getBitCast(GV, in EmitMethodDescList()
3314 llvm::ConstantExpr::getBitCast(GetClassName(Super->getObjCRuntimeNameAsString()), in GenerateClass()
3371 llvm::ConstantExpr::getBitCast(GetClassName(Root->getObjCRuntimeNameAsString()), in EmitMetaClass()
3378 llvm::ConstantExpr::getBitCast(GetClassName(Super->getObjCRuntimeNameAsString()), in EmitMetaClass()
[all …]
DCodeGenModule.cpp737 llvm::ConstantExpr::getBitCast(I.Initializer, CtorPFTy), in EmitCtorList()
739 ? llvm::ConstantExpr::getBitCast(I.AssociatedData, VoidPtrTy) in EmitCtorList()
1373 llvm::ConstantExpr::getBitCast(GV, Int8PtrTy), in EmitAnnotateAttr()
1374 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy), in EmitAnnotateAttr()
1375 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy), in EmitAnnotateAttr()
1502 auto Ptr = llvm::ConstantExpr::getBitCast(Entry, DeclTy->getPointerTo(AS)); in GetWeakRefReference()
1868 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo()); in GetOrCreateLLVMFunction()
1908 llvm::Constant *BC = llvm::ConstantExpr::getBitCast( in GetOrCreateLLVMFunction()
1976 return llvm::ConstantExpr::getBitCast(F, PTy); in GetOrCreateLLVMFunction()
2108 return llvm::ConstantExpr::getBitCast(Entry, Ty); in GetOrCreateLLVMGlobal()
[all …]
DCGVTT.cpp85 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in EmitVTTDefinition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp68 B.CreateCall(StatReport, ConstantExpr::getBitCast(InitAddr, Int8PtrTy)); in create()
90 ConstantExpr::getBitCast(NewModuleStatsGV, ModuleStatsGV->getType())); in finish()
103 B.CreateCall(StatInit, ConstantExpr::getBitCast(NewModuleStatsGV, Int8PtrTy)); in finish()
DVNCoercion.cpp332 ConstantExpr::getBitCast(Src, Type::getInt8PtrTy(Src->getContext(), AS)); in analyzeLoadFromClobberingMemInst()
337 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS)); in analyzeLoadFromClobberingMemInst()
508 ConstantExpr::getBitCast(Src, Type::getInt8PtrTy(Src->getContext(), AS)); in getMemInstValueForLoadHelper()
513 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS)); in getMemInstValueForLoadHelper()
DCtorUtils.cpp57 V = ConstantExpr::getBitCast(V, GCL->getType()); in removeGlobalCtors()
DEntryExitInstrumenter.cpp52 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
/external/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp69 B.CreateCall(StatReport, ConstantExpr::getBitCast(InitAddr, Int8PtrTy)); in create()
91 ConstantExpr::getBitCast(NewModuleStatsGV, ModuleStatsGV->getType())); in finish()
104 B.CreateCall(StatInit, ConstantExpr::getBitCast(NewModuleStatsGV, Int8PtrTy)); in finish()
DCtorUtils.cpp60 V = ConstantExpr::getBitCast(V, GCL->getType()); in removeGlobalCtors()
/external/llvm/test/Transforms/MergeFunc/
D2013-01-10-MergeFuncAssert.ll2 ; This used to trigger a ConstantExpr::getBitCast assertion.
/external/llvm/lib/Analysis/
DConstantFolding.cpp67 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
79 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
95 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
107 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
118 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
124 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
148 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
158 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
185 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
211 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp85 return ConstantExpr::getBitCast(C, DestTy); in foldConstVectorToAPInt()
121 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
140 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
151 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
157 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
181 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
191 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
222 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
249 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
259 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp381 ConstantExpr::getBitCast(ValuesVar, llvm::Type::getInt8PtrTy(Ctx)); in getOrCreateRegionCounters()
395 ? ConstantExpr::getBitCast(Fn, Int8PtrTy) in getOrCreateRegionCounters()
592 ConstantExpr::getBitCast(cast<Constant>(Value), i8PTy)); in emitUses()
/external/llvm/lib/LTO/
DUpdateCompilerUsed.cpp128 ConstantExpr::getBitCast(const_cast<GlobalValue *>(GV), i8PTy); in updateCompilerUsed()
/external/llvm/unittests/IR/
DConstantsTest.cpp213 Constant *P6 = ConstantExpr::getBitCast(P4, VectorType::get(Int16Ty, 2)); in TEST()
405 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy); in TEST()
474 auto *C = ConstantExpr::getBitCast(G, PtrTy); in TEST()
/external/llvm/lib/IR/
DModule.cpp138 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty)); in getOrInsertFunction()
239 return ConstantExpr::getBitCast(GV, PTy); in getOrInsertGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp196 GuardFnGlobal = ConstantExpr::getBitCast(GuardFnGlobal, PTy); in insertCFGuardDispatch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp466 Constant *BitcastNew = ConstantExpr::getBitCast(New, Old->getType()); in replaceDirectCallers()
768 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType()); in writeAlias()
839 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType()); in mergeTwoFunctions()
/external/llvm/lib/Target/NVPTX/
DNVPTXFavorNonGenericAddrSpaces.cpp217 ConstantExpr::getBitCast(cast<Constant>(Src), TypeOfNewCast); in hoistAddrSpaceCastFromBitCast()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp161 return {Ty, ConstantExpr::getBitCast(F, PTy)}; in getOrInsertFunction()
218 return ConstantExpr::getBitCast(GV, PTy); in getOrInsertGlobal()
/external/llvm/lib/Linker/
DIRMover.cpp832 Constant *Ret = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType())); in linkAppendingVarProto()
841 DstGV->replaceAllUsesWith(ConstantExpr::getBitCast(NG, DstGV->getType())); in linkAppendingVarProto()
934 C = ConstantExpr::getBitCast(NewGV, TypeMap.get(SGV->getType())); in linkGlobalValueProto()
937 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewGV, DGV->getType())); in linkGlobalValueProto()

12345