Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp68 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()
DVNCoercion.cpp332 ConstantExpr::getBitCast(Src, Type::getInt8PtrTy(Src->getContext(), AS)); in analyzeLoadFromClobberingMemInst()
337 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS)); in analyzeLoadFromClobberingMemInst()
508 ConstantExpr::getBitCast(Src, Type::getInt8PtrTy(Src->getContext(), AS)); in getMemInstValueForLoadHelper()
513 Src = ConstantExpr::getBitCast(Src, PointerType::get(LoadTy, AS)); in getMemInstValueForLoadHelper()
DCtorUtils.cpp57 V = ConstantExpr::getBitCast(V, GCL->getType()); in removeGlobalCtors()
DEntryExitInstrumenter.cpp52 Value *Args[] = {ConstantExpr::getBitCast(&CurFn, Type::getInt8PtrTy(C)), in insertCall()
DModuleUtils.cpp88 Constant *C = ConstantExpr::getBitCast(V, Int8PtrTy); in appendToUsedList()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp85 return ConstantExpr::getBitCast(C, DestTy); in foldConstVectorToAPInt()
121 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
140 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
151 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
157 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
181 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
191 C = ConstantExpr::getBitCast(C, SrcIVTy); in FoldBitCast()
222 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
249 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
259 return ConstantExpr::getBitCast(C, DestTy); in FoldBitCast()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp466 Constant *BitcastNew = ConstantExpr::getBitCast(New, Old->getType()); in replaceDirectCallers()
768 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType()); in writeAlias()
839 Constant *BitcastF = ConstantExpr::getBitCast(F, G->getType()); in mergeTwoFunctions()
DLowerTypeTests.cpp376 ConstantExpr::getBitCast(P.second, P.first->getType())); in ~ScopedSaveAliaseesAndUsed()
969 C = ConstantExpr::getBitCast(C, Int8PtrTy); in importTypeId()
1110 CombinedGlobalAddr = ConstantExpr::getBitCast(CombinedGlobalAddr, Int8PtrTy); in lowerTypeTestCalls()
1511 Constant *CombinedGlobalElemPtr = ConstantExpr::getBitCast( in buildBitSetsFromFunctionsNative()
DThinLTOBitcodeWriter.cpp162 F.replaceAllUsesWith(ConstantExpr::getBitCast(NewF, F.getType())); in simplifyExternals()
DGlobalOpt.cpp892 RepValue = ConstantExpr::getBitCast(RepValue, GV->getValueType()); in OptimizeGlobalAddressOfMalloc()
1598 SOVC = ConstantExpr::getBitCast(SOVC, GV->getInitializer()->getType()); in optimizeOnceStoredGlobal()
2808 J->replaceAllUsesWith(ConstantExpr::getBitCast(Aliasee, J->getType())); in OptimizeGlobalAliases()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp196 GuardFnGlobal = ConstantExpr::getBitCast(GuardFnGlobal, PTy); in insertCFGuardDispatch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp161 return {Ty, ConstantExpr::getBitCast(F, PTy)}; in getOrInsertFunction()
218 return ConstantExpr::getBitCast(GV, PTy); in getOrInsertGlobal()
DConstants.cpp1662 return getBitCast(C, Ty, OnlyIfReduced); in getCast()
1670 return getBitCast(C, Ty); in getZExtOrBitCast()
1676 return getBitCast(C, Ty); in getSExtOrBitCast()
1682 return getBitCast(C, Ty); in getTruncOrBitCast()
1698 return getBitCast(S, Ty); in getPointerCast()
1709 return getBitCast(S, Ty); in getPointerBitCastOrAddrSpaceCast()
1872 Constant *ConstantExpr::getBitCast(Constant *C, Type *DstTy, in getBitCast() function in ConstantExpr
1900 C = getBitCast(C, MidTy); in getAddrSpaceCast()
DConstantFold.cpp64 C = ConstantExpr::getBitCast(C, DstEltTy); in BitCastConstantVector()
156 return ConstantExpr::getBitCast(ConstantVector::get(V), DestPTy); in FoldBitCast()
2110 Constant *Inverse = ConstantExpr::getBitCast(C1, CE2Op0->getType()); in ConstantFoldCompareInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroElide.cpp60 Value = ConstantExpr::getBitCast(Value, IntrTy); in replaceWithConstant()
DCoroInstr.h190 ConstantExpr::getBitCast(getFunction(), Int8PtrTy)); in setCoroutineSelf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyFixFunctionBitcasts.cpp266 ConstantExpr::getBitCast(Main, PointerType::get(MainTy, 0)); in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInferAddressSpaces.cpp515 return ConstantExpr::getBitCast(CE->getOperand(0), TargetType); in cloneConstantExprWithNewAddressSpace()
520 return ConstantExpr::getBitCast(cast<Constant>(NewOperand), TargetType); in cloneConstantExprWithNewAddressSpace()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DShadowStackGCLowering.cpp113 Metadata.push_back(ConstantExpr::getBitCast(C, VoidPtr)); in GetFrameMap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp814 ConstantExpr::getBitCast(ValuesVar, Type::getInt8PtrTy(Ctx)); in getOrCreateRegionCounters()
828 ? ConstantExpr::getBitCast(Fn, Int8PtrTy) in getOrCreateRegionCounters()
DPGOInstrumentation.cpp827 {ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc()
865 {ConstantExpr::getBitCast(FuncInfo.FuncNameVar, I8PtrTy), in instrumentOneFunc()
1356 {ConstantExpr::getBitCast(FuncNameVar, I8PtrTy), in instrumentOneSelectInst()
DDataFlowSanitizer.cpp817 GA->replaceAllUsesWith(ConstantExpr::getBitCast(NewF, GA->getType())); in runOnModule()
869 ConstantExpr::getBitCast(NewF, PointerType::getUnqual(FT))); in runOnModule()
899 ConstantExpr::getBitCast(NewF, PointerType::getUnqual(FT)); in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1994 return collectInsertionElements(ConstantExpr::getBitCast(C, VecEltTy), in collectInsertionElements()
2000 C = ConstantExpr::getBitCast(C, IntegerType::get(V->getContext(), in collectInsertionElements()
2154 Value *CastedC = ConstantExpr::getBitCast(C, DestTy); in foldBitCastBitwiseLogic()
2320 NewV = ConstantExpr::getBitCast(C, DestTy); in optimizeBitCastFromPhi()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/
DIRMover.cpp927 Constant *Ret = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType())); in linkAppendingVarProto()
937 std::make_pair(DstGV, ConstantExpr::getBitCast(NG, DstGV->getType()))); in linkAppendingVarProto()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfData.inc79 ConstantExpr::getBitCast(CounterPtr, \
212 NamePtr, llvm::ConstantExpr::getBitCast(NamePtr, \

12