Home
last modified time | relevance | path

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

123456

/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 …]
/external/swiftshader/third_party/llvm-7.0/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()
DVNCoercion.cpp294 ConstantExpr::getBitCast(Src, Type::getInt8PtrTy(Src->getContext(), AS)); in analyzeLoadFromClobberingMemInst()
299 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS)); in analyzeLoadFromClobberingMemInst()
470 ConstantExpr::getBitCast(Src, Type::getInt8PtrTy(Src->getContext(), AS)); in getMemInstValueForLoadHelper()
475 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS)); in getMemInstValueForLoadHelper()
DCtorUtils.cpp59 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/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp603 ValueMap[SrcGV] = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType())); in linkAppendingVarProto()
605 DstGV->replaceAllUsesWith(ConstantExpr::getBitCast(NG, DstGV->getType())); in linkAppendingVarProto()
643 ValueMap[SGV] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGV->getType())); in linkGlobalProto()
666 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewDGV, DGV->getType())); in linkGlobalProto()
691 ValueMap[SF] = ConstantExpr::getBitCast(DGV, TypeMap.get(SF->getType())); in linkFunctionProto()
709 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewDF, DGV->getType())); in linkFunctionProto()
733 ValueMap[SGA] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGA->getType())); in linkAliasProto()
751 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewDA, DGV->getType())); in linkAliasProto()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DConstantFolding.cpp57 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
69 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
75 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
97 if (!C) return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
100 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
110 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
136 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
160 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
476 Res = ConstantExpr::getBitCast(Res, Ty); in ConstantFoldLoadFromConstPtr()
881 return ConstantExpr::getBitCast(Ops[0], DestTy); in ConstantFoldInstOperands()
/external/llvm/test/Transforms/MergeFunc/
D2013-01-10-MergeFuncAssert.ll2 ; This used to trigger a ConstantExpr::getBitCast assertion.
/external/swiftshader/third_party/llvm-7.0/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-7.0/llvm/lib/Analysis/
DConstantFolding.cpp83 return ConstantExpr::getBitCast(C, DestTy); in foldConstVectorToAPInt()
116 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
135 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
146 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
152 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
176 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
186 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
217 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
244 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
254 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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DConstantsTest.cpp214 Constant *P6 = ConstantExpr::getBitCast(P4, VectorType::get(Int16Ty, 2)); in TEST()
406 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy); in TEST()
475 auto *C = ConstantExpr::getBitCast(G, PtrTy); in TEST()
/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DModule.cpp158 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty)); in getOrInsertFunction()
218 return ConstantExpr::getBitCast(GV, PTy); in getOrInsertGlobal()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DModule.cpp166 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty)); in getOrInsertFunction()
284 return ConstantExpr::getBitCast(GV, PointerType::getUnqual(Ty)); in getOrInsertGlobal()
/external/llvm/lib/IR/
DModule.cpp138 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty)); in getOrInsertFunction()
239 return ConstantExpr::getBitCast(GV, PTy); in getOrInsertGlobal()

123456