/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | Address.h | 87 ConstantAddress getBitCast(llvm::Type *ty) const { in getBitCast() function 88 return ConstantAddress(llvm::ConstantExpr::getBitCast(getPointer(), ty), in getBitCast() 93 return getBitCast(ty->getPointerTo(getAddressSpace())); in getElementBitCast()
|
H A D | CGObjCGNU.cpp | 1019 isa = llvm::ConstantExpr::getBitCast(isa, PtrToIdTy); in GenerateConstantString() 1307 return llvm::ConstantExpr::getBitCast(GV, ProtocolPtrTy); in GenerateEmptyProtocol() 1433 return llvm::ConstantExpr::getBitCast(Val, Ty); in EnforceType() 1982 llvm::ConstantExpr::getBitCast(metaclass, IdTy)); in GenerateClass() 2448 auto *BVtable = llvm::ConstantExpr::getBitCast( in GetEHType() 2464 return llvm::ConstantExpr::getBitCast(TI, PtrToInt8Ty); in GetEHType() 2491 isa = llvm::ConstantExpr::getBitCast(isa, PtrToIdTy); in GenerateConstantString() 3157 llvm::ConstantExpr::getBitCast( in GenerateProtocol() 3193 Categories.push_back(llvm::ConstantExpr::getBitCast( in GenerateProtocolHolderCategory() 3297 Categories.push_back(llvm::ConstantExpr::getBitCast( in GenerateCategory() [all …]
|
H A D | CGVTables.cpp | 467 Callee = llvm::ConstantExpr::getBitCast(Callee, Fn->getType()); in generateThunk() 540 llvm::ConstantExpr::getBitCast(ThunkFn, OldThunkFn->getType()); in maybeEmitThunk() 726 return builder.add(llvm::ConstantExpr::getBitCast(rtti, CGM.Int8PtrTy)); in addVTableComponent() 771 return llvm::ConstantExpr::getBitCast(fn, CGM.Int8PtrTy); in addVTableComponent() 810 return builder.add(llvm::ConstantExpr::getBitCast(fnPtr, CGM.Int8PtrTy)); in addVTableComponent()
|
H A D | CGBlocks.cpp | 206 return llvm::ConstantExpr::getBitCast(desc, in buildBlockDescriptor() 244 elements.add(llvm::ConstantExpr::getBitCast( in buildBlockDescriptor() 284 return llvm::ConstantExpr::getBitCast(global, CGM.getBlockDescriptorType()); in buildBlockDescriptor() 832 isa = llvm::ConstantExpr::getBitCast(blockISA, VoidPtrTy); in EmitBlockLiteral() 1926 return llvm::ConstantExpr::getBitCast(Func, VoidPtrTy); in GenerateCopyHelperFunction() 2057 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateCopyHelperFunction() 2123 return llvm::ConstantExpr::getBitCast(Func, VoidPtrTy); in GenerateDestroyHelperFunction() 2189 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateDestroyHelperFunction() 2438 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefCopyHelper() 2501 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefDisposeHelper()
|
H A D | CGDeclCXX.cpp | 128 Argument = llvm::ConstantExpr::getBitCast(Addr.getPointer(), DestTy); in EmitDeclDestroy() 134 Argument = llvm::ConstantExpr::getBitCast( in EmitDeclDestroy() 170 llvm::ConstantExpr::getBitCast(Addr, Int8PtrTy)}; in EmitInvariantStart()
|
H A D | CodeGenModule.cpp | 2551 llvm::ConstantExpr::getBitCast(ASZeroGV, Int8PtrTy), in EmitAnnotateAttr() 2552 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy), in EmitAnnotateAttr() 2553 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy), in EmitAnnotateAttr() 2772 Addr = llvm::ConstantExpr::getBitCast( in GetAddrOfMSGuidDecl() 3578 llvm::Constant *BC = llvm::ConstantExpr::getBitCast( in GetOrCreateLLVMFunction() 3643 return llvm::ConstantExpr::getBitCast(F, PTy); in GetOrCreateLLVMFunction() 3867 llvm::ConstantExpr::getBitCast(GV, Entry->getType()); in GetOrCreateLLVMGlobal() 4043 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); in CreateOrReplaceCXXRuntimeVariable() 4905 Entry->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(GA, in EmitAliasDefinition() 5174 Str = llvm::ConstantExpr::getBitCast(Str, Int8PtrTy); in GetAddrOfConstantCFString() [all …]
|
H A D | CGObjCMac.cpp | 3032 return llvm::ConstantExpr::getBitCast(GetProtocolRef(PD), in GenerateProtocolRef() 4000 return llvm::ConstantExpr::getBitCast(GV, in emitMethodList() 4074 llvm::ConstantExpr::getBitCast(Fn, OldFn->getType())); in GenerateDirectMethod() 5272 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.SymtabPtrTy); in EmitModuleSymbols() 5283 llvm::ConstantExpr::getBitCast(GetClassName(II->getName()), in EmitClassRefFromId() 5322 llvm::ConstantExpr::getBitCast(GetMethodVarName(Sel), in EmitSelectorAddr() 6239 Symbols[i] = llvm::ConstantExpr::getBitCast(Container[i], in AddModuleClassList() 6679 llvm::ConstantExpr::getBitCast(GetOrEmitProtocol(PD), in GenerateProtocolRef() 7219 return llvm::ConstantExpr::getBitCast(GV, in EmitProtocolList() 7455 llvm::ConstantExpr::getBitCast(NewGV, GV->getType())); in GetClassGlobal() [all …]
|
H A D | ItaniumCXXABI.cpp | 1340 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy); in emitThrow() 2596 llvm::Value *args[] = {llvm::ConstantExpr::getBitCast( in emitGlobalDtorWithCXAAtExit() 2654 llvm::Constant *dtor = llvm::ConstantExpr::getBitCast(Dtor, dtorTy); in unregisterGlobalDtorsWithUnAtExit() 2719 llvm::ConstantExpr::getBitCast(Dtor, dtorTy)); in registerGlobalDtorsWithAtExit() 3193 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); in GetAddrOfExternalRTTIDescriptor() 3580 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy); in BuildVTablePointer() 3588 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy); in BuildVTablePointer() 3661 return llvm::ConstantExpr::getBitCast(OldGV, CGM.Int8PtrTy); in BuildTypeInfo() 3721 TypeNameField = llvm::ConstantExpr::getBitCast(TypeName, CGM.Int8PtrTy); in BuildTypeInfo() 3842 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); in BuildTypeInfo() [all …]
|
H A D | CGCXX.cpp | 144 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitBaseDestructorAsAlias()
|
H A D | CGException.cpp | 270 return llvm::ConstantExpr::getBitCast(cast<llvm::Constant>(Fn.getCallee()), in getOpaquePersonalityFn() 1820 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in recoverAddrOfEscapedLocal() 1886 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals() 1923 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals() 2186 llvm::ConstantExpr::getBitCast(FilterFunc, Int8PtrTy); in EnterSEHTryStmt()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | SanitizerStats.cpp | 68 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()
|
H A D | VNCoercion.cpp | 410 Src = ConstantExpr::getBitCast(Src, in analyzeLoadFromClobberingMemInst() 417 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS)); in analyzeLoadFromClobberingMemInst() 591 Src = ConstantExpr::getBitCast(Src, 598 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS));
|
H A D | CtorUtils.cpp | 57 V = ConstantExpr::getBitCast(V, GCL->getType()); in removeGlobalCtors()
|
H A D | EntryExitInstrumenter.cpp | 55 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
|
/netbsd/external/apache2/llvm/dist/llvm/tools/llvm-reduce/deltas/ |
H A D | ReduceArguments.cpp | 97 F->replaceAllUsesWith(ConstantExpr::getBitCast(ClonedFunc, F->getType())); in extractArgumentsFromModule()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ConstantFolding.cpp | 92 return ConstantExpr::getBitCast(C, DestTy); in foldConstVectorToAPInt() 128 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast() 147 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 158 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 164 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 188 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 198 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast() 230 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 257 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 267 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() [all …]
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/CFGuard/ |
H A D | CFGuard.cpp | 196 GuardFnGlobal = ConstantExpr::getBitCast(GuardFnGlobal, PTy); in insertCFGuardDispatch()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 465 Constant *BitcastNew = ConstantExpr::getBitCast(New, Old->getType()); in replaceDirectCallers() 765 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType()); in writeAlias() 836 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType()); in mergeTwoFunctions()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Constants.cpp | 302 Constant *C1 = ConstantExpr::getBitCast(cast<Constant>(Y), IntTy); in isElementWiseEqual() 1925 return llvm::ConstantExpr::getBitCast(NewEquiv, getType()); in handleOperandChangeImpl() 1938 return llvm::ConstantExpr::getBitCast(NewEquiv, getType()); in handleOperandChangeImpl() 2009 return getBitCast(C, Ty, OnlyIfReduced); in getCast() 2017 return getBitCast(C, Ty); in getZExtOrBitCast() 2023 return getBitCast(C, Ty); in getSExtOrBitCast() 2029 return getBitCast(C, Ty); in getTruncOrBitCast() 2045 return getBitCast(S, Ty); in getPointerCast() 2056 return getBitCast(S, Ty); in getPointerBitCastOrAddrSpaceCast() 2221 Constant *ConstantExpr::getBitCast(Constant *C, Type *DstTy, in getBitCast() function in ConstantExpr [all …]
|
H A D | Module.cpp | 161 return {Ty, ConstantExpr::getBitCast(F, PTy)}; in getOrInsertFunction() 218 return ConstantExpr::getBitCast(GV, PTy); in getOrInsertGlobal()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | InferAddressSpaces.cpp | 646 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace() 651 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace() 671 return ConstantExpr::getBitCast(Src, TargetType); in cloneConstantExprWithNewAddressSpace()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyFixFunctionBitcasts.cpp | 269 ConstantExpr::getBitCast(Main, PointerType::get(MainTy, 0)); in runOnModule()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | ShadowStackGCLowering.cpp | 117 Metadata.push_back(ConstantExpr::getBitCast(C, VoidPtr)); in GetFrameMap()
|
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
H A D | CoroElide.cpp | 63 Value = ConstantExpr::getBitCast(Value, IntrTy); in replaceWithConstant()
|
/netbsd/sys/external/bsd/compiler_rt/dist/lib/profile/ |
H A D | InstrProfData.inc | 77 ConstantExpr::getBitCast(NamePtr, llvm::Type::getInt8PtrTy(Ctx))) 79 ConstantExpr::getBitCast(CounterPtr, \ 157 NamePtr, llvm::ConstantExpr::getBitCast(NamePtr, \
|