Searched refs:IntToPtr (Results 1 - 25 of 62) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp48 // replace PN and the IntToPtr operation with it. Otherwise, synthesize a new
58 // ptr_val2 = IntToPtr(int_val)
80 // ptr_val2 = IntToPtr(int_val)
102 auto *IntToPtr = dyn_cast<IntToPtrInst>(PN.user_back());
103 if (!IntToPtr)
124 if (!HasPointerUse(IntToPtr))
127 if (DL.getPointerSizeInBits(IntToPtr->getAddressSpace()) !=
128 DL.getTypeSizeInBits(IntToPtr->getOperand(0)->getType()))
144 if (isa<IntToPtrInst>(U) && U->getType() == IntToPtr->getType() &&
191 if (PtrPHI == &PN || PtrPHI->getType() != IntToPtr
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSpeculativeExecution.cpp231 case Instruction::IntToPtr:
H A DGVNSink.cpp476 case Instruction::IntToPtr:
H A DInferAddressSpaces.cpp851 if (Op->getOpcode() == Instruction::IntToPtr &&
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp118 case Instruction::IntToPtr:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp340 Cast = Instruction::IntToPtr;
491 if (CE->getOpcode() == Instruction::IntToPtr &&
542 Res = ConstantExpr::getCast(Instruction::IntToPtr, Res, LoadTy);
903 if (CE->getOpcode() == Instruction::IntToPtr) {
1220 if (CE0->getOpcode() == Instruction::IntToPtr) {
1244 if (CE0->getOpcode() == Instruction::IntToPtr) {
1319 if (CE->getOpcode() == Instruction::IntToPtr) {
1334 case Instruction::IntToPtr:
H A DMemoryBuiltins.cpp605 if (CE->getOpcode() == Instruction::IntToPtr)
900 cast<ConstantExpr>(V)->getOpcode() == Instruction::IntToPtr) ||
H A DCFLGraph.h522 case Instruction::IntToPtr: {
H A DObjCARCInstKind.cpp273 case Instruction::IntToPtr:
H A DScalarEvolutionExpander.cpp113 Op == Instruction::IntToPtr) &&
128 if ((Op == Instruction::PtrToInt || Op == Instruction::IntToPtr) &&
132 CI->getOpcode() == Instruction::IntToPtr) &&
138 CE->getOpcode() == Instruction::IntToPtr) &&
/freebsd-12-stable/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp262 case Instruction::IntToPtr:
465 case Instruction::IntToPtr:
572 case Instruction::IntToPtr:
1111 case Instruction::IntToPtr: {
1128 LLDB_LOGF(log, "Interpreted an IntToPtr");
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetFolder.h196 return CreateCast(Instruction::IntToPtr, C, DestTy);
H A DTargetTransformInfoImpl.h73 case Instruction::IntToPtr: {
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DConstantFolder.h212 return CreateCast(Instruction::IntToPtr, C, DestTy);
H A DNoFolder.h276 return CreateCast(Instruction::IntToPtr, C, DestTy);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp226 ConstantExpr::getCast(Instruction::IntToPtr, AddrIntVal,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
H A DGlobals.cpp455 case Instruction::IntToPtr:
H A DInstructions.cpp2504 case Instruction::IntToPtr:
2574 { 99,99,99,99,99,99,99,99,99,11,99,15, 0}, // IntToPtr |
2754 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertBefore);
2776 case IntToPtr: return new IntToPtrInst (S, Ty, Name, InsertAtEnd);
2898 return Create(Instruction::IntToPtr, S, Ty, Name, InsertBefore);
3158 return IntToPtr; // int -> ptr
3233 case Instruction::IntToPtr:
3415 ) : CastInst(Ty, IntToPtr, S, Name, InsertBefore) {
3416 assert(castIsValid(getOpcode(), S, Ty) && "Illegal IntToPtr");
3421 ) : CastInst(Ty, IntToPtr,
[all...]
H A DConstants.cpp1308 case Instruction::IntToPtr:
1659 case Instruction::IntToPtr:
1862 "IntToPtr source must be integer or integer vector");
1864 "IntToPtr destination must be a pointer or pointer vector");
1869 return getFoldedCast(Instruction::IntToPtr, C, DstTy, OnlyIfReduced);
3068 case Instruction::IntToPtr:
H A DInstruction.cpp349 case IntToPtr: return "inttoptr";
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp90 case Instruction::IntToPtr:
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp373 I->getOpcode() == Instruction::IntToPtr) &&
980 if (C->getOpcode() == Instruction::IntToPtr) {
1911 case Instruction::IntToPtr: // Deliberate fall-through.
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DCompileOnDemandLayer.h488 Constant *Init = ConstantExpr::getCast(Instruction::IntToPtr,
/freebsd-12-stable/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp863 INSTKEYWORD(inttoptr, IntToPtr);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp831 case Instruction::IntToPtr:

Completed in 375 milliseconds

123