Home
last modified time | relevance | path

Searched refs:getPointerCast (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPUOpenCLEnqueuedBlockLowering.cpp131 auto *NewPtr = ConstantExpr::getPointerCast(GV, BitCast->getType()); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp142 Constant *BitCastNewGV = ConstantExpr::getPointerCast(NewGV, GV->getType()); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DConstantFolder.h194 return ConstantExpr::getPointerCast(C, DestTy); in CreatePointerCast()
H A DConstants.h1126 getPointerCast(Constant *C, ///< The pointer value to be casted (operand 0)
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp49 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getInt8PtrTy()) in appendToGlobalArray()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DTargetFolder.h191 return Fold(ConstantExpr::getPointerCast(C, DestTy)); in CreatePointerCast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp1836 Value *ModuleNameAddr = ConstantExpr::getPointerCast(ModuleName, IntptrTy); in poisonOneInitializer()
2275 ConstantExpr::getPointerCast(Metadata, IntptrTy)); in InstrumentGlobalsMachO()
2462 SourceLoc = ConstantExpr::getPointerCast(SourceLocGlobal, IntptrTy); in InstrumentGlobals()
2502 ConstantExpr::getPointerCast(InstrumentedGlobal, IntptrTy), in InstrumentGlobals()
2505 ConstantExpr::getPointerCast(Name, IntptrTy), in InstrumentGlobals()
2506 ConstantExpr::getPointerCast(ModuleName, IntptrTy), in InstrumentGlobals()
2508 ConstantExpr::getPointerCast(ODRIndicator, IntptrTy)); in InstrumentGlobals()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBlocks.cpp811 auto *blockFn = llvm::ConstantExpr::getPointerCast(InvokeFn, GenVoidPtrTy); in EmitBlockLiteral()
1394 llvm::ConstantExpr::getPointerCast(literal, RequiredType); in buildGlobalBlock()
1510 llvm::ConstantExpr::getPointerCast(fn, GenVoidPtrTy)); in GenerateBlockFunction()
H A DCGExprConstant.cpp1811 C = llvm::ConstantExpr::getPointerCast(C, origPtrTy); in applyOffset()
1852 return llvm::ConstantExpr::getPointerCast(value, destTy); in tryEmit()
H A DCGObjCMac.cpp7474 ClassGV = llvm::ConstantExpr::getPointerCast(ClassGV, ObjCTypes.Int8PtrTy); in GetClassGlobalForClassRef()
H A DTargetInfo.cpp485 return llvm::ConstantExpr::getPointerCast(Src, DestTy); in performAddrSpaceCast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1077 auto *BC = ConstantExpr::getPointerCast(GV, Type::getInt8PtrTy(C)); in setCoroInfo()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1528 ConstantExpr::getPointerCast(JumpTableFn, JumpTableType->getPointerTo(0)); in buildBitSetsFromFunctionsNative()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DConstantFold.cpp592 return ConstantExpr::getPointerCast(CE->getOperand(0), DestTy); in ConstantFoldCastInstruction()
H A DConstants.cpp2033 Constant *ConstantExpr::getPointerCast(Constant *S, Type *Ty) { in getPointerCast() function in ConstantExpr
H A DCore.cpp1796 return wrap(ConstantExpr::getPointerCast(unwrap<Constant>(ConstantVal), in LLVMConstPointerCast()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp282 return SrcLocStr = ConstantExpr::getPointerCast(&GV, Int8Ptr); in getOrCreateSrcLocStr()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp849 Ptr = ConstantExpr::getPointerCast(Ptr, NewPtrTy); in StripPtrCastKeepAS()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/
H A Dllvm.mli1304 See the method [llvm::ConstantExpr::getPointerCast]. *)