Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:MemPtr

257                                                   llvm::Value *MemPtr,
262 llvm::Value *MemPtr,
275 llvm::Value *MemPtr,
875 llvm::Value *Cmp0 = Builder.CreateICmp(Eq, L0, R0, "memptr.cmp.first");
883 llvm::Value *Cmp = Builder.CreateICmp(Eq, LF, RF, "memptr.cmp.rest");
894 llvm::Value *IsZero = Builder.CreateICmp(Eq, L0, Zero, "memptr.cmp.iszero");
900 return Builder.CreateBinOp(And, Res, Cmp0, "memptr.cmp");
905 llvm::Value *MemPtr,
915 llvm::Value *FirstField = MemPtr;
916 if (MemPtr->getType()->isStructTy())
917 FirstField = Builder.CreateExtractValue(MemPtr, 0);
918 llvm::Value *Res = Builder.CreateICmpNE(FirstField, fields[0], "memptr.cmp0");
927 llvm::Value *Field = Builder.CreateExtractValue(MemPtr, I);
928 llvm::Value *Next = Builder.CreateICmpNE(Field, fields[I], "memptr.cmp");
929 Res = Builder.CreateAnd(Res, Next, "memptr.tobool");
1005 VBaseAdjustBB = CGF.createBasicBlock("memptr.vadjust");
1006 SkipAdjustBB = CGF.createBasicBlock("memptr.skip_vadjust");
1009 "memptr.is_vbase");
1032 llvm::PHINode *Phi = Builder.CreatePHI(CGM.Int8PtrTy, 2, "memptr.base");
1043 llvm::Value *MemPtr,
1055 llvm::Value *FieldOffset = MemPtr;
1058 if (MemPtr->getType()->isStructTy()) {
1061 FieldOffset = Builder.CreateExtractValue(MemPtr, I++);
1063 VBPtrOffset = Builder.CreateExtractValue(MemPtr, I++);
1065 VirtualBaseAdjustmentOffset = Builder.CreateExtractValue(MemPtr, I++);
1073 Builder.CreateInBoundsGEP(Base, FieldOffset, "memptr.offset");
1129 llvm::BasicBlock *ConvertBB = CGF.createBasicBlock("memptr.convert");
1130 llvm::BasicBlock *ContinueBB = CGF.createBasicBlock("memptr.converted");
1190 llvm::PHINode *Phi = Builder.CreatePHI(DstNull->getType(), 2, "memptr.converted");
1271 llvm::Value *MemPtr,
1286 llvm::Value *FunctionPointer = MemPtr;
1290 if (MemPtr->getType()->isStructTy()) {
1293 FunctionPointer = Builder.CreateExtractValue(MemPtr, I++);
1295 NonVirtualBaseAdjustment = Builder.CreateExtractValue(MemPtr, I++);
1297 VBPtrOffset = Builder.CreateExtractValue(MemPtr, I++);
1299 VirtualBaseAdjustmentOffset = Builder.CreateExtractValue(MemPtr, I++);