Searched refs:getBitCast (Results 1 - 25 of 84) sorted by relevance

1234

/external/clang/lib/CodeGen/
H A DAddress.h88 ConstantAddress getBitCast(llvm::Type *ty) const { function in class:clang::CodeGen::ConstantAddress
89 return ConstantAddress(llvm::ConstantExpr::getBitCast(getPointer(), ty),
94 return getBitCast(ty->getPointerTo(getAddressSpace()));
H A DCGObjCGNU.cpp1170 return llvm::ConstantExpr::getBitCast(IDEHType, PtrToInt8Ty);
1185 return llvm::ConstantExpr::getBitCast(typeinfo, PtrToInt8Ty);
1200 auto *BVtable = llvm::ConstantExpr::getBitCast(
1215 return llvm::ConstantExpr::getBitCast(TI, PtrToInt8Ty);
1242 isa = llvm::ConstantExpr::getBitCast(isa, PtrToIdTy);
1251 ObjCStr = llvm::ConstantExpr::getBitCast(ObjCStr, PtrToInt8Ty);
1538 Method = llvm::ConstantExpr::getBitCast(Method,
1654 Elements.push_back(llvm::ConstantExpr::getBitCast(MetaClass, PtrToInt8Ty));
1672 Elements.push_back(llvm::ConstantExpr::getBitCast(Protocols, PtrTy));
1690 ClassRef->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(Clas
[all...]
H A DCGVTables.cpp443 llvm::ConstantExpr::getBitCast(Entry, OldThunkFn->getType());
560 Init = llvm::ConstantExpr::getBitCast(RTTI, Int8PtrTy);
609 PureVirtualFn = llvm::ConstantExpr::getBitCast(PureVirtualFn,
622 DeletedVirtualFn = llvm::ConstantExpr::getBitCast(DeletedVirtualFn,
642 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy);
H A DCGObjCMac.cpp1955 Fn = llvm::ConstantExpr::getBitCast(Fn, MSI.MessengerType);
2663 return llvm::ConstantExpr::getBitCast(GetProtocolRef(PD),
2902 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.ProtocolListPtrTy);
3013 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.PropertyListPtrTy);
3031 return llvm::ConstantExpr::getBitCast(GV, ObjCTypes.Int8PtrPtrTy);
3043 llvm::ConstantExpr::getBitCast(GetMethodVarName(MD->getSelector()),
3070 return llvm::ConstantExpr::getBitCast(GV,
3314 llvm::ConstantExpr::getBitCast(GetClassName(Super->getObjCRuntimeNameAsString()),
3371 llvm::ConstantExpr::getBitCast(GetClassName(Root->getObjCRuntimeNameAsString()),
3378 llvm::ConstantExpr::getBitCast(GetClassNam
[all...]
H A DCGCXX.cpp155 Aliasee = llvm::ConstantExpr::getBitCast(Ref, AliasType);
H A DCGVTT.cpp85 Init = llvm::ConstantExpr::getBitCast(Init, Int8PtrTy);
H A DCGBlocks.cpp113 elements.push_back(llvm::ConstantExpr::getBitCast(
133 return llvm::ConstantExpr::getBitCast(global, CGM.getBlockDescriptorType());
700 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy);
709 isa = llvm::ConstantExpr::getBitCast(isa, VoidPtrTy);
1053 blockFn = llvm::ConstantExpr::getBitCast(blockFn, VoidPtrTy);
1098 return llvm::ConstantExpr::getBitCast(literal, requiredType);
1491 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy);
1626 return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy);
1845 return llvm::ConstantExpr::getBitCast(Fn, CGF.Int8PtrTy);
1907 return llvm::ConstantExpr::getBitCast(F
[all...]
H A DCodeGenModule.cpp737 llvm::ConstantExpr::getBitCast(I.Initializer, CtorPFTy),
739 ? llvm::ConstantExpr::getBitCast(I.AssociatedData, VoidPtrTy)
1373 llvm::ConstantExpr::getBitCast(GV, Int8PtrTy),
1374 llvm::ConstantExpr::getBitCast(AnnoGV, Int8PtrTy),
1375 llvm::ConstantExpr::getBitCast(UnitGV, Int8PtrTy),
1502 auto Ptr = llvm::ConstantExpr::getBitCast(Entry, DeclTy->getPointerTo(AS));
1868 return llvm::ConstantExpr::getBitCast(Entry, Ty->getPointerTo());
1908 llvm::Constant *BC = llvm::ConstantExpr::getBitCast(
1976 return llvm::ConstantExpr::getBitCast(F, PTy);
2108 return llvm::ConstantExpr::getBitCast(Entr
[all...]
H A DCGDeclCXX.cpp106 argument = llvm::ConstantExpr::getBitCast(
136 llvm::ConstantExpr::getBitCast(Addr, CGF.Int8PtrTy)};
/external/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp69 B.CreateCall(StatReport, ConstantExpr::getBitCast(InitAddr, Int8PtrTy));
91 ConstantExpr::getBitCast(NewModuleStatsGV, ModuleStatsGV->getType()));
104 B.CreateCall(StatInit, ConstantExpr::getBitCast(NewModuleStatsGV, Int8PtrTy));
H A DCtorUtils.cpp60 V = ConstantExpr::getBitCast(V, GCL->getType());
/external/swiftshader/third_party/LLVM/lib/Linker/
H A DLinkModules.cpp603 ValueMap[SrcGV] = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType()));
605 DstGV->replaceAllUsesWith(ConstantExpr::getBitCast(NG, DstGV->getType()));
643 ValueMap[SGV] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGV->getType()));
666 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewDGV, DGV->getType()));
691 ValueMap[SF] = ConstantExpr::getBitCast(DGV, TypeMap.get(SF->getType()));
709 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewDF, DGV->getType()));
733 ValueMap[SGA] = ConstantExpr::getBitCast(DGV,TypeMap.get(SGA->getType()));
751 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewDA, DGV->getType()));
/external/llvm/lib/LTO/
H A DUpdateCompilerUsed.cpp128 ConstantExpr::getBitCast(const_cast<GlobalValue *>(GV), i8PTy);
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DConstantFolding.cpp57 return ConstantExpr::getBitCast(C, DestTy);
69 return ConstantExpr::getBitCast(C, DestTy);
75 return ConstantExpr::getBitCast(C, DestTy);
97 if (!C) return ConstantExpr::getBitCast(C, DestTy);
100 return ConstantExpr::getBitCast(C, DestTy);
110 C = ConstantExpr::getBitCast(C, SrcIVTy);
136 return ConstantExpr::getBitCast(C, DestTy);
160 return ConstantExpr::getBitCast(C, DestTy);
476 Res = ConstantExpr::getBitCast(Res, Ty);
881 return ConstantExpr::getBitCast(Op
[all...]
/external/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp381 ConstantExpr::getBitCast(ValuesVar, llvm::Type::getInt8PtrTy(Ctx));
395 ? ConstantExpr::getBitCast(Fn, Int8PtrTy)
592 ConstantExpr::getBitCast(cast<Constant>(Value), i8PTy));
/external/llvm/lib/IR/
H A DModule.cpp138 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty));
239 return ConstantExpr::getBitCast(GV, PTy);
/external/swiftshader/third_party/LLVM/lib/VMCore/
H A DModule.cpp166 return ConstantExpr::getBitCast(F, PointerType::getUnqual(Ty));
284 return ConstantExpr::getBitCast(GV, PointerType::getUnqual(Ty));
H A DConstants.cpp1251 case Instruction::BitCast: return getBitCast(C, Ty);
1258 return getBitCast(C, Ty);
1264 return getBitCast(C, Ty);
1270 return getBitCast(C, Ty);
1280 return getBitCast(S, Ty);
1430 Constant *ConstantExpr::getBitCast(Constant *C, Type *DstTy) { function in class:ConstantExpr
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp67 return ConstantExpr::getBitCast(C, DestTy);
79 C = ConstantExpr::getBitCast(C, SrcIVTy);
95 return ConstantExpr::getBitCast(C, DestTy);
107 return ConstantExpr::getBitCast(C, DestTy);
118 return ConstantExpr::getBitCast(C, DestTy);
124 return ConstantExpr::getBitCast(C, DestTy);
148 return ConstantExpr::getBitCast(C, DestTy);
158 C = ConstantExpr::getBitCast(C, SrcIVTy);
185 return ConstantExpr::getBitCast(C, DestTy);
211 return ConstantExpr::getBitCast(
[all...]
/external/llvm/lib/Target/NVPTX/
H A DNVPTXFavorNonGenericAddrSpaces.cpp217 ConstantExpr::getBitCast(cast<Constant>(Src), TypeOfNewCast);
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
H A DProfilingUtils.cpp145 ConstantExpr::getBitCast(Callee, GlobalDtorElems[1])
/external/llvm/lib/Linker/
H A DIRMover.cpp832 Constant *Ret = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType()));
841 DstGV->replaceAllUsesWith(ConstantExpr::getBitCast(NG, DstGV->getType()));
934 C = ConstantExpr::getBitCast(NewGV, TypeMap.get(SGV->getType()));
937 DGV->replaceAllUsesWith(ConstantExpr::getBitCast(NewGV, DGV->getType()));
/external/swiftshader/third_party/LLVM/tools/lto/
H A DLTOCodeGenerator.cpp341 Constant *c = ConstantExpr::getBitCast(GV, i8PTy);
/external/llvm/unittests/IR/
H A DConstantsTest.cpp213 Constant *P6 = ConstantExpr::getBitCast(P4, VectorType::get(Int16Ty, 2));
405 Constant *Aliasee = ConstantExpr::getBitCast(G, I16PTy);
474 auto *C = ConstantExpr::getBitCast(G, PtrTy);
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
H A DMergeFunctions.cpp397 C1 == ConstantExpr::getBitCast(const_cast<Constant*>(C2), C1->getType());
684 Constant *BitcastNew = ConstantExpr::getBitCast(New, Old->getType());
760 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType());

Completed in 1095 milliseconds

1234