Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFolder.h194 return ConstantExpr::getPointerCast(C, DestTy); in CreatePointerCast()
H A DConstants.h1213 getPointerCast(Constant *C, ///< The pointer value to be casted (operand 0)
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DTargetInfo.cpp151 return llvm::ConstantExpr::getPointerCast(Src, DestTy); in performAddrSpaceCast()
H A DCGBlocks.cpp798 auto *blockFn = llvm::ConstantExpr::getPointerCast(InvokeFn, GenVoidPtrTy); in EmitBlockLiteral()
1375 llvm::ConstantExpr::getPointerCast(literal, RequiredType); in buildGlobalBlock()
1490 llvm::ConstantExpr::getPointerCast(fn, GenVoidPtrTy)); in GenerateBlockFunction()
H A DCGExprConstant.cpp2070 return llvm::ConstantExpr::getPointerCast(value, destTy); in tryEmit()
H A DCGObjCMac.cpp7409 ClassGV = llvm::ConstantExpr::getPointerCast(ClassGV, ObjCTypes.Int8PtrTy); in GetClassGlobalForClassRef()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h207 return Fold(ConstantExpr::getPointerCast(C, DestTy)); in CreatePointerCast()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp123 Constant *BitCastNewGV = ConstantExpr::getPointerCast(NewGV, GV->getType()); in runOnModule()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DAddressSanitizer.cpp1963 Value *ModuleNameAddr = ConstantExpr::getPointerCast(ModuleName, IntptrTy); in poisonOneInitializer()
2417 ConstantExpr::getPointerCast(Metadata, IntptrTy)); in InstrumentGlobalsMachO()
2636 ConstantExpr::getPointerCast(InstrumentedGlobal, IntptrTy), in instrumentGlobals()
2639 ConstantExpr::getPointerCast(Name, IntptrTy), in instrumentGlobals()
2640 ConstantExpr::getPointerCast(ModuleName, IntptrTy), in instrumentGlobals()
2643 ConstantExpr::getPointerCast(ODRIndicator, IntptrTy)); in instrumentGlobals()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp57 CSVals[2] = Data ? ConstantExpr::getPointerCast(Data, IRB.getPtrTy()) in appendToGlobalArray()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp1621 auto *BC = ConstantExpr::getPointerCast(GV, PointerType::getUnqual(C)); in setCoroInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp1662 ConstantExpr::getPointerCast(JumpTableFn, JumpTableType->getPointerTo(0)); in buildBitSetsFromFunctionsNative()
H A DAttributor.cpp328 return ConstantExpr::getPointerCast(C, &Ty); in getWithType()
H A DOpenMPOpt.cpp3528 ConstantExpr::getPointerCast(SharedMem, Int8Ty->getPointerTo()); in manifest()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp2215 Constant *ConstantExpr::getPointerCast(Constant *S, Type *Ty) { in getPointerCast() function in ConstantExpr
H A DCore.cpp1887 return wrap(ConstantExpr::getPointerCast(unwrap<Constant>(ConstantVal), in LLVMConstPointerCast()
H A DAutoUpgrade.cpp4334 ConstantExpr::getPointerCast(NewFn, CI->getCalledOperand()->getType())); in UpgradeIntrinsicCall()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp2759 *II, ConstantExpr::getPointerCast(NewCPA, II->getType())); in visitCallInst()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp874 return SrcLocStr = ConstantExpr::getPointerCast(&GV, Int8Ptr); in getOrCreateSrcLocStr()