Home
last modified time | relevance | path

Searched refs:CreatePtrToInt (Results 1 – 25 of 49) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DCodeGenPrepare.cpp840 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
852 V = Builder.CreatePtrToInt(V, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
870 Value *V = Builder.CreatePtrToInt(AddrMode.BaseGV, IntPtrTy, "sunkaddr"); in OptimizeMemoryInst()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DConstantFolder.h176 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
DNoFolder.h223 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
DTargetFolder.h188 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
DIRBuilder.h944 Value *CreatePtrToInt(Value *V, Type *DestTy,
1237 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context));
1238 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context));
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp329 LSDA = Builder.CreatePtrToInt(LSDA, Int32Ty); in emitExceptionRegistrationRecord()
345 Value *FrameAddrI32 = Builder.CreatePtrToInt(FrameAddr, Int32Ty); in emitExceptionRegistrationRecord()
/external/llvm/include/llvm/IR/
DConstantFolder.h183 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
DNoFolder.h236 Instruction *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
DIRBuilder.h1319 Value *CreatePtrToInt(Value *V, Type *DestTy,
1405 return CreatePtrToInt(V, DestTy, Name);
1685 Value *LHS_int = CreatePtrToInt(LHS, Type::getInt64Ty(Context));
1686 Value *RHS_int = CreatePtrToInt(RHS, Type::getInt64Ty(Context));
1773 Value *PtrIntValue = CreatePtrToInt(PtrValue, IntPtrTy, "ptrint");
/external/llvm/lib/CodeGen/
DSafeStack.cpp571 IRB.CreateAnd(IRB.CreatePtrToInt(BasePointer, IntPtrTy), in moveStaticAllocasToUnsafeStack()
688 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(UnsafeStackPtr), IntPtrTy); in moveDynamicAllocasToUnsafeStack()
DAtomicExpandPass.cpp613 Value *AddrInt = Builder.CreatePtrToInt(Addr, DL.getIntPtrType(Ctx)); in createMaskInstrs()
927 Value *NewCmp = Builder.CreatePtrToInt(CI->getCompareOperand(), NewTy); in convertCmpXchgToIntegerType()
928 Value *NewNewVal = Builder.CreatePtrToInt(CI->getNewValOperand(), NewTy); in convertCmpXchgToIntegerType()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc328 ir_builder_.CreatePtrToInt(output_address, address_int_type); in EmitAtomicOperationUsingCAS()
336 ir_builder_.CreatePtrToInt(cas_new_output_address, address_int_type), in EmitAtomicOperationUsingCAS()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h196 Constant *CreatePtrToInt(Constant *C, Type *DestTy) const { in CreatePtrToInt() function
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp1593 return IRB.CreatePtrToInt(V, ShadowTy); in CreateAppToShadowCast()
3014 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
3025 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
3131 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
3270 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField64()
3280 IRB.CreateAdd(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in getVAField32()
3534 IRB.CreateIntToPtr(IRB.CreatePtrToInt(VAListTag, MS.IntptrTy), in finalizeInstrumentation()
DAddressSanitizer.cpp682 Value *DynamicAreaPtr = IRB.CreatePtrToInt(SavedStack, IntptrTy); in unpoisonDynamicAllocasBeforeInst()
694 DynamicAreaPtr = IRB.CreateAdd(IRB.CreatePtrToInt(SavedStack, IntptrTy), in unpoisonDynamicAllocasBeforeInst()
2337 Value *NewAddress = IRB.CreateAdd(IRB.CreatePtrToInt(NewAlloca, IntptrTy), in handleDynamicAllocaCall()
2345 IRB.CreateStore(IRB.CreatePtrToInt(NewAlloca, IntptrTy), DynamicAllocaLayout); in handleDynamicAllocaCall()
DThreadSanitizer.cpp555 IRB.CreatePtrToInt(V, Ty) : IRB.CreateIntCast(V, Ty, false); in createIntOrPtrToIntCast()
DPGOInstrumentation.cpp386 Builder.CreatePtrToInt(Callee, Builder.getInt64Ty()), in instrumentOneFunc()
DDataFlowSanitizer.cpp942 IRB.CreateAnd(IRB.CreatePtrToInt(Addr, IntptrTy), in getShadowAddress()
943 IRB.CreatePtrToInt(ShadowPtrMaskValue, IntptrTy)), in getShadowAddress()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp744 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()
770 StoredVal = IRB.CreatePtrToInt(StoredVal, StoredValTy); in CoerceAvailableValueToLoadType()
999 SrcVal = Builder.CreatePtrToInt(SrcVal, in GetStoreValueForLoad()
DSeparateConstOffsetFromGEP.cpp845 Value *ResultPtr = Builder.CreatePtrToInt(Variadic->getOperand(0), IntPtrTy); in lowerToArithmetics()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp1384 Value *P = Builder->CreatePtrToInt(CI.getOperand(0), in visitPtrToInt()
1389 Value *P = Builder->CreatePtrToInt(CI.getOperand(0), in visitPtrToInt()
/external/clang/lib/CodeGen/
DCGExpr.cpp595 Builder.CreateAnd(Builder.CreatePtrToInt(Ptr, IntPtrTy), in EmitTypeCheck()
1662 RHS = Builder.CreatePtrToInt(RHS, ResultType, "sub.ptr.rhs.cast"); in EmitStoreThroughLValue()
1664 Builder.CreatePtrToInt(LvalueDst.getPointer(), ResultType, in EmitStoreThroughLValue()
1837 Value = Builder.CreatePtrToInt(Value, Ty); in EmitStoreThroughGlobalRegLValue()
2376 return Builder.CreatePtrToInt(V, TargetTy); in EmitCheckValue()
DCGStmt.cpp1985 Arg = Builder.CreatePtrToInt(Arg, IntPtrTy); in EmitAsmStmt()
2136 Tmp = Builder.CreatePtrToInt(Tmp, in EmitAsmStmt()
DCodeGenPGO.cpp772 Builder.CreatePtrToInt(ValuePtr, Builder.getInt64Ty()), in valueProfile()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp440 Value *PtrAsInt = B.CreatePtrToInt(Ptr, IntPtrTy); in lowerBitSetCall()

12