/external/clang/lib/CodeGen/ |
D | Address.h | 88 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()
|
D | CGObjCGNU.cpp | 1137 return llvm::ConstantExpr::getBitCast(IDEHType, PtrToInt8Ty); in GetEHType() 1152 return llvm::ConstantExpr::getBitCast(typeinfo, PtrToInt8Ty); in GetEHType() 1167 auto *BVtable = llvm::ConstantExpr::getBitCast( in GetEHType() 1182 return llvm::ConstantExpr::getBitCast(TI, PtrToInt8Ty); in GetEHType() 1209 isa = llvm::ConstantExpr::getBitCast(isa, PtrToIdTy); in GenerateConstantString() 1218 ObjCStr = llvm::ConstantExpr::getBitCast(ObjCStr, PtrToInt8Ty); in GenerateConstantString() 1511 Method = llvm::ConstantExpr::getBitCast(Method, in GenerateMethodList() 1632 Elements.push_back(llvm::ConstantExpr::getBitCast(MetaClass, PtrToInt8Ty)); in GenerateClassStructure() 1650 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy)); in GenerateClassStructure() 1668 ClassRef->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(Class, in GenerateClassStructure() [all …]
|
D | CGVTables.cpp | 446 llvm::ConstantExpr::getBitCast(Entry, OldThunkFn->getType()); in emitThunk() 563 Init = llvm::ConstantExpr::getBitCast(RTTI, Int8PtrTy); in CreateVTableInitializer() 610 PureVirtualFn = llvm::ConstantExpr::getBitCast(PureVirtualFn, in CreateVTableInitializer() 621 DeletedVirtualFn = llvm::ConstantExpr::getBitCast(DeletedVirtualFn, in CreateVTableInitializer() 641 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in CreateVTableInitializer()
|
D | CGBlocks.cpp | 113 elements.push_back(llvm::ConstantExpr::getBitCast( in buildBlockDescriptor() 133 return llvm::ConstantExpr::getBitCast(global, CGM.getBlockDescriptorType()); in buildBlockDescriptor() 695 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in EmitBlockLiteral() 704 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy); in EmitBlockLiteral() 1050 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in GetAddrOfGlobalBlock() 1095 return llvm::ConstantExpr::getBitCast(literal, requiredType); in buildGlobalBlock() 1489 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateCopyHelperFunction() 1624 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateDestroyHelperFunction() 1843 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefCopyHelper() 1905 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefDisposeHelper()
|
D | CGObjCMac.cpp | 1948 Fn = llvm::ConstantExpr::getBitCast(Fn, MSI.MessengerType); in EmitMessageSend() 2657 return llvm::ConstantExpr::getBitCast(GetProtocolRef(PD), in GenerateProtocolRef() 2873 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.ProtocolListPtrTy); in EmitProtocolList() 2962 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.PropertyListPtrTy); in EmitPropertyList() 2980 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.Int8PtrPtrTy); in EmitProtocolMethodTypes() 2992 llvm::ConstantExpr::getBitCast(GetMethodVarName(MD->getSelector()), in GetMethodDescriptionConstant() 3019 return llvm::ConstantExpr::getBitCast(GV, in EmitMethodDescList() 3259 llvm::ConstantExpr::getBitCast(GetClassName(Super->getObjCRuntimeNameAsString()), in GenerateClass() 3315 llvm::ConstantExpr::getBitCast(GetClassName(Root->getObjCRuntimeNameAsString()), in EmitMetaClass() 3322 llvm::ConstantExpr::getBitCast(GetClassName(Super->getObjCRuntimeNameAsString()), in EmitMetaClass() [all …]
|
D | CodeGenModule.cpp | 695 llvm::ConstantExpr::getBitCast(I.Initializer, CtorPFTy), in EmitCtorList() 697 ? llvm::ConstantExpr::getBitCast(I.AssociatedData, VoidPtrTy) in EmitCtorList() 1320 llvm::ConstantExpr::getBitCast(GV, Int8PtrTy), in EmitAnnotateAttr() 1321 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy), in EmitAnnotateAttr() 1322 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy), in EmitAnnotateAttr() 1443 auto Ptr = llvm::ConstantExpr::getBitCast(Entry, DeclTy->getPointerTo(AS)); in GetWeakRefReference() 1773 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo()); in GetOrCreateLLVMFunction() 1813 llvm::Constant *BC = llvm::ConstantExpr::getBitCast( in GetOrCreateLLVMFunction() 1881 return llvm::ConstantExpr::getBitCast(F, PTy); in GetOrCreateLLVMFunction() 1985 return llvm::ConstantExpr::getBitCast(Entry, Ty); in GetOrCreateLLVMGlobal() [all …]
|
D | CGVTT.cpp | 85 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in EmitVTTDefinition()
|
D | CGCXX.cpp | 155 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitDefinitionAsAlias()
|
D | CGDeclCXX.cpp | 98 argument = llvm::ConstantExpr::getBitCast( in EmitDeclDestroy() 128 llvm::ConstantExpr::getBitCast(Addr, CGF.Int8PtrTy)}; in EmitDeclInvariant()
|
D | ItaniumCXXABI.cpp | 1104 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy); in emitThrow() 2113 llvm::ConstantExpr::getBitCast(dtor, dtorTy), in emitGlobalDtorWithCXAAtExit() 2114 llvm::ConstantExpr::getBitCast(addr, CGF.Int8PtrTy), in emitGlobalDtorWithCXAAtExit() 2479 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); in GetAddrOfExternalRTTIDescriptor() 2806 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy); in BuildVTablePointer() 2876 return llvm::ConstantExpr::getBitCast(OldGV, CGM.Int8PtrTy); in BuildTypeInfo() 2912 TypeNameField = llvm::ConstantExpr::getBitCast(TypeName, CGM.Int8PtrTy); in BuildTypeInfo() 3009 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); in BuildTypeInfo() 3045 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); in BuildTypeInfo()
|
D | CGException.cpp | 233 return llvm::ConstantExpr::getBitCast(Fn, CGM.Int8PtrTy); in getOpaquePersonalityFn() 1511 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in recoverAddrOfEscapedLocal() 1576 llvm::ConstantExpr::getBitCast(ParentCGF.CurFn, Int8PtrTy); in EmitCapturedLocals() 1820 llvm::ConstantExpr::getBitCast(FilterFunc, Int8PtrTy); in EnterSEHTryStmt()
|
/external/llvm/test/Transforms/MergeFunc/ |
D | 2013-01-10-MergeFuncAssert.ll | 2 ; This used to trigger a ConstantExpr::getBitCast assertion.
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 65 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 77 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast() 82 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 102 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 113 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 119 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 143 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 153 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast() 180 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() 206 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast() [all …]
|
/external/llvm/lib/IR/ |
D | Module.cpp | 135 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty)); in getOrInsertFunction() 236 return ConstantExpr::getBitCast(GV, PTy); in getOrInsertGlobal()
|
D | Constants.cpp | 1559 return getBitCast(C, Ty, OnlyIfReduced); in getCast() 1567 return getBitCast(C, Ty); in getZExtOrBitCast() 1573 return getBitCast(C, Ty); in getSExtOrBitCast() 1579 return getBitCast(C, Ty); in getTruncOrBitCast() 1595 return getBitCast(S, Ty); in getPointerCast() 1606 return getBitCast(S, Ty); in getPointerBitCastOrAddrSpaceCast() 1770 Constant *ConstantExpr::getBitCast(Constant *C, Type *DstTy, in getBitCast() function in ConstantExpr 1798 C = getBitCast(C, MidTy); in getAddrSpaceCast()
|
/external/llvm/lib/Transforms/Utils/ |
D | CtorUtils.cpp | 60 V = ConstantExpr::getBitCast(V, GCL->getType()); in removeGlobalCtors()
|
/external/llvm/unittests/IR/ |
D | ConstantsTest.cpp | 188 Constant *P6 = ConstantExpr::getBitCast(P4, VectorType::get(Int16Ty, 2)); in TEST() 380 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy); in TEST() 449 auto *C = ConstantExpr::getBitCast(G, PtrTy); in TEST()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXFavorNonGenericAddrSpaces.cpp | 214 ConstantExpr::getBitCast(cast<Constant>(Src), TypeOfNewCast); in hoistAddrSpaceCastFromBitCast()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | InstrProfiling.cpp | 342 ConstantExpr::getBitCast(Fn, Int8PtrTy) : in getOrCreateRegionCounters() 451 ConstantExpr::getBitCast(cast<Constant>(Value), i8PTy)); in emitUses()
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 946 Constant *Ret = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType())); in linkAppendingVarProto() 974 DstGV->replaceAllUsesWith(ConstantExpr::getBitCast(NG, DstGV->getType())); in linkAppendingVarProto() 1081 C = ConstantExpr::getBitCast(NewGV, TypeMap.get(SGV->getType())); in linkGlobalValueProto() 1084 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewGV, DGV->getType())); in linkGlobalValueProto()
|
/external/lldb/source/Expression/ |
D | IRForTarget.cpp | 798 …Constant *bytes_arg = cstr ? ConstantExpr::getBitCast(cstr, i8_ptr_ty) : Constant::getNull… in RewriteObjCConstString() 1161 …Constant *omvn_pointer = ConstantExpr::getBitCast(_objc_meth_var_name_, Type::getInt8PtrTy(m_modul… in RewriteObjCSelector() 1935 …Constant *bit_cast = ConstantExpr::getBitCast(new_initializer, const_expr->getOperand(0)->getType(… in ReplaceStrings() 1942 …Constant *bit_cast = ConstantExpr::getBitCast(new_initializer, store_inst->getValueOperand()->getT… in ReplaceStrings() 2514 llvm::Constant *reloc_getbitcast = ConstantExpr::getBitCast(reloc_getelementptr, type); in BuildRelocation()
|
/external/llvm/include/llvm/ProfileData/ |
D | InstrProfData.inc | 77 ConstantExpr::getBitCast(NamePtr, llvm::Type::getInt8PtrTy(Ctx))) 79 ConstantExpr::getBitCast(CounterPtr, \ 157 NamePtr, llvm::ConstantExpr::getBitCast(NamePtr, \
|
/external/compiler-rt/lib/profile/ |
D | InstrProfData.inc | 77 ConstantExpr::getBitCast(NamePtr, llvm::Type::getInt8PtrTy(Ctx))) 79 ConstantExpr::getBitCast(CounterPtr, \ 157 NamePtr, llvm::ConstantExpr::getBitCast(NamePtr, \
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGCLowering.cpp | 206 Metadata.push_back(ConstantExpr::getBitCast(C, VoidPtr)); in GetFrameMap()
|
/external/llvm/lib/LTO/ |
D | LTOCodeGenerator.cpp | 434 Constant *c = ConstantExpr::getBitCast(GV, i8PTy); in applyScopeRestrictions()
|