Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGObjCGNU.cpp1122 return llvm::ConstantExpr::getBitCast(IDEHType, PtrToInt8Ty); in GetEHType()
1137 return llvm::ConstantExpr::getBitCast(typeinfo, PtrToInt8Ty); in GetEHType()
1152 Vtable = llvm::ConstantExpr::getBitCast(Vtable, PtrToInt8Ty); in GetEHType()
1164 return llvm::ConstantExpr::getBitCast(TI, PtrToInt8Ty); in GetEHType()
1190 isa = llvm::ConstantExpr::getBitCast(isa, PtrToIdTy); in GenerateConstantString()
1199 ObjCStr = llvm::ConstantExpr::getBitCast(ObjCStr, PtrToInt8Ty); in GenerateConstantString()
1487 Method = llvm::ConstantExpr::getBitCast(Method, in GenerateMethodList()
1606 Elements.push_back(llvm::ConstantExpr::getBitCast(MetaClass, PtrToInt8Ty)); in GenerateClassStructure()
1624 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy)); in GenerateClassStructure()
1641 ClassRef->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(Class, in GenerateClassStructure()
[all …]
DCGRTTI.cpp153 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); in GetAddrOfExternalRTTIDescriptor()
502 VTable = llvm::ConstantExpr::getBitCast(VTable, CGM.Int8PtrTy); in BuildVTablePointer()
576 return llvm::ConstantExpr::getBitCast(OldGV, CGM.Int8PtrTy); in BuildTypeInfo()
597 Fields.push_back(llvm::ConstantExpr::getBitCast(TypeName, CGM.Int8PtrTy)); in BuildTypeInfo()
688 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); in BuildTypeInfo()
719 return llvm::ConstantExpr::getBitCast(GV, CGM.Int8PtrTy); in BuildTypeInfo()
DCodeGenModule.cpp478 llvm::ConstantExpr::getBitCast(I->first, CtorPFTy) in EmitCtorList()
728 llvm::ConstantExpr::getBitCast(cast<llvm::Constant>(&*LLVMUsed[i]), in EmitLLVMUsed()
951 llvm::ConstantExpr::getBitCast(GV, Int8PtrTy), in EmitAnnotateAttr()
952 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy), in EmitAnnotateAttr()
953 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy), in EmitAnnotateAttr()
1030 return llvm::ConstantExpr::getBitCast(Entry, DeclTy->getPointerTo(AS)); in GetWeakRefReference()
1263 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo()); in GetOrCreateLLVMFunction()
1340 return llvm::ConstantExpr::getBitCast(F, PTy); in GetOrCreateLLVMFunction()
1419 return llvm::ConstantExpr::getBitCast(Entry, Ty); in GetOrCreateLLVMGlobal()
1466 return llvm::ConstantExpr::getBitCast(GV, Ty); in GetOrCreateLLVMGlobal()
[all …]
DCGVTables.cpp419 llvm::ConstantExpr::getBitCast(Entry, OldThunkFn->getType()); in EmitThunk()
539 Init = llvm::ConstantExpr::getBitCast(RTTI, Int8PtrTy); in CreateVTableInitializer()
568 PureVirtualFn = llvm::ConstantExpr::getBitCast(PureVirtualFn, in CreateVTableInitializer()
579 DeletedVirtualFn = llvm::ConstantExpr::getBitCast(DeletedVirtualFn, in CreateVTableInitializer()
599 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in CreateVTableInitializer()
DCGBlocks.cpp105 elements.push_back(llvm::ConstantExpr::getBitCast( in buildBlockDescriptor()
125 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()
1020 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy); in GetAddrOfGlobalBlock()
1065 return llvm::ConstantExpr::getBitCast(literal, requiredType); in buildGlobalBlock()
1448 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateCopyHelperFunction()
1580 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateDestroyHelperFunction()
1807 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefCopyHelper()
1872 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy); in generateByrefDisposeHelper()
DCGObjCMac.cpp1915 Fn = llvm::ConstantExpr::getBitCast(Fn, MSI.MessengerType); in EmitMessageSend()
2541 return llvm::ConstantExpr::getBitCast(GetProtocolRef(PD), in GenerateProtocolRef()
2770 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.ProtocolListPtrTy); in EmitProtocolList()
2858 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.PropertyListPtrTy); in EmitPropertyList()
2878 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.Int8PtrPtrTy); in EmitProtocolMethodTypes()
2890 llvm::ConstantExpr::getBitCast(GetMethodVarName(MD->getSelector()), in GetMethodDescriptionConstant()
2916 return llvm::ConstantExpr::getBitCast(GV, in EmitMethodDescList()
3109 llvm::ConstantExpr::getBitCast(GetClassName(Super->getIdentifier()), in GenerateClass()
3167 llvm::ConstantExpr::getBitCast(GetClassName(Root->getIdentifier()), in EmitMetaClass()
3174 llvm::ConstantExpr::getBitCast(GetClassName(Super->getIdentifier()), in EmitMetaClass()
[all …]
DCGVTT.cpp83 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in EmitVTTDefinition()
DCGExprConstant.cpp943 return llvm::ConstantExpr::getBitCast(C, ConvertType(E->getType())); in EmitLValue()
960 return llvm::ConstantExpr::getBitCast(Ptr, ConvertType(E->getType())); in EmitLValue()
1099 llvm::Constant *Casted = llvm::ConstantExpr::getBitCast(C, Int8PtrTy); in EmitConstantValue()
1101 C = llvm::ConstantExpr::getBitCast(Casted, C->getType()); in EmitConstantValue()
1107 return llvm::ConstantExpr::getBitCast(C, DestTy); in EmitConstantValue()
DCGCXX.cpp150 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitDefinitionAsAlias()
DCGDeclCXX.cpp127 llvm::ConstantExpr::getBitCast(Addr, CGF.Int8PtrTy)}; in EmitDeclInvariant()
DItaniumCXXABI.cpp1221 llvm::ConstantExpr::getBitCast(dtor, dtorTy), in emitGlobalDtorWithCXAAtExit()
1222 llvm::ConstantExpr::getBitCast(addr, CGF.Int8PtrTy), in emitGlobalDtorWithCXAAtExit()
DCGException.cpp260 return llvm::ConstantExpr::getBitCast(Fn, CGM.Int8PtrTy); in getOpaquePersonalityFn()
471 Dtor = llvm::ConstantExpr::getBitCast(Dtor, Int8PtrTy); in EmitCXXThrowExpr()
/external/llvm/lib/Analysis/
DConstantFolding.cpp59 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
71 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
76 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
96 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
107 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
113 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
137 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
147 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
174 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
200 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
[all …]
/external/llvm/lib/Linker/
DLinkModules.cpp696 ValueMap[SrcGV] = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType())); in linkAppendingVarProto()
698 DstGV->replaceAllUsesWith(ConstantExpr::getBitCast(NG, DstGV->getType())); in linkAppendingVarProto()
740 ValueMap[SGV] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGV->getType())); in linkGlobalProto()
765 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewDGV, DGV->getType())); in linkGlobalProto()
794 ValueMap[SF] = ConstantExpr::getBitCast(DGV, TypeMap.get(SF->getType())); in linkFunctionProto()
814 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewDF, DGV->getType())); in linkFunctionProto()
849 ValueMap[SGA] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGA->getType())); in linkAliasProto()
869 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewDA, DGV->getType())); in linkAliasProto()
/external/llvm/test/Transforms/MergeFunc/
D2013-01-10-MergeFuncAssert.ll2 ; This used to trigger a ConstantExpr::getBitCast assertion.
/external/llvm/lib/IR/
DModule.cpp165 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty)); in getOrInsertFunction()
282 return ConstantExpr::getBitCast(GV, PointerType::getUnqual(Ty)); in getOrInsertGlobal()
DConstants.cpp1458 case Instruction::BitCast: return getBitCast(C, Ty); in getCast()
1464 return getBitCast(C, Ty); in getZExtOrBitCast()
1470 return getBitCast(C, Ty); in getSExtOrBitCast()
1476 return getBitCast(C, Ty); in getTruncOrBitCast()
1487 return getBitCast(S, Ty); in getPointerCast()
1649 Constant *ConstantExpr::getBitCast(Constant *C, Type *DstTy) { in getBitCast() function in ConstantExpr
DConstantFold.cpp63 C = ConstantExpr::getBitCast(C, DstEltTy); in BitCastConstantVector()
154 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()
1846 Constant *Inverse = ConstantExpr::getBitCast(C1, CE2Op0->getType()); in ConstantFoldCompareInstruction()
/external/llvm/lib/Transforms/Instrumentation/
DProfilingUtils.cpp145 ConstantExpr::getBitCast(Callee, GlobalDtorElems[1]) in InsertProfilingShutdownCall()
/external/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp395 C1 == ConstantExpr::getBitCast(const_cast<Constant*>(C2), C1->getType()); in enumerate()
682 Constant *BitcastNew = ConstantExpr::getBitCast(New, Old->getType()); in replaceDirectCallers()
758 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType()); in writeAlias()
DGlobalOpt.cpp1069 RepValue = ConstantExpr::getBitCast(RepValue, in OptimizeGlobalAddressOfMalloc()
1778 SOVC = ConstantExpr::getBitCast(SOVC, GV->getInitializer()->getType()); in OptimizeOnceStoredGlobal()
2253 V = ConstantExpr::getBitCast(V, GCL->getType()); in InstallGlobalCtors()
2659 Val = ConstantExpr::getBitCast(Val, NewTy); in EvaluateBlock()
/external/llvm/unittests/IR/
DConstantsTest.cpp185 Constant *P6 = ConstantExpr::getBitCast(P4, VectorType::get(Int16Ty, 2)); in TEST()
/external/llvm/tools/lto/
DLTOCodeGenerator.cpp333 Constant *c = ConstantExpr::getBitCast(GV, i8PTy); in applyScopeRestrictions()
/external/llvm/lib/CodeGen/
DShadowStackGC.cpp213 Metadata.push_back(ConstantExpr::getBitCast(C, VoidPtr)); in GetFrameMap()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp993 Src = ConstantExpr::getBitCast(Src, in AnalyzeLoadFromClobberingMemInst()
998 Src = ConstantExpr::getBitCast(Src, PointerType::getUnqual(LoadTy)); in AnalyzeLoadFromClobberingMemInst()
1153 Src = ConstantExpr::getBitCast(Src, in GetMemInstValueForLoad()
1158 Src = ConstantExpr::getBitCast(Src, PointerType::getUnqual(LoadTy)); in GetMemInstValueForLoad()

12