Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A 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()
H A DCGObjCGNU.cpp1006 isa = llvm::ConstantExpr::getBitCast(isa, PtrToIdTy); in GenerateConstantString()
1255 return llvm::ConstantExpr::getBitCast(GV, ProtocolPtrTy); in GenerateEmptyProtocol()
1378 return llvm::ConstantExpr::getBitCast(Val, Ty); in EnforceType()
1879 llvm::ConstantExpr::getBitCast(metaclass, IdTy)); in GenerateClass()
2333 auto *BVtable = llvm::ConstantExpr::getBitCast( in GetEHType()
2349 return llvm::ConstantExpr::getBitCast(TI, PtrToInt8Ty); in GetEHType()
2376 isa = llvm::ConstantExpr::getBitCast(isa, PtrToIdTy); in GenerateConstantString()
3032 llvm::ConstantExpr::getBitCast( in GenerateProtocol()
3068 Categories.push_back(llvm::ConstantExpr::getBitCast( in GenerateProtocolHolderCategory()
3169 Categories.push_back(llvm::ConstantExpr::getBitCast( in GenerateCategory()
[all …]
H A DCGVTables.cpp450 Callee = llvm::ConstantExpr::getBitCast(Callee, Fn->getType()); in generateThunk()
522 llvm::ConstantExpr::getBitCast(ThunkFn, OldThunkFn->getType()); in maybeEmitThunk()
611 return builder.add(llvm::ConstantExpr::getBitCast(rtti, CGM.Int8PtrTy)); in addVTableComponent()
655 return llvm::ConstantExpr::getBitCast(fn, CGM.Int8PtrTy); in addVTableComponent()
688 fnPtr = llvm::ConstantExpr::getBitCast(fnPtr, CGM.Int8PtrTy); in addVTableComponent()
H A DCGBlocks.cpp207 return llvm::ConstantExpr::getBitCast(desc, in buildBlockDescriptor()
245 elements.add(llvm::ConstantExpr::getBitCast( in buildBlockDescriptor()
283 return llvm::ConstantExpr::getBitCast(global, CGM.getBlockDescriptorType()); in buildBlockDescriptor()
961 isa = llvm::ConstantExpr::getBitCast(blockISA, VoidPtrTy); in EmitBlockLiteral()
2010 return llvm::ConstantExpr::getBitCast(Func, VoidPtrTy); in GenerateCopyHelperFunction()
2137 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateCopyHelperFunction()
2203 return llvm::ConstantExpr::getBitCast(Func, VoidPtrTy); in GenerateDestroyHelperFunction()
2266 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateDestroyHelperFunction()
2515 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefCopyHelper()
2578 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefDisposeHelper()
H A DCGObjCMac.cpp2173 Fn = llvm::ConstantExpr::getBitCast(Fn, MSI.MessengerType); in EmitMessageSend()
2930 return llvm::ConstantExpr::getBitCast(GetProtocolRef(PD), in GenerateProtocolRef()
3890 return llvm::ConstantExpr::getBitCast(GV, in emitMethodList()
5011 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.SymtabPtrTy); in EmitModuleSymbols()
5022 llvm::ConstantExpr::getBitCast(GetClassName(II->getName()), in EmitClassRefFromId()
5060 llvm::ConstantExpr::getBitCast(GetMethodVarName(Sel), in EmitSelectorAddr()
5990 Symbols[i] = llvm::ConstantExpr::getBitCast(Container[i], in AddModuleClassList()
6437 llvm::ConstantExpr::getBitCast(GetOrEmitProtocol(PD), in GenerateProtocolRef()
6971 return llvm::ConstantExpr::getBitCast(GV, in EmitProtocolList()
7201 llvm::ConstantExpr::getBitCast(NewGV, GV->getType())); in GetClassGlobal()
[all …]
H A DCodeGenModule.cpp1934 llvm::ConstantExpr::getBitCast(GV, Int8PtrTy), in EmitAnnotateAttr()
1935 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy), in EmitAnnotateAttr()
1936 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy), in EmitAnnotateAttr()
2817 llvm::Constant *BC = llvm::ConstantExpr::getBitCast( in GetOrCreateLLVMFunction()
2882 return llvm::ConstantExpr::getBitCast(F, PTy); in GetOrCreateLLVMFunction()
3074 return llvm::ConstantExpr::getBitCast(Entry, Ty); in GetOrCreateLLVMGlobal()
3092 llvm::ConstantExpr::getBitCast(GV, Entry->getType()); in GetOrCreateLLVMGlobal()
3262 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); in CreateOrReplaceCXXRuntimeVariable()
3577 llvm::ConstantExpr::getBitCast(GV, Entry->getType()); in EmitGlobalVarDefinition()
4087 Entry->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(GA, in EmitAliasDefinition()
[all …]
H A DCGVTT.cpp87 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in EmitVTTDefinition()
H A DCGCXX.cpp144 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitBaseDestructorAsAlias()
H A DCGDeclCXX.cpp122 Argument = llvm::ConstantExpr::getBitCast( in EmitDeclDestroy()
158 llvm::ConstantExpr::getBitCast(Addr, Int8PtrTy)}; in EmitInvariantStart()
H A DItaniumCXXABI.cpp1214 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy); in emitThrow()
2328 llvm::ConstantExpr::getBitCast(dtor, dtorTy), in emitGlobalDtorWithCXAAtExit()
2329 llvm::ConstantExpr::getBitCast(addr, CGF.Int8PtrTy), in emitGlobalDtorWithCXAAtExit()
2803 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); in GetAddrOfExternalRTTIDescriptor()
3169 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy); in BuildVTablePointer()
3242 return llvm::ConstantExpr::getBitCast(OldGV, CGM.Int8PtrTy); in BuildTypeInfo()
3302 TypeNameField = llvm::ConstantExpr::getBitCast(TypeName, CGM.Int8PtrTy); in BuildTypeInfo()
3407 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); in BuildTypeInfo()
3443 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); in BuildTypeInfo()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A 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()
H A 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()
H A DCtorUtils.cpp58 V = ConstantExpr::getBitCast(V, GCL->getType()); in removeGlobalCtors()
H A DEntryExitInstrumenter.cpp52 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
H A DModuleUtils.cpp108 Constant *C = ConstantExpr::getBitCast(V, Int8PtrTy); in appendToUsedList()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A 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 …]
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp449 Constant *BitcastNew = ConstantExpr::getBitCast(New, Old->getType()); in replaceDirectCallers()
764 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType()); in writeAlias()
835 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType()); in mergeTwoFunctions()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DModule.cpp162 return ConstantExpr::getBitCast(F, PTy); in getOrInsertFunction()
220 return ConstantExpr::getBitCast(GV, PTy); in getOrInsertGlobal()
H A DConstants.cpp1563 return getBitCast(C, Ty, OnlyIfReduced); in getCast()
1571 return getBitCast(C, Ty); in getZExtOrBitCast()
1577 return getBitCast(C, Ty); in getSExtOrBitCast()
1583 return getBitCast(C, Ty); in getTruncOrBitCast()
1599 return getBitCast(S, Ty); in getPointerCast()
1610 return getBitCast(S, Ty); in getPointerBitCastOrAddrSpaceCast()
1773 Constant *ConstantExpr::getBitCast(Constant *C, Type *DstTy, in getBitCast() function in ConstantExpr
1801 C = getBitCast(C, MidTy); in getAddrSpaceCast()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRForTarget.cpp498 Constant *bytes_arg = cstr ? ConstantExpr::getBitCast(cstr, i8_ptr_ty) in RewriteObjCConstString()
896 Constant *omvn_pointer = ConstantExpr::getBitCast( in RewriteObjCSelector()
1058 Constant *ocn_pointer = ConstantExpr::getBitCast( in RewriteObjCClassReference()
2031 ConstantExpr::getBitCast(m_reloc_placeholder, char_pointer_type); in BuildRelocation()
2035 ConstantExpr::getBitCast(reloc_getelementptr, type); in BuildRelocation()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp744 {ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc()
768 {ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc()
1233 {ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in instrumentOneSelectInst()
1288 {ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in instrumentOneMemIntrinsic()
/freebsd-12.1/contrib/llvm/lib/Transforms/Coroutines/
H A DCoroElide.cpp60 Value = ConstantExpr::getBitCast(Value, IntrTy); in replaceWithConstant()
H A DCoroInstr.h174 ConstantExpr::getBitCast(getFunction(), Int8PtrTy)); in setCoroutineSelf()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp265 ConstantExpr::getBitCast(Main, PointerType::get(MainTy, 0)); in runOnModule()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp517 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
522 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()

123