/external/clang/lib/CodeGen/ |
D | CGObjCGNU.cpp | 1122 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 …]
|
D | CGRTTI.cpp | 153 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()
|
D | CodeGenModule.cpp | 478 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 …]
|
D | CGVTables.cpp | 419 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()
|
D | CGBlocks.cpp | 105 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()
|
D | CGObjCMac.cpp | 1915 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 …]
|
D | CGVTT.cpp | 83 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy); in EmitVTTDefinition()
|
D | CGExprConstant.cpp | 943 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()
|
D | CGCXX.cpp | 150 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType); in TryEmitDefinitionAsAlias()
|
D | CGDeclCXX.cpp | 127 llvm::ConstantExpr::getBitCast(Addr, CGF.Int8PtrTy)}; in EmitDeclInvariant()
|
D | ItaniumCXXABI.cpp | 1221 llvm::ConstantExpr::getBitCast(dtor, dtorTy), in emitGlobalDtorWithCXAAtExit() 1222 llvm::ConstantExpr::getBitCast(addr, CGF.Int8PtrTy), in emitGlobalDtorWithCXAAtExit()
|
D | CGException.cpp | 260 return llvm::ConstantExpr::getBitCast(Fn, CGM.Int8PtrTy); in getOpaquePersonalityFn() 471 Dtor = llvm::ConstantExpr::getBitCast(Dtor, Int8PtrTy); in EmitCXXThrowExpr()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 59 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/ |
D | LinkModules.cpp | 696 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/ |
D | 2013-01-10-MergeFuncAssert.ll | 2 ; This used to trigger a ConstantExpr::getBitCast assertion.
|
/external/llvm/lib/IR/ |
D | Module.cpp | 165 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty)); in getOrInsertFunction() 282 return ConstantExpr::getBitCast(GV, PointerType::getUnqual(Ty)); in getOrInsertGlobal()
|
D | Constants.cpp | 1458 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
|
D | ConstantFold.cpp | 63 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/ |
D | ProfilingUtils.cpp | 145 ConstantExpr::getBitCast(Callee, GlobalDtorElems[1]) in InsertProfilingShutdownCall()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 395 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()
|
D | GlobalOpt.cpp | 1069 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/ |
D | ConstantsTest.cpp | 185 Constant *P6 = ConstantExpr::getBitCast(P4, VectorType::get(Int16Ty, 2)); in TEST()
|
/external/llvm/tools/lto/ |
D | LTOCodeGenerator.cpp | 333 Constant *c = ConstantExpr::getBitCast(GV, i8PTy); in applyScopeRestrictions()
|
/external/llvm/lib/CodeGen/ |
D | ShadowStackGC.cpp | 213 Metadata.push_back(ConstantExpr::getBitCast(C, VoidPtr)); in GetFrameMap()
|
/external/llvm/lib/Transforms/Scalar/ |
D | GVN.cpp | 993 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()
|