Home
last modified time | relevance | path

Searched refs:getIntToPtr (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DPatternInit.cpp52 return llvm::ConstantExpr::getIntToPtr(Int, PtrTy); in initializationPatternFor()
H A DCGObjCGNU.cpp1018 auto *ObjCStr = llvm::ConstantExpr::getIntToPtr( in GenerateConstantString()
1416 ProtocolBuilder.add(llvm::ConstantExpr::getIntToPtr( in GenerateProtocolRef()
3283 Elements.add(llvm::ConstantExpr::getIntToPtr( in GenerateEmptyProtocol()
3355 llvm::ConstantExpr::getIntToPtr( in GenerateProtocol()
H A DCGVTables.cpp729 builder.add(llvm::ConstantExpr::getIntToPtr( in AddPointerLayoutOffset()
H A DCGExprConstant.cpp2094 C = llvm::ConstantExpr::getIntToPtr(C, destPtrTy); in tryEmitAbsolute()
H A DItaniumCXXABI.cpp4103 llvm::ConstantExpr::getIntToPtr(TypeNameField, CGM.GlobalsInt8PtrTy); in BuildTypeInfo()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp52 ConstantExpr::getIntToPtr( in create()
H A DEvaluator.cpp190 MV->Val = ConstantExpr::getIntToPtr(V, MVType); in write()
H A DLocal.cpp814 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in MergeBasicBlockIntoOnlyPred()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DIRDynamicChecks.cpp247 return {fun_ty, ConstantExpr::getIntToPtr(fun_addr_int, fun_ptr_ty)}; in BuildPointerValidatorFunc()
271 return {fun_ty, ConstantExpr::getIntToPtr(fun_addr_int, fun_ptr_ty)}; in BuildObjectCheckerFunc()
H A DIRForTarget.cpp471 CFSCWB_ty, ConstantExpr::getIntToPtr(CFSCWB_addr_int, CFSCWB_ptr_ty)}; in RewriteObjCConstString()
822 ConstantExpr::getIntToPtr(srN_addr_int, srN_ptr_ty)}; in RewriteObjCSelector()
1090 ConstantExpr::getIntToPtr(symbol_addr_int, symbol_type); in HandleSymbol()
1163 ConstantExpr::getIntToPtr(class_addr, load_instruction->getType()); in HandleObjCClass()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DIndirectBrExpandPass.cpp172 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(BBIndexC, BA->getType())); in runImpl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp248 ConstantExpr::getIntToPtr(AddrIntVal, PointerType::get(&FT, 0)); in createIRTypedAddress()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp629 ConstantExpr::getIntToPtr(ConstantInt::get(Int8Ty, Mask), Int8PtrTy)); in allocateByteArrays()
923 ExportGlobal(Name, ConstantExpr::getIntToPtr(C, Int8PtrTy)); in exportTypeId()
984 C = ConstantExpr::getIntToPtr(C, Ty); in importTypeId()
H A DWholeProgramDevirt.cpp1640 ConstantExpr::getIntToPtr(ConstantInt::get(Int32Ty, Const), Int8PtrTy)); in exportConstant()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp225 BA->replaceAllUsesWith(ConstantExpr::getIntToPtr(Replacement, in ~BasicBlock()
H A DConstants.cpp408 C = ConstantExpr::getIntToPtr(C, PTy); in getIntegerValue()
2201 return getIntToPtr(C, Ty, OnlyIfReduced); in getCast()
2269 Constant *ConstantExpr::getIntToPtr(Constant *C, Type *DstTy, in getIntToPtr() function in ConstantExpr
H A DCore.cpp1864 return wrap(ConstantExpr::getIntToPtr(unwrap<Constant>(ConstantVal), in LLVMConstIntToPtr()
H A DAutoUpgrade.cpp4876 return ConstantExpr::getIntToPtr(ConstantExpr::getPtrToInt(C, MidTy), in UpgradeBitCastExpr()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DHWAddressSanitizer.cpp760 IRB, ConstantExpr::getIntToPtr( in getShadowNonTls()
1735 Constant *Aliasee = ConstantExpr::getIntToPtr( in instrumentGlobal()
H A DAddressSanitizer.cpp2617 ConstantExpr::getIntToPtr(ConstantInt::get(IntptrTy, -1), PtrTy); in instrumentGlobals()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstants.h1128 static Constant *getIntToPtr(Constant *C, Type *Ty,
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp832 ConstantExpr::getIntToPtr(Replacement, BA->getType())); in processSwitches()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp581 Res = ConstantExpr::getIntToPtr(Res, LoadTy); in FoldReinterpretLoadFromConst()
950 return ConstantExpr::getIntToPtr(C, ResTy); in SymbolicallyEvaluateGEP()
H A DInstructionSimplify.cpp3820 ConstantExpr::getIntToPtr(RHSC, SrcTy), in simplifyICmpInst()
5087 return ConstantExpr::getIntToPtr(CI, GEPTy); in simplifyGEPInst()
5094 return ConstantExpr::getIntToPtr(CI, GEPTy); in simplifyGEPInst()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLoweringCall.cpp538 return ConstantExpr::getIntToPtr( in SegmentOffset()

12